Skip to main content
Glama

bulk_disconnect_email_accounts

Destructive

DESTRUCTIVE: Disconnect up to 100 email sending accounts in one call. Each one is removed like disconnect_email_account: an owned account is deleted with its synced emails and conversations in FuseAI, its warmup (removed at the external warmup provider) and its sharing with teammates, and its inbox sync ends; an account shared with the user only loses the user's access. For everyone who loses a mailbox this way (the user, and for an owned account every teammate it was shared with), their campaigns stop sending from it (a running campaign left with no active sending account may stop); while they no longer have it, their campaign emails queued on it, including later steps for contacts already emailed from it, are not sent, and their scheduled one-off emails from it are cancelled when due. Selection: emailAddresses[] OR selectAll:true with filter ({emailAccountType?: "GMAIL"|"OUTLOOK"|"SMTP", onlyActive?}); excludedEmailAddresses[] only combines with selectAll, and a selection matching more than 100 accounts is refused (TOO_MANY_ACCOUNTS_SELECTED), so pass addresses in smaller batches instead. Only call after the user explicitly confirms the accounts.

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": "bulk_disconnect_email_accounts"
  }
}

Input Schema

NameRequiredDescriptionDefault
filterNo
selectAllNo
emailAddressesNo
excludedEmailAddressesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already flag destructiveHint and openWorldHint, but the description adds far more: owned vs shared account divergence (deleted with synced emails, conversations, warmup at the external provider, and teammate sharing, versus losing only access), inbox sync termination, campaign sending stopping, queued campaign emails and later steps not sent, and scheduled one-off emails cancelled when due. It also discloses the external side effect (warmup removal at a third-party provider) and the selection cap error code, none of which the annotations convey.

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?

Correctly front-loads the destructive warning and the scale limit, then selection rules, then consequences. The middle section is a very long run-on sentence covering four distinct consequences, which costs some scannability, but virtually every clause carries operational meaning.

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 mutation tool with no output schema and 0% schema description coverage, the description covers everything an agent needs: selection semantics, limits, error code, per-account effect differences, downstream campaign side effects, and the human-confirmation gate. Nothing material is left for the agent to guess.

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

Parameters5/5

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

Schema description coverage is 0%, so the description carries the full burden and does so: it explains the two mutually exclusive selection paths, names the nested filter fields (emailAccountType, onlyActive) with the enum values, and clarifies that excludedEmailAddresses is only valid alongside selectAll. The only omission is the 1000-item cap on exclusions, which the schema itself enforces.

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 a specific verb, resource and scale: "DESTRUCTIVE: Disconnect up to 100 email sending accounts in one call." It anchors semantics to the sibling disconnect_email_account ("Each one is removed like disconnect_email_account"), so an agent can distinguish bulk from single-account behavior 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states the selection modes and their interaction (emailAddresses[] OR selectAll:true with filter; excludedEmailAddresses only combines with selectAll), names the failure condition and remedy (over 100 matches refused with TOO_MANY_ACCOUNTS_SELECTED, "pass addresses in smaller batches instead"), and sets a hard prerequisite: "Only call after the user explicitly confirms the accounts."

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.