Skip to main content
Glama

Mail Create Reply Draft

mail_create_reply_draft

Create a threaded reply-all draft for a Hermes inbox message without sending it, letting you review recipients and content before confirmation.

Instructions

Create a reply-all draft to a message in Hermes's inbox, threaded under the original conversation. Does NOT send. Requires user confirmation before calling.

message_id is the Gmail id from mail_list_pending or mail_get. By default To is the original Reply-To or sender plus the original To recipients, and Cc keeps the original Cc; the Hermes address and the user's own address are dropped unless nothing else remains. Pass to and/or cc to override. Unusable header addresses are skipped and listed in warning.

Returns dict with keys: draft_id, message_id, thread_id, to, cc, subject, warning.

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": {
      "message_id": "<message_id>",
      "body": "<body>"
    },
    "name": "mail_create_reply_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNo
toNo
bodyYes
message_idYes
attachmentsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.1

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (which only say non-destructive, non-idempotent, closed-world), the description discloses the full recipient-derivation algorithm, the self-address dropping rule, that unusable headers are skipped and surfaced in `warning`, and that nothing is sent. This is the kind of behavior an agent cannot infer from structured fields.

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?

Front-loaded with the action and the critical do-not-send/confirm caveat, then parameter guidance, then return keys. Nearly every sentence carries distinct information; the recipient-derivation sentence is dense but necessary.

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 tool with no schema descriptions, it covers confirmation flow, recipient defaults, header failure handling, and threading. The only real gap is that the `attachments` parameter goes entirely unmentioned, and the return-key listing is partly redundant with the output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description carries the load, and it does for message_id (Gmail id, with source tools), to and cc (override semantics and the defaults used when omitted). It says nothing about `body` or `attachments`, so the compensation is strong but incomplete.

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?

"Create a reply-all draft to a message" names a specific verb and resource, and adds the scope detail of being threaded under the original conversation. It is clearly distinguishable from the sibling mail_create_draft (new draft) without opening any schema.

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 states the preconditions explicitly: does NOT send, and requires user confirmation before calling, plus it points to mail_list_pending or mail_get as the source of message_id. What's missing is an explicit contrast against mail_create_draft or mail_update_draft, but the usage context is clear.

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