Skip to main content
Glama

Mail Delete Draft

mail_delete_draft
Destructive

Deletes a draft from the Hermes Gmail account by draft ID. Use it to discard a draft the user asked to remove or to replace a reviewed draft.

Instructions

Delete a draft from the Hermes account's Gmail.

Only call when replacing a draft the user has reviewed, or when the user explicitly asks to discard one.

Returns dict with key: draft_id.

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_delete_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
draft_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.1

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=false, and the description is consistent with that while adding workflow context: deletion is framed as a replacement step after user review, not a routine cleanup. It also discloses the return key, which the annotations do not. It does not state whether the deletion is permanent or recoverable, leaving one meaningful gap.

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?

Three short lines with the action front-loaded and the calling condition immediately after, so the important constraint is read first. The trailing return-value sentence is mildly redundant given an output schema exists, but it costs little.

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 destructive tool with annotations and an output schema, the description covers purpose, call conditions, and return shape adequately. The remaining omission is practical: how to source the draft_id and whether deletion is irreversible.

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 0% and the single required parameter is documented only as a string, so the description carries the burden. It mentions `draft_id` only as a return key, not as the input, and never says where an agent should obtain a valid draft id (e.g., from a create or list call). The self-explanatory name keeps this at a minimum-viable 3 rather than lower.

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?

The description names a specific verb and resource ("Delete a draft from the Hermes account's Gmail"), which an agent can distinguish from mail_update_draft or mail_create_draft. It stops short of explicitly contrasting itself with the update sibling, so it is clear but not fully differentiated.

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?

It gives an explicit gating rule: "Only call when replacing a draft the user has reviewed, or when the user explicitly asks to discard one." That is a real when-to-use and implicit when-not-to-use constraint. It does not name the alternative tool (e.g., mail_update_draft) for the replace-in-place case, so it falls short of the top band.

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