Skip to main content
Glama

Disconnect app

disconnect_connected_app
Destructive

Sign an MCP client out of the account: its tokens are deleted and its next call fails until the user connects it again. If it is the client running this tool, the agent loses access. Confirm with the user first.

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": {
      "oauth_client_id": "<oauth_client_id>"
    },
    "name": "disconnect_connected_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
oauth_client_idYesFrom list_connected_apps.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond destructiveHint=true, it discloses the concrete consequences: tokens are deleted, the client's next call fails until reconnection, and self-disconnection costs the agent its own access. The self-disconnect edge case and confirm-first requirement are exactly the behavioral context annotations cannot express.

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

Conciseness5/5

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

Three short sentences, each earning its place, ordered from action to consequence to safety directive. No filler or repetition of the title.

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 one-parameter destructive tool with full annotation coverage and no output schema, the description covers consequences and the self-disconnect hazard. It does not mention what is returned or whether disconnected client data is retained, a minor omission.

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 coverage is 100% and the single parameter already documents 'From list_connected_apps,' so the description adds no additional meaning about the ID format or sourcing. Baseline 3 applies when the schema carries the parameter semantics.

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 ('Sign an MCP client out of the account') plus the immediate effect on tokens. It is clearly distinguishable from siblings like revoke_api_key (API credentials) or delete_* tools, so an agent can select it without opening any schema.

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 an explicit operational precondition: confirm with the user first, which is the key when-to-use gate for a destructive sign-out. It does not name an alternative tool or spell out when-not to use it, which keeps it below a 5.

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