Skip to main content
Glama

disconnect_email_account

Destructive

DESTRUCTIVE: Disconnect an email sending account (by emailAddress). An account the user owns is deleted with its synced emails and conversations, its warmup (removed at the warmup provider) and its sharing with teammates; its inbox sync ends and campaigns stop sending from it (a running campaign left with no active sending account may stop). For an account shared with the user, only the user's access is removed. Only call after the user explicitly confirms. Reconnecting Gmail/Outlook later requires the OAuth flow in the FuseAI app.

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": {
      "emailAddress": "<emailAddress>"
    },
    "name": "disconnect_email_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailAddressYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, but the description adds substantial context beyond them: exactly what is deleted, that warmup is removed at the provider, that sharing is revoked, that inbox sync ends, and the cascading risk that a running campaign with no active sending account may stop. It also discloses the recovery path (reconnecting Gmail/Outlook requires the OAuth flow in the FuseAI app), which is the key irreversibility detail for a destructive operation.

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 DESTRUCTIVE marker and the identifying parameter, and each subsequent clause conveys distinct consequences rather than restating the title. The middle sentence is long and stacks several effects together, which slightly hurts scannability but does not waste words.

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 one-parameter destructive tool with no output schema, the definition covers consequences, scope differences between owned and shared accounts, the confirmation requirement, and the reconnection path. Nothing an agent needs in order to call this safely is missing.

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?

There is one required parameter with 0% schema description coverage, so the description must carry the meaning. It identifies the argument as the account's emailAddress, which matches the schema's email format, but adds nothing about matching semantics, case sensitivity, or what happens if the address is unknown or ambiguous.

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?

Opens with an explicit severity marker plus a specific verb and resource ("Disconnect an email sending account") and names the identifier (emailAddress). It goes further by splitting behavior into two distinct cases — an owned account (deleted with synced emails, warmup, shares) versus a shared account (only the user's access removed) — so an agent can predict the outcome without opening the 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?

States a concrete precondition: "Only call after the user explicitly confirms," which is exactly the gate an agent needs before a destructive call. It does not name alternatives such as deactivating instead of disconnecting (set_email_account_active_status) or the bulk variant, so the routing guidance is clear but not exhaustive.

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.