Skip to main content
Glama
email-mcp

email-mcp

by a1exsun

delete_emails

Moves specified email messages to Trash by UID, optionally from a chosen folder and account, so they can be recovered and are never permanently deleted.

Instructions

Delete emails by moving them to Trash (recoverable; never permanent).

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": {
      "uids": "<uids>"
    },
    "name": "delete_emails"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidsYesMessage UIDs from search_emails
folderNoFolder path from list_foldersINBOX
accountNoMailbox: WORK | PERSONAL. Default WORK

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden, and it addresses the single most important trait for a destructive-sounding tool: the operation is reversible and never permanent. It does not disclose permission requirements, batch/partial-failure behavior, or what a response contains, which keeps it below a 5.

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?

A single short sentence with the action front-loaded and the critical reversibility qualifier attached immediately. Every clause earns its place and there is no redundant restatement of the tool name or title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter mutation tool with no annotations and no output schema, the description covers the essential reversibility question but leaves gaps around batching behavior, error handling, and what the caller receives back. It is adequate to avoid a dangerous mistake but not complete enough to fully predict the call's outcome.

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 description coverage is 100%, with uids, folder, and account all documented in the schema itself, so the baseline is 3. The description adds only the plural "emails" hint that uids supports batching; it explains nothing further about folder or account semantics.

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 ("Delete emails") and immediately clarifies the mechanism ("moving them to Trash"), which also implicitly separates it from a generic move operation. It does not explicitly name or contrast with the sibling move_emails, so an agent comparing the two must infer the distinction from the mechanism phrase.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The parenthetical "recoverable; never permanent" gives useful context for deciding whether a confirmation prompt or warning is warranted. However, there is no explicit when-to-use versus when-to-use-alternatives guidance, no mention of prerequisites such as UIDs sourced from search_emails, and no exclusion conditions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.