Skip to main content
Glama
cybersmurf
by cybersmurf

Delete a draft

mail_delete_draft
DestructiveIdempotent

Permanently delete a draft by ID, removing it from your mailbox. Only affects messages flagged as drafts, never sent or received mail.

Instructions

Permanently deletes a draft by id. Works only on messages flagged as drafts — it never deletes sent or received mail.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesDraft id.
accountNoWhich account: leave empty for the signed-in mailbox, or name a shared mailbox / group you have access to (the part before @ is enough; a full address works too). mail_list_mailboxes shows what exists.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true. The description adds useful behavioral context beyond annotations by stating the deletion is permanent and limited to drafts, preventing accidental attempts on non-draft messages.

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 scope. Every sentence earns its place with no redundant or filler content.

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 simple destructive delete-by-id tool, the description is complete: it states the action, permanence, and draft-only restriction. Annotations cover safety traits, the schema covers parameters, and no output schema is needed.

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 100%, so both the 'id' and 'account' parameters are fully documented in the schema. The description only says 'by id' and adds no meaning beyond what the schema already provides.

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 and resource: 'Permanently deletes a draft by id.' It also scopes the operation by noting it works only on messages flagged as drafts, which distinguishes it from operations on sent or received mail.

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?

Provides a clear context and a when-not condition: 'Works only on messages flagged as drafts — it never deletes sent or received mail.' However, it does not explicitly name alternative tools or spell out when to delete versus send or edit a draft.

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