Skip to main content
Glama

Faivelo Email

Delete a message

delete_message
Destructive

Delete a message. By default it moves to Trash; from Trash/Drafts (or with permanent: true) it is deleted permanently.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uidYesMessage UID from list_messages
folderNoIMAP folder name (default "INBOX")
mailboxYesFull mailbox address
permanentNoPermanently delete instead of moving to Trash

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered. The description adds genuinely useful behavior beyond that: the default is a recoverable move to Trash, and only Trash/Drafts items or an explicit permanent:true flag cause irreversible deletion.

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?

Two short sentences, front-loaded with the action and then the default-vs-permanent distinction. No filler; every clause carries decision-relevant information.

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

Completeness4/5

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

For a destructive tool with no output schema, the description covers the key recoverability question (Trash vs permanent) and the trigger condition. It omits permission/auth requirements and any note that restore_message can recover the soft-deleted case, so it is slightly short of fully complete.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds meaning by explaining how the permanent flag interacts with folder context (Trash/Drafts), which the schema's one-line 'Permanently delete instead of moving to Trash' does not convey.

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+resource ('Delete a message') and immediately clarifies the two deletion modes, which distinguishes it from siblings like move_message, empty_trash, and restore_message. It does not name those siblings explicitly, so it stops short of a 5.

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?

Gives an implicit condition for permanent deletion ('from Trash/Drafts or with permanent: true'), which helps an agent choose the right mode, but offers no guidance on when to use this tool versus move_message, empty_trash, or restore_message.

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.