Skip to main content
Glama

Create a connected agent

create_connected_agent

Create a DRAFT agent answered by an external agent connection: each turn is checked by the connection's governance profile on input and output and FAILS CLOSED if a check cannot run. It works on every channel and as a workflow node.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "connection": "<connection>"
    },
    "name": "create_connected_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoAgent name (default: the connection's).
connectionYesAn agent connection ref.
descriptionNoWhat it is for.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only declare that this is a non-read-only, non-destructive, non-open-world write; the description goes further by disclosing that the result is a DRAFT, that governance checks run on both input and output each turn, and that checks FAIL CLOSED when they cannot run. What it omits is the consequence of the draft state (whether activation is a separate call) and any permission or quota requirements.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence with the core action and the DRAFT qualifier front-loaded, and no filler. It is dense with subordinate clauses (governance checking, fail-closed, channels, workflow node) but each clause carries distinct information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a creation tool with no output schema, the description never says what is returned (e.g., an agent id or ref), which the agent needs in order to chain calls such as set_agent_governance_profile or activate. Annotations and a fully documented three-parameter schema cover the safety and input side, so the remaining gap is return-value behavior rather than invocation details.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, and the schema already documents that name defaults to the connection's name and that connection is an agent connection ref. The description adds no parameter-level meaning beyond reiterating that a connection answers the agent, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource ("Create a DRAFT agent") and adds a distinguishing trait that separates it from the generic create_agent sibling: the agent is answered by an external agent connection. It stops short of explicitly naming which sibling to use instead for non-connected agents, so it is clear but not fully differentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: use this when you want an agent backed by an external connection rather than a plain agent. The clause about working on every channel and as a workflow node is behavioral context, not a when-to-use rule, and there is no exclusion or prerequisite guidance (e.g., that the connection must already exist).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources