Skip to main content
Glama
AssistantMail

Assistant Mail

Official

assistantmail_delete_messages

Delete specific email messages by ID or remove all messages from a mailbox in one action. Clean up your inbox by removing unwanted emails directly.

Instructions

Deletes messages from a mailbox by IDs or deletes all messages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
apiKeyNo
deleteAllNo
mailboxIdYes
messageIdsNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.3.1

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states that deletion happens, but does not warn about irreversibility, the destructive nature of deleting all messages, or what happens if both messageIds and deleteAll are supplied. For a deletion tool this is a significant transparency gap.

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?

The description is a single concise sentence that front-loads the action and resource, then quickly covers both modes. It contains no filler or redundancy.

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

Completeness2/5

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

For a potentially destructive tool with no annotations, no output schema, and zero schema description coverage, this description is too thin. It omits parameter relationships, safety warnings, return behavior, and edge cases such as providing both messageIds and deleteAll, making it incomplete for safe autonomous invocation.

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%, so the description must compensate. It vaguely maps the deletion modes to IDs and 'all', but it never names messageIds or deleteAll, and it does not explain how they interact, whether deleteAll is required for bulk deletion, or the role of apiKey. This leaves most parameter meaning undocumented.

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 description states a clear action ('Deletes messages'), the target resource ('a mailbox'), and two specific modes: by IDs or all messages. It distinguishes itself from sibling tools like assistantmail_delete_mailbox by explicitly focusing on messages rather than the mailbox itself.

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?

The description gives no guidance on when to choose this tool over alternatives, nor does it mention exclusions or prerequisites. It only describes what the tool does, leaving the agent to infer appropriate usage from the tool name and sibling list.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AssistantMail/assistantmail-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server