Skip to main content
Glama

Delete a draft

delete_draft
DestructiveIdempotent

Permanently deletes a specific draft from a mailbox account using its draft ID; use it to discard unwanted drafts, and note the action cannot be undone.

Instructions

Delete a draft for good. Reaches drafts only, never other mail. It cannot be undone. Not needed after send_draft, which removes the draft itself. To change a draft, use update_draft.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "account_id": "<account_id>",
      "draft_id": "<draft_id>"
    },
    "name": "delete_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
draft_idYesA draft of that account, by the id list_drafts or create_draft answers
account_idYesThe account, by the id list_accounts names

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is largely covered. The description still adds real value with the blast-radius guarantee ("drafts only, never other mail") and reinforces irreversibility with "cannot be undone," which is partly redundant with destructiveHint but useful as emphasis.

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?

Four short sentences, front-loaded with the action and scope, then irreversibility, then sibling routing. Slightly redundant between "for good" and "cannot be undone," but no sentence is wasted.

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?

With an output schema, full parameter documentation, and complete annotations, the description only needs to carry scope and routing — which it does. It does not address what happens when the draft id no longer exists, but idempotentHint already implies a non-error no-op, so the gap is minor.

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%, and the schema even explains how to obtain draft_id and account_id from list_drafts/create_draft and list_accounts. The description adds nothing about parameters, so the baseline 3 applies.

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 ("Delete a draft") plus a scope qualifier ("Reaches drafts only, never other mail") that separates it from message-level deletion siblings. An agent can identify what it does and what it does not touch without opening the schema.

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?

Names two relevant siblings with conditions: it is "not needed after send_draft, which removes the draft itself" and "to change a draft, use update_draft." These are explicit exclusions and alternatives, though there is no positive statement of the obvious use case (discarding an unwanted draft) — acceptable given how self-evident it is.

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