Skip to main content
Glama
mailbox-org-mcp
by getrdone

Reply to a message

mailbox_reply

Reply or reply-all to an email with correct threading headers and the original quoted below, then send immediately or save as a draft for review.

Instructions

Reply (or reply-all) to a message with correct threading headers and the original quoted below. mode 'send' sends now; 'draft' saves to Drafts for review.

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": {
      "uid": "<uid>",
      "body": "<body>"
    },
    "name": "mailbox_reply"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidYesMessage UID from mailbox_search_messages (UIDs are per folder)
bodyYesYour reply text (plain text)
fromNoSend as this address/alias; default is the address the message was sent to when it is yours
modeNo'draft' (default) saves for review; 'send' sends immediatelydraft
signNoPGP-sign with your private key (needs MAILBOX_PGP_PRIVATE_KEY_FILE)
folderNoFolder path, e.g. "INBOX", "Archive", "INBOX/newsletters". Names like archive, trash, junk, sent, drafts also work.INBOX
encryptNoPGP-encrypt (PGP/MIME) for every recipient. Keys come from the local keyring or the recipient's Web Key Directory; fails rather than sending in clear if a key is missing.
keyserverNoAlso look up missing keys on keys.openpgp.org (shares the recipient address with that service)
reply_allNo
attachmentsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare it as a non-read-only, non-destructive, open-world write, so the description's job is to add context beyond that. It does: it discloses that threading headers are set correctly and the original is quoted below, and explains the send-versus-draft outcome. It omits side effects like whether a draft is overwritten and any PGP-failure behaviour, but the core mutation semantics are covered.

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 short sentences, front-loaded with the core action and scope, followed by the mode semantics. Every clause carries information and nothing is padded.

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 10-parameter mutation tool with no output schema, the description covers the action, threading, quoting and the critical mode switch, which is what an agent needs to call it correctly. Remaining gaps (reply_all default, attachments, alias selection, PGP failure behaviour) are handled adequately by the schema's 80% description coverage.

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 80%, so the schema already documents parameters well; the description's explanation of mode duplicates the enum/default already present in the schema. It adds no meaning for from, reply_all, attachments, or PGP flags, which is within baseline expectations given high coverage.

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 uses a specific verb ('Reply (or reply-all)') against a specific resource (a message) and mentions the threading/quoting behaviour an agent should expect. It does not, however, distinguish this from closely related siblings such as mailbox_forward or mailbox_create_draft, so the agent must infer the boundary.

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?

Usage is only implied: the agent learns this is for replying and that mode 'send' vs 'draft' selects immediate delivery or review. There is no explicit statement of when to prefer this over mailbox_forward or mailbox_create_draft, and no mention of prerequisites (e.g. needing the UID from mailbox_search_messages, which only the schema notes).

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