Skip to main content
Glama

disconnect_channel

DestructiveIdempotent

Disconnect a channel: erases its stored credentials and revokes the provider token where the network supports it.

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": {
      "channel_id": "<channel_id>"
    },
    "name": "disconnect_channel"
  }
}

Input Schema

NameRequiredDescriptionDefault
channel_idYesChannel id from list_channels.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / channel_id / description
      Added value: +"Channel id from list_channels."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag this as destructive, idempotent, and open-world, so the description's job is narrower — and it delivers by specifying exactly what is lost (stored credentials) and the conditional nature of token revocation ('where the network supports it'). That caveat is behaviorally important because an agent should not assume revocation always succeeds; it stops short of saying whether posts or analytics data survive.

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 front-loaded sentence with the destructive action first and the conditional caveat last. No filler, no repetition of structured fields.

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 annotations covering the safety profile and no output schema, the definition covers the essential unknowns: what gets destroyed and what may not happen. It could be stronger by noting whether stored posts remain accessible or whether reconnect is required afterward.

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?

The single channel_id parameter is fully documented in the schema, including the pointer to list_channels. The description adds no further meaning about the parameter (no format, no cross-account constraints), so the baseline of 3 applies when the schema does all the work.

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 names a specific verb-plus-resource pair (disconnect a channel) and immediately clarifies what that entails: credential erasure and token revocation. It contrasts clearly enough with the sibling connect_channel through the verb alone that an agent can distinguish them without opening schemas.

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 is only implied — an agent infers this is the teardown counterpart to connect_channel. There is no explicit statement of when not to use it, no prerequisites or permission requirements, and no named alternative for related cleanup actions.

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