Skip to main content
Glama

delete_drafts

Destructive

Permanently delete one or more Gmail drafts in a specified account using draft IDs returned by create_draft or list_drafts.

Instructions

Permanently delete one or more drafts in one account (account required). Draft IDs are returned by create_draft or list_drafts.

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": "<account>",
      "draft_ids": "<draft_ids>"
    },
    "name": "delete_drafts"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountYesAccount id ("personal", "tamu").
draft_idsYesDraft IDs to delete (as returned by create_draft or list_drafts).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.2

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, but the description earns credit by adding "Permanently," signalling irreversibility rather than mere mutation, and by asserting the one-account-at-a-time scope. It does not cover partial-failure behavior when a batch of IDs is passed, which is the main remaining gap.

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 compact sentences with the destructive scope front-loaded and the prerequisite ID source second. No filler or redundancy; every clause carries information an agent needs before calling.

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 two-parameter destructive tool with full schema coverage and no output schema, the definition covers purpose, scope, and ID provenance adequately. It would be fully complete with a note on batch semantics or confirmation requirements for irreversible deletion.

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 coverage is 100%, so both parameters are already documented in the schema, including the ID source. The description only restates "account required" and the draft_ids provenance, adding no format, limits, or batch-size semantics beyond structured data. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Permanently delete one or more drafts" gives a specific verb (delete), resource (drafts), and cardinality (one or more), plus a scoping constraint (one account). It is clearly distinguishable from label/read/mute siblings, though it never names the closest alternative such as a recoverable trash operation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The second sentence tells the agent where draft IDs come from (create_draft or list_drafts), which is useful pre-call context. It stops short of explicit when-to-use or when-not-to-use guidance, e.g. no statement about preferring a recoverable trash path over permanent deletion.

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