Skip to main content
Glama
chandshy
by chandshy

Empty Trash

empty_trash
Destructive

Permanently delete all messages in the Trash mailbox. Purged mail is unrecoverable; requires confirmation.

Instructions

PERMANENTLY delete every message in the Trash mailbox. This is the only operation that bypasses the move-to-Trash safety net — purged mail is UNRECOVERABLE. It only ever touches the Trash mailbox, never live mail. Requires { confirmed: true }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmedNoMust be true to execute. Purged Trash mail is unrecoverable. See requireDestructiveConfirm.
account_idNoOptional account ID to route this call to (multi-account configs). Omit to use the active account. Configured account IDs are listed in the settings UI (Accounts tab).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
deletedYes
successYes
Behavior5/5

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

Goes beyond annotations: emphasizes 'PERMANENTLY', 'UNRECOVERABLE', and 'bypasses the move-to-Trash safety net'. Clearly conveys destructive nature and requirement for confirmation.

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?

Three sentences with no waste. Front-loaded with the critical purpose and severity. Every sentence earns its place.

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?

Covers purpose, usage, behavioral details, and parameter requirement. With output schema present, return value explanation is unnecessary. Complete for a low-complexity tool.

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%. Description adds context that 'confirmed' must be true and stresses unrecoverability, reinforcing schema info. Provides slight additional meaning.

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?

Clearly states the verb 'PERMANENTLY delete' and resource 'every message in the Trash mailbox'. Distinct from siblings like move_to_trash and delete_email by specifying it bypasses the safety net and empties the entire trash.

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?

Explicitly states when to use (permanent deletion of all trash) and that it only touches Trash mailbox, never live mail. However, no explicit alternatives when not to use, though implication is strong.

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

Install Server

Other Tools

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/chandshy/mailpouch'

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