Skip to main content
Glama

Delete all emails

delete_all_emails
DestructiveIdempotent

Permanently delete every email in this inbox at once, whether or not it was returned yet. Erased immediately and unrecoverable. Use it when the agent's task is finished or to start clean; to remove a single email use delete_email instead. The inbox and its address stay active, and its expiry and remaining allowance don't change. Returns { deleted: N } (0 if it was already empty). Parameters: none, by design: it always clears the whole inbox chosen by this connection's token, and there is no filter or confirmation step, so call it only when you mean everything.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already carry destructiveHint/idempotentHint, and the description adds substantially beyond them: permanence and unrecoverability, no filter or confirmation step, the fact the inbox address, expiry and allowance are unaffected, and the exact return payload { deleted: N }.

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?

Dense and front-loaded with the destructive nature first, then routing, then side effects, then return shape. Slightly long, and the clause 'whether or not it was returned yet' is awkward, but nearly every sentence carries distinct information.

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?

No output schema exists, but the description supplies the return shape, the side-effect model, and the safety context for a catastrophic irreversible operation. Nothing an agent needs to call this correctly is missing.

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

Parameters5/5

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

Zero parameters, so baseline is 4, but the description goes further by explaining the design (no filters, no confirmation) and how the target inbox is resolved via the connection token — semantics an empty schema cannot convey.

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?

States a specific verb+resource with scope ('every email in this inbox at once') and explicitly distinguishes itself from the sibling delete_email. An agent can pick between the two without opening either schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use ('task is finished or to start clean') and a named alternative with its selection condition ('to remove a single email use delete_email instead'), plus a strong call-only-when-you-mean-everything warning.

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