Skip to main content
Glama

mail_discard_draft

Destructive

Delete an unsent draft created with mail_draft; received messages are never affected.

Instructions

Delete a draft created with mail_draft (only drafts, never received mails).

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

Input Schema

NameRequiredDescriptionDefault
draft_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the agent knows this is a permanent mutation; the description's added value is scoping what gets destroyed (a draft, not a received message). It does not say whether deletion is recoverable, whether the draft id becomes invalid afterward, or how errors surface, so it adds context but not full behavioral picture.

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?

A single short sentence, front-loaded with the action and immediately followed by the scope restriction. No redundant restatement of the name and nothing that could be cut.

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 one-parameter tool with annotations covering the destructive profile and no output schema, the description supplies the essential purpose and target restriction. The only meaningful gap is id provenance and post-deletion state, which are minor for this complexity.

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?

Only one parameter with 0% schema description coverage, and the description never explains the draft_id format or that it must be an id returned by mail_draft. The reference to mail_draft is an implicit hint about where valid ids come from, which is useful but incomplete.

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?

States a specific verb and resource ('Delete a draft') and immediately constrains the object class to drafts produced by mail_draft, which separates it from any operation on received mail. It stops short of naming a sibling for other deletion cases, but the resource is unambiguous.

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 a real when-not constraint: 'only drafts, never received mails,' which prevents the common misuse of passing a received-message id. It also points to mail_draft as the origin of valid targets, though it doesn't describe the failure mode if a non-draft id is supplied.

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