Skip to main content
Glama

Disconnect an app

disconnect
Destructive

Revokes a connected app immediately. Needs a confirmToken.

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": {
      "clientId": "<clientId>"
    },
    "name": "disconnect"
  }
}

Input Schema

NameRequiredDescriptionDefault
clientIdYesClient id from list_connections
confirmTokenNoFrom the CONFIRMATION_REQUIRED reply.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and non-idempotent, so the risk profile is known. The description adds two useful facts beyond that: the revocation takes effect immediately, and a confirmToken gate is required. It still doesn't say what precisely is destroyed (tokens, grants, credentials) or whether the app can be reconnected without re-authorizing.

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?

Two short sentences, action first, prerequisite second — nothing redundant and the high-risk fact leads. It is perhaps too terse for a destructive operation, but no sentence wastes space.

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?

With only two fully documented parameters, no nested objects, and no output schema, the description covers the essentials: what it does, that it is immediate, and that a confirm token is needed. It does not describe the outcome or post-disconnect state, which is the main remaining gap for a destructive tool.

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 schema descriptions already explain both clientId (from list_connections) and confirmToken (from the CONFIRMATION_REQUIRED reply). The description's one contribution is signaling confirmToken is effectively needed despite not being in the required list. That is a helpful clarification but nothing more than the baseline.

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?

States a specific verb and resource: 'Revokes a connected app immediately.' That is unambiguous about what the tool does. It does not, however, distinguish itself from the similarly named sibling disconnect_platform_account, so the agent must infer which 'connection' kind this applies to.

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?

No explicit when-to-use or when-not-to-use guidance, and no alternative is named. The only guidance is implied by the prerequisite 'Needs a confirmToken', which signals this cannot be called cold and must follow a confirmation step. Usage is inferable but not stated.

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.