Skip to main content
Glama

connect_agent

Atomically create a User(kind='agent') + Membership + Integration in the target org and return the bearer token exactly once. Caller must be owner or admin. The token is pasted into the agent runtime (Lambda / MCP client / automation workflow / custom worker) and authenticates as the agent User on every subsequent call (spec §4.5). Mirrors POST /v1/orgs/{id}/agents.

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": {
      "org_id": "<org_id>",
      "display_name": "<display_name>"
    },
    "name": "connect_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNomember
org_idYes
avatar_urlNo
display_nameYes
can_create_boardsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses atomicity (no partial User/Membership/Integration), authorization requirements, and the critical one-time-only token return. It stops short of saying whether the token can be rotated or revoked, or what happens on partial failure.

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?

Three dense sentences, front-loaded with the atomic creation and one-time token warning. The trailing 'Mirrors POST /v1/orgs/{id}/agents' and '(spec §4.5)' are useful for API-familiar agents but are the least essential content.

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?

An output schema exists, so return values need no explanation, and the security/atomicity profile is well covered. However, for a mutation that creates three entities and emits a secret, leaving all five input parameters undocumented is a meaningful gap.

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

Parameters2/5

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

Schema description coverage is 0% across 5 parameters, and the description never explains role, display_name, avatar_url, or can_create_boards. The mention of 'Membership' and 'User(kind='agent')' only faintly implies that role and can_create_boards govern membership permissions.

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

Purpose5/5

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

States a specific verb and a precise composite resource: 'Atomically create a User(kind='agent') + Membership + Integration in the target org'. The one-time bearer-token return is called out, so an agent can tell this apart from sibling creation tools like create_invitation or add_member.

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

Usage Guidelines4/5

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

Gives a clear prerequisite ('Caller must be owner or admin') and a concrete use case (token pasted into a Lambda / MCP client / automation workflow / custom worker). It does not explicitly contrast with sibling paths such as invitations or member addition, so there is no when-not guidance.

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