Skip to main content
Glama

Delete email account

delete_email_account
DestructiveIdempotent

Permanently disconnect and delete an email account, along with the email ingested from it. Cannot be undone — confirm with the user first. To stop monitoring but keep the mailbox, use update_email_account with PAUSED instead. Only whoever connected the mailbox, or an admin, may delete it. Returns { deleted: id }.

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": {
      "id": "<id>"
    },
    "name": "delete_email_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesEmail account id (UUID from list_email_accounts).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, but the description adds what those hints cannot: that the deletion is permanent and irreversible, that ingested email is deleted alongside the account, that authorization is restricted to the connector or an admin, and the exact response shape. This is context an agent cannot derive from structured fields.

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?

Four short sentences, ordered by importance: what is destroyed first, then the warning, then the safer alternative, then the permission rule and return value. No sentence is redundant and nothing buries the destructive warning.

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?

Although there is no output schema, the description states the return value ({ deleted: id }), and it covers the irreversible nature, the permission model, and the alternative path. Nothing an agent needs to call this safely and correctly 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 a single parameter with 100% schema description coverage, including format, pattern, and the note that the UUID comes from list_email_accounts, so the schema already carries the parameter semantics. The description adds no further detail about the id itself, which puts it at the baseline for fully documented schemas.

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 first sentence names a specific verb (delete) and resource (email account) plus the important scope detail that ingested email goes with it. It is immediately distinguishable from siblings like update_email_account or stop_email_sync without opening any 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?

It gives an explicit when-not rule and names the alternative call to make instead: 'To stop monitoring but keep the mailbox, use update_email_account with PAUSED instead.' It also adds a procedural precondition, 'confirm with the user first', which is the right guidance for an irreversible action.

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