Skip to main content
Glama

Remove connection

remove_connection
Destructive

End a connection (either side can) or withdraw an invitation you sent. Not reversible: connecting again needs a new invite_connection. In each project you both share the non-owner leaves, their claimed action goes back to the backlog, and a project left without members becomes personal. Delegations already sent stay. To decline a received invitation use respond_to_connection.

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": {
      "id": "<id>"
    },
    "name": "remove_connection"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesConnection or invitation id from `list_connections`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / id / description
      Added value: +"Connection or invitation id from `list_connections`."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, but the description adds substantial undisclosed behavior: irreversibility, the need for a fresh `invite_connection` to reconnect, per-project side effects (non-owner leaves, claimed action returns to backlog, memberless project becomes personal), and that sent delegations persist. That is exactly the context an agent needs before a destructive call; only the return/error surface is unaddressed.

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?

Front-loads the action and the irreversibility warning, then consequences, then the alternative, so the most decision-relevant facts come first. The middle sentence packs several distinct side effects together, which is dense but each clause carries necessary information.

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

Completeness5/5

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

For a single-parameter destructive tool with no output schema, the description covers reversibility, cross-project consequences, side effects on delegations, and the sibling alternative. Nothing an agent needs to invoke it safely is missing.

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 single `id` parameter already documents its pattern source and points to `list_connections`. The description adds no further guidance on how to obtain or format the id, so baseline 3 applies.

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 resource ('End a connection ... or withdraw an invitation') and clarifies scope with 'either side can'. It also explicitly distinguishes itself from the sibling `respond_to_connection`, which handles declining a received invitation.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use case (end a connection or withdraw a sent invitation) and an explicit when-not case routed to the alternative ('To decline a received invitation use `respond_to_connection`'). No ambiguity about which connection-removal tool applies.

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