Skip to main content
Glama

draft_delete

Delete an email draft by ID with explicit confirmation; only drafts are affected and draft access must be enabled.

Instructions

Delete a draft. Only acts on drafts. Requires MAIL_DRAFTS_ENABLED=true and confirm=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmYesExplicit confirmation required (must be `true`)
draft_idYes`draft_id` of the draft to delete
account_idNoAccount identifier (defaults to `"default"`)default

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesTool-specific data payload
metaYesExecution metadata (timestamp, duration)
summaryYesHuman-readable summary of the operation outcome

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose real behavioral traits: the operation is restricted to drafts, it is gated behind a feature flag, and it requires an explicit confirmation flag. It stops short of stating irreversibility or what happens on a failed precondition, which matters for a destructive operation.

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 short sentences with zero filler; the action and its scope constraint are front-loaded before the requirements. Every sentence adds a distinct constraint.

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?

An output schema exists, so return values need not be explained, and the safety gating for this mutation is covered. What is missing is any statement about permanence/undo and failure behavior when the feature flag is off, which would round out a delete tool.

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 the schema already documents confirm, draft_id, and account_id. The description only restates the confirm=true constraint already present in the schema and adds no format or default details. Baseline 3 is appropriate.

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 (Delete) and resource (draft), and the clause 'Only acts on drafts' bounds the scope so an agent can distinguish it from the broad message-deletion siblings like imap_delete_message and imap_bulk_delete. No ambiguity about what object is affected.

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?

Gives concrete preconditions for invocation (MAIL_DRAFTS_ENABLED=true and confirm=true), which tells the agent what must be true before calling. It does not, however, contrast itself with siblings such as draft_update or draft_send or state when-not-to-use.

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