Skip to main content
Glama

Trash Email Message

trash_email_message
DestructiveIdempotent

[publish] Move a message (email_message_id or email_message_uuid) to TRASH. This is the only "delete" - it never removes the message permanently (restore with move_email_message).

Input Schema

NameRequiredDescriptionDefault
email_message_idNo
email_message_uuidNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true and idempotentHint=true; the description adds the genuinely useful nuance that the operation is reversible ("never removes the message permanently") and how to undo it. That is real value beyond the annotation block. The slightly opaque "[publish]" prefix adds no meaning.

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?

Two short sentences, front-loaded with the action and the identifiers, followed by the reversibility note. Only waste is the bracketed "[publish]" tag and the nested quoting, which cost a moment of parsing.

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 two-parameter, no-output-schema mutation, the description covers what it does, that it is reversible, and the restore path. Safety is already covered by annotations, so nothing an agent needs before calling 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?

Schema description coverage is 0%, so the description must carry parameter meaning - it names both fields and signals an either/or relationship via the parenthetical. However, it never states that at least one identifier is required (required params = 0) or how to choose between id and uuid, which leaves a real ambiguity for a tool where passing neither cannot work.

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?

Specific verb ("Move ... to TRASH") plus specific resource and the two identifier fields. It also distinguishes itself from the deletion-like siblings by stating this is "the only 'delete'" and that it is not permanent. An agent can identify the tool 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 Guidelines4/5

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

Clearly frames when to use this (the delete path) and names move_email_message as the restore counterpart. It does not spell out the inverse case - moving a message to a non-trash folder - which is exactly what move_email_message is for, leaving that routing inference to the agent.

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