Skip to main content
Glama

Disconnect a mailbox

disconnect_mailbox
DestructiveIdempotent

Remove the saved password of a connected mailbox so the assistant can no longer read or send from it. The mailbox itself and its mail are untouched. Needs confirm: true.

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": {
      "email": "<email>"
    },
    "name": "disconnect_mailbox"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailYesMailbox address on one of the customer's own domains, e.g. info@example.com.
confirmNoMust be true. Set it only after the customer has explicitly confirmed this exact change.

Output Schema

NameRequiredDescriptionDefault
disconnectedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered; the description adds the crucial clarification that the destruction is limited to stored credentials, not mail. It also states the confirmation prerequisite, which annotations cannot express. It stops short of saying whether the assistant's access is cut immediately or what happens to in-flight sessions, so it is strong rather than complete.

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?

Two sentences, front-loaded with the action and its scope, then the preservation guarantee, then the confirm requirement. No filler, no redundancy.

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 an output schema present, return values need no explanation, and the description covers the essential points for a credential-revoking mutation: what is removed, what survives, and the confirmation gate. It could add whether the mailbox can be reconnected afterward via connect_mailbox, which is the natural follow-up question for an agent handling this request.

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 email and confirm parameters are fully documented in the schema, including the const:true constraint and the explicit-confirmation requirement. The description's "Needs confirm: true" merely restates that, adding no new semantics. Baseline 3 is correct where the schema does the work.

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?

The description names a specific verb and object ("Remove the saved password of a connected mailbox") and immediately bounds the scope: "The mailbox itself and its mail are untouched." That single clause distinguishes it from sibling delete_mailbox and pairs it with connect_mailbox, so an agent can pick it without opening another 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?

Usage context is clear: revoke the assistant's access while preserving the mailbox, and the call requires explicit customer confirmation. What's missing is an explicit routing sentence naming the alternative (delete_mailbox for removal, connect_mailbox for re-establishing), so the agent must infer the sibling boundary from the "untouched" clause.

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.