Skip to main content
Glama

Mail Create Draft

mail_create_draft

Creates a reviewable Gmail draft in the Hermes account without sending it, so the user can confirm and send it later from Gmail.

Instructions

Create a new draft in the Hermes account's Gmail. Does NOT send: the user reviews and sends it from Gmail. Requires user confirmation before calling.

Recipients are addr or Name <addr> strings with ASCII addresses; quote a display name that contains a comma. attachments are absolute local file paths (~ is expanded).

Returns dict with keys: draft_id, message_id, thread_id, to, cc, subject, warning (always null for this tool).

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": {
      "to": "<to>",
      "subject": "<subject>",
      "body": "<body>"
    },
    "name": "mail_create_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNo
toYes
bodyYes
subjectYes
attachmentsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.1

TDQS

A3.6/5.0
Behavior3/5

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

With annotations already declaring destructiveHint=false and openWorldHint=false, the description usefully adds the no-send guarantee and the confirmation prerequisite. It says nothing about the duplicate-creation risk implied by idempotentHint=false, nor about rate limits or why `warning` is always null, which are the remaining behavioral questions for a mutation tool.

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?

Front-loaded with purpose and the non-send constraint, then parameter format, then return shape, so the load-bearing information comes first. The enumerated return keys are mildly redundant because an output schema already exists, but each remaining sentence carries real constraints.

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 5-parameter mutation with annotations covering safety and a real output schema, the description supplies the missing pieces an agent needs: the non-send contract, the confirmation gate, and recipient/attachment formatting. Only the semantics of `body` and `subject` remain undocumented anywhere.

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% across 5 parameters, so the description compensates partially: it explains the `to`/`cc` recipient string grammar (`addr` or `Name <addr>`, ASCII only, quoting names with commas) and that `attachments` are absolute local paths with `~` expansion. It says nothing about `body` or `subject` formatting such as plain text versus HTML, so the compensation is 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 concrete verb and resource ("Create a new draft in the Hermes account's Gmail") and immediately clarifies the boundary of the action ("Does NOT send"). It does not name the sibling reply-draft tool, so an agent must infer that mail_create_reply_draft covers replies, but the create-a-new-message framing is still clear.

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 an explicit precondition ("Requires user confirmation before calling") and a clear division of labor (the user reviews and sends from Gmail), which tells the agent when the workflow ends. It offers no explicit statement of when to prefer a different tool over this one, so it falls short of full alternative routing.

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