Skip to main content
Glama

Gmail Delete Draft

gmail_delete_draft
DestructiveIdempotent

Permanently deletes one Gmail draft by draft_id after user confirmation, bypassing Trash, and cannot be undone; use gmail_save_draft to change a draft instead.

Instructions

Permanently delete one Gmail draft after asking the user to confirm; it does not go to Trash. To change a draft instead use gmail_save_draft with its draft_id. Returns status 'ok' with the draft_id, or status 'cancelled' if the user declines. Cannot be undone.

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": "gmail_delete_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
draft_idYesGmail draft ID, as returned by gmail_save_draft or gmail_list_drafts (not the draft's message ID).

Output Schema

NameRequiredDescriptionDefault
statusNoMachine-readable operation status.
draft_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known; the description still adds real context beyond them — bypassing Trash, irreversibility, and a required user-confirmation step. The confirmation requirement and the 'cancelled' path are the kind of workflow detail annotations cannot express.

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, front-loaded with the destructive nature and confirmation requirement, then the alternative, then return values. Every sentence carries distinct information with no filler.

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?

An output schema exists, yet the description still summarizes the two possible statuses ('ok' with draft_id, 'cancelled'), covering the agent-relevant outcome of a user declining. For a one-parameter destructive tool, nothing needed to call it correctly is missing.

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?

The single parameter is fully documented in the schema (draft ID from gmail_save_draft or gmail_list_drafts, not the message ID), so the description does not need to compensate. It only echoes the sibling name for obtaining a draft_id, adding no new meaning beyond the schema — baseline 3.

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?

Opens with a specific verb+resource+scope: 'Permanently delete one Gmail draft'. The word 'Permanently' plus 'it does not go to Trash' distinguishes this from a soft-remove/archive operation and from the sibling gmail_save_draft, which it names explicitly.

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 an explicit when-to-use path (delete after asking the user to confirm) and an explicit alternative with its condition: 'To change a draft instead use gmail_save_draft with its draft_id.' Nothing about route selection is left to inference.

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

Deploy Server

Other Tools