Skip to main content
Glama

Sergio by Serviche

Disconnect Discord

disconnect_discord
Idempotent

Marks the saved Discord bot connection inactive as the Discord card's Disconnect does: Sergio stops reading and posting there. Reconnect any time on the same card by pasting the bot token again. Nothing is sent to clients. Pass the same idempotency_key when retrying; a repeat is the same disconnect. An owner-level change: Sergio tells the owner after it is made.

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": {
      "idempotency_key": "<idempotency_key>"
    },
    "name": "disconnect_discord"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoWhy you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change.
idempotency_keyYesYour id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructiveHint=false and idempotentHint=true, and the description reinforces rather than repeats that: it says the change is a soft marking of the record inactive, that nothing is sent to clients, and that the owner is notified afterward. The retry contract ("a repeat is the same disconnect") is spelled out in prose, which helps an agent reason about safe re-invocation. It stops short of describing what happens to existing conversation history or credentials.

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-loaded with the action and its effect, then reversal, side effects, and retry semantics in roughly the order an agent needs them. The "as the Discord card's Disconnect does" clause is a useful parity note rather than filler, though the prose is denser than strictly necessary.

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 two-parameter, non-destructive, idempotent toggle with no output schema, the description covers effect, reversibility, side effects, notification, and retry behavior. The only real gap is what happens to associated data or credentials after disconnect, which an agent might want before calling.

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%, so both parameters are already documented, including the reuse-on-retry rule for idempotency_key. The description restates that retry contract and adds the fact that the disconnect is owner-level, but supplies no format or value guidance beyond the schema. A baseline 3 is correct here.

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 ("Marks the saved Discord bot connection inactive") and pins down the scope by naming Discord, which separates it from the disconnect_gmail/disconnect_slack siblings. It also says what stops happening ("Sergio stops reading and posting there"), so an agent knows the effective consequence, not just the record change.

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 clear context for when this applies and frames the reversible alternative explicitly ("Reconnect any time on the same card by pasting the bot token again"). It does not state any when-not-to-use condition or name another tool for a related need, which keeps it short of 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