Skip to main content
Each MCP connector you add to Cominty has an Agent configuration section with two fields: When to use and How to use it. Filling them in is the best way to make an agent use a connector well. It is also where you put the details the agent cannot guess, such as a project ID.

How a connector works behind the scenes

Every MCP connector runs as a sub-agent. The sub-agent has the connector’s tools and its own instructions. The main agent, the one you talk to, does the work by handing tasks to the sub-agents. The two fields map to the two sides of that hand-off: This split has two consequences:
  • The main agent never sees “How to use it”. Do not put routing hints there. If the main agent does not hand the task over, the problem is in “When to use”.
  • The sub-agent follows “How to use it” every time. Anything that should be true on every task, such as a default project, belongs there. You do not need to repeat it in each message.

Where to find the fields

1

Open the integration

On platform.cominty.ai, open Integrations and choose the connector.
2

Scroll to Agent configuration

The section sits under Configuration (the credentials) and above Permissions.
3

Fill in the two fields, then save

Click Save, or Connect if you are setting the connector up for the first time.
The Agent configuration section, with the When to use and How to use it fields, above the Permissions section

Agent configuration of the Google BigQuery integration

Permissions controls which actions the integration can perform. It is separate from the two instruction fields.

Write “When to use”

Describe the situations and the types of tasks the connector covers, in a sentence or two. The main agent reads it to choose between connectors, so be specific about what is in scope.
Good “When to use” text:
  • Names the tasks, not the product: “run SQL queries” tells more than “BigQuery”.
  • Says what belongs to another connector, if two overlap.
  • Stays short. It is read on every message.

Write “How to use it”

Give guidelines, constraints, or step-by-step directions. Think of what you would tell a new colleague on their first day with this tool. Good “How to use it” text:
  • States the fixed values the connector needs: project ID, workspace, default dataset, team name.
  • Explains how to map your words to those values: “When I talk about the project, use the ID my-analytics-project.”
  • Sets rules: “Never change data unless I ask”, “Always confirm the record before you create it”, “Search before you create.”
  • Lists a few steps for tasks you repeat.

Example: BigQuery

BigQuery needs the project ID on almost every call. Write it once.
With this in place, you can ask “Which products sold best last week?” and skip the project ID. To find the ID, see the BigQuery guide.

Instructions and capabilities

Instructions are the same for every message. To change what an agent can reach for one message or one thread, use capabilities. Turn off the MCP capability, or keep only some connections, and the connector’s sub-agent is not available.

Troubleshooting