Skip to main content
Glama

Add an account to a connection

add_connected_account
Idempotent

Adds an account to a live connection for the person who owns it. A repeat leaves that account in place. The connection keeps its existing permissions.

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": {
      "grant_id": "<grant_id>",
      "consumer_user_id": "<consumer_user_id>"
    },
    "name": "add_connected_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoName shown for this account on the connection.
grant_idYesConnection that receives the account.
consumer_user_idYesAccount seat to add.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so the repeat-safety statement is partly redundant. However, 'The connection keeps its existing permissions' adds genuinely new behavioral context about side effects on the existing connection that the annotations do not convey.

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 short sentences with the core action front-loaded and no wasted preamble. The idempotency sentence duplicates an annotation, making it the least essential line, but overall the structure is tight.

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

Completeness4/5

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

For a simple three-parameter tool with full schema coverage, no nested objects, and complete annotations, the description covers the action, the idempotent behavior, and the permission side effect. Nothing critical is missing, though error or failure conditions are unaddressed.

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%, so all three parameters are already documented in the schema. The description does not add format, syntax, or constraint detail beyond what the schema provides, 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 states a specific verb and resource — 'Adds an account to a live connection' — and scopes it to the owner of that connection. It is clear what the tool does, though it does not explicitly contrast itself with other account-attachment tools.

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 context is implied by 'for the person who owns it' and 'live connection,' suggesting the connection must already exist and belong to the acting user. There is no explicit when-not guidance or named alternative, so the agent must infer the selection criteria.

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.