Skip to main content
Glama
Thunderbird MCP by Commonpost

Thunderbird MCP by Commonpost

Reply to Message

replyToMessage
Destructive

Reply to an email with quoted original text, choosing a compose window for review, a saved draft, or direct send. Supports reply-all, attachments, and HTML bodies.

Instructions

Reply with quoted original text (a new message: sendMail; passing it on: forwardMessage). mode: window (compose window for review, default), draft (save to Drafts with the recipients Thunderbird computes: Reply-To, Mail-Followup-To, mailing lists, identity auto Cc/Bcc; returns messageId + folderPath; needs the saveDraft tool enabled), send (direct, needs to and from; blocked unless the user disables the skipReview safety block).

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": {
      "messageId": "<messageId>",
      "folderPath": "<folderPath>",
      "body": "<body>"
    },
    "name": "replyToMessage"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNoCC recipients (comma-separated)
toNoOverride the recipients Thunderbird computes (required with mode send)
bccNoBCC recipients (comma-separated)
bodyYesReply body text
fromNoSender identity (email or identity ID from listAccounts); default: the identity the message was addressed to. Required with mode send.
modeNowindow (default), draft or send
isHtmlNoThe body is HTML (default: false)
replyAllNoReply to all recipients (default: false)
messageIdYesThe message ID to reply to (from searchMessages)
folderPathYesFolder URI (from searchMessages)
skipReviewNoLegacy: true means mode send (default: false)
attachmentsNoAttachments: file paths (strings) or inline objects ({name, contentType, base64})
latestInThreadNoReply to the newest message of this conversation instead (Sent included); not with mode send. Result: repliedTo when another message was answered, threadIncomplete when a newer one may exist

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.19.2
    • changedInput schema / properties / attachments / items / oneOf
      Previous value: -[
      -  {
      -    "description": "Absolute file path to attach",
      -    "type": "string"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "anyOf": [
      -      {
      -        "required": [
      -          "base64"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "required": [
      -          "content"
      -        ],
      -        "type": "object"
      -      }
      -    ],
      -    "properties": {
      -      "base64": {
      -        "contentEncoding": "base64",
      -        "description": "Base64-encoded file content",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "content": {
      -        "contentEncoding": "base64",
      -        "description": "Alias for base64 (accepted for backwards compatibility); base64 takes precedence when both are set",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "contentType": {
      -        "description": "MIME type, e.g. application/pdf",
      -        "type": "string"
      -      },
      -      "name": {
      -        "description": "Attachment filename",
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "name"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "description": "Absolute file path",
      +    "type": "string"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "anyOf": [
      +      {
      +        "required": [
      +          "base64"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "required": [
      +          "content"
      +        ],
      +        "type": "object"
      +      }
      +    ],
      +    "properties": {
      +      "base64": {
      +        "contentEncoding": "base64",
      +        "description": "File content, base64",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "content": {
      +        "contentEncoding": "base64",
      +        "description": "Old name of base64, which wins if both are set",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "contentType": {
      +        "description": "MIME type",
      +        "type": "string"
      +      },
      +      "name": {
      +        "description": "File name",
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "name"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedInput schema / properties / folderPath / description
      Previous value: -"The folder URI path (from searchMessages results)"New value: +"Folder URI (from searchMessages)"
    • changedInput schema / properties / from / description
      Previous value: -"Sender identity (email address or identity ID from listAccounts); default: the identity the message was addressed to, as in Thunderbird. Required with mode send."New value: +"Sender identity (email or identity ID from listAccounts); default: the identity the message was addressed to. Required with mode send."
    • changedInput schema / properties / isHtml / description
      Previous value: -"Set to true if body contains HTML markup (default: false)"New value: +"The body is HTML (default: false)"
    • changedInput schema / properties / latestInThread / description
      Previous value: -"Reply to the newest message of this conversation instead (Sent included); not with mode send. Result: repliedTo when another message was answered, threadIncomplete when the mailbox was read in part and a newer message may exist"New value: +"Reply to the newest message of this conversation instead (Sent included); not with mode send. Result: repliedTo when another message was answered, threadIncomplete when a newer one may exist"
    • changedInput schema / properties / messageId / description
      Previous value: -"The message ID to reply to (from searchMessages results)"New value: +"The message ID to reply to (from searchMessages)"
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: the skipReview safety block on send mode, the dependency that draft mode needs the saveDraft tool enabled, the return values of draft mode (messageId + folderPath), and the latestInThread result states repliedTo/threadIncomplete. Remaining gap is that it does not spell out that send mode delivers mail irreversibly, though the annotations already flag destructiveHint=true.

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-loads the core action and sibling distinctions in the first clause, then organizes mode behavior parenthetically. Dense but every clause carries information; the heavy nesting of parentheticals slightly hurts scanability.

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 13-parameter mutating tool with no output schema, it covers the essential decision points: modes, defaults, safety gating, dependencies, and draft return values. Minor omissions like the attachment limit and replyAll behavior are already handled by the 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 100%, so the baseline is 3, but the description adds real meaning: mode defaults to window and what each mode does, which recipients Thunderbird computes for draft mode (Reply-To, Mail-Followup-To, mailing lists, identity auto Cc/Bcc), and that send requires to and from. This goes beyond the schema's bare enum listing.

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?

States a specific verb and resource ("Reply with quoted original text") and immediately distinguishes itself from two siblings by naming them: sendMail for a new message and forwardMessage for passing it on. An agent can select it without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use for each mode: window is the default for review, draft saves with Thunderbird-computed recipients, send goes direct and is blocked unless the user disables the skipReview safety block. It also names the sibling alternatives and the condition that selects each.

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