Skip to main content
Glama

Delete Gmail draft

google_gmail_draft_delete
Destructive

Permanently delete a Gmail draft by draft_id; Gmail does not move deleted drafts to Trash, and deletion cannot be undone. Use the account label when multiple accounts are configured.

Instructions

Delete the draft draft_id (a draft_id that google_gmail_read method drafts or a draft tool gave) permanently: Gmail does not keep a deleted draft in the Trash, and it cannot be undone. One draft per call. The prompt shows the draft's subject, its recipients and its date as Google holds them. Returns the draft_id and deleted: true. account is needed when several accounts are set up.

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": {
      "draft_id": "<draft_id>"
    },
    "name": "google_gmail_draft_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountNoThe account's label. Left out, the only account is used; with several accounts, the call fails and lists them.
draft_idYesThe id of the draft: the `draft_id` that `google_gmail_read` method `drafts` or a draft tool gave.

Output Schema

NameRequiredDescriptionDefault
deletedYes
draft_idYesThe id of the draft that was deleted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

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=false and openWorldHint=true, but the description adds real value beyond them: the deletion bypasses the Trash, cannot be undone, and applies to exactly one draft per call. It also notes the confirmation prompt shows subject, recipients and date, and that the response returns `draft_id` with `deleted: true`.

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?

The critical facts — permanence and irreversibility — are front-loaded in the first sentence, and every subsequent clause carries information. The parenthetical about draft_id provenance is slightly clunky but not wasteful.

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?

For a destructive two-parameter tool with an output schema, the definition covers provenance, irreversibility, batching, account selection and the return payload. Minor omissions such as error behavior for an unknown draft_id are not material given the output schema and annotations.

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 already documents both `draft_id` and the `account` fallback behavior. The description mostly restates that provenance ('a `draft_id` that `google_gmail_read` method `drafts`... gave') and the multi-account condition without adding new syntax or format detail, so the baseline of 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 the draft `draft_id`') and immediately qualifies the scope as permanent. It also distinguishes the operation from a trash-style delete by noting Gmail does not keep the draft in the Trash, so an agent can tell it apart from recovery-oriented siblings.

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 clear context for when this applies: one draft per call, irreversible, and `account` required only when multiple accounts exist. It also tells the agent where a valid `draft_id` comes from (`google_gmail_read` method `drafts` or a draft tool). It stops short of explicitly naming a safer alternative such as a trash operation, so it is strong but not fully routed.

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