Skip to main content
Glama

Move message to Trash

mail_delete
Idempotent

Moves a message to the Trash folder.

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is covered structurally. The description adds one genuinely new behavioral fact — the message lands in Trash, i.e. the deletion is non-destructive — but says nothing about what happens to an already-trashed id or where the result is reported.

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?

One short sentence, front-loaded with the verb and outcome, with no filler. It is efficient but so terse that the brevity is closer to under-specification than to economy.

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 one-parameter tool with no output schema and reasonable annotation coverage, this is close to minimally sufficient — an agent can probably call it correctly. The missing pieces (id format, behavior on repeat calls, recoverability) are small individually but leave the definition at the minimum viable level.

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

Parameters2/5

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

Schema description coverage is 0% for the single parameter, so the description carries the burden and adds nothing: 'a message' only loosely implies that 'id' identifies the message to trash. It never says whether that is an internal message id or an RFC Message-ID, so an agent must guess the format.

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?

The description states a specific verb and outcome ('Moves a message to the Trash folder'), which usefully clarifies that mail_delete is a recoverable soft delete rather than a permanent one — a real distinction from what the name 'delete' implies. It does not, however, distinguish itself from the sibling mail_move, which plausibly does the same thing with an arbitrary folder.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus mail_move (moving to an arbitrary folder) or mailbox_delete (deleting a whole mailbox). No preconditions, no notes on whether an already-trashed message is accepted, and no mention that the operation is reversible.

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.