Skip to main content
Glama

MySaaS Blog

Disconnect this agent

disconnect
DestructiveIdempotent

End this connection only (OAuth consent and tokens, or the agent key), when the user asks you to. Other agents are never affected; reconnecting requires the user's consent again.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "disconnect"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
kindNo
agentNo
disconnectedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructive=true and idempotent=true, and the description adds the substance those hints lack: precisely what is destroyed (OAuth consent and tokens, or the agent key), that the blast radius is limited to this one connection, and that recovery requires fresh user consent. That consequence-and-reversibility information is exactly what an agent needs before committing a destructive call.

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?

A single sentence, front-loaded with the action and its exact scope, followed by the isolation guarantee and the re-auth consequence. No filler, no restatement of the title, and every clause carries information the agent would otherwise have to guess.

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 zero-parameter, destructive, non-reversible-without-consent operation, the description covers what is removed, who is unaffected, and what recovery costs — and an output schema already exists so return values need no explanation. Nothing an agent needs in order to decide whether to call it is missing.

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

Parameters4/5

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

The tool takes zero parameters, so there is no parameter semantics to document and the baseline of 4 applies. The description correctly avoids inventing arguments and instead spends its words on scope and consequences.

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 this connection') and immediately scopes it with 'only (OAuth consent and tokens, or the agent key)', so the agent knows exactly which credential boundary is affected. The line 'Other agents are never affected' differentiates it from any broader revocation action, so no sibling schema needs to be opened to disambiguate.

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 trigger — 'when the user asks you to' — which doubles as a when-not (do not self-initiate), and clarifies the blast radius against other agents. It stops short of naming any alternative tool or describing what to do if the user wants a full teardown, but the primary usage condition is unambiguous.

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