Skip to main content
Glama

Reply to an inbox message

reply_to_message

Send a plain-text reply to an incoming message, from the same mailbox and in the same email thread, exactly like Reply in the app's inbox. This sends a real email to the prospect: show the draft to the user and get approval first. 502 when the mail server refuses. Use when the user asks you to answer a prospect's reply.

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": {
      "id": "<id>",
      "body": "<body>"
    },
    "name": "reply_to_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesMessage id from list_inbox_messages.
bodyYesReply text (plain text).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag openWorldHint=true and readOnlyHint=false, but the description adds material context: this sends a real email to a real prospect, it requires explicit user approval beforehand, and it surfaces a 502 when the mail server refuses. What remains unsaid is whether a failed send can be retried safely (idempotentHint=false implies duplicated replies are possible), which matters for a non-idempotent mutation.

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?

Three short sentences, front-loaded with the action and scope, then the safety prerequisite, then the failure mode. No filler or repetition of schema content.

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 two-parameter mutation with annotations but no output schema, the description covers the external side effect, the approval gate, thread/mailbox derivation, and the 502 failure path. Minor gaps are what a successful call returns and whether to surface the sent copy to the user, but nothing critical is missing.

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?

With 100% schema coverage the baseline is 3, and the description earns above that by explaining that recipient, mailbox, and thread are all derived from the incoming message id — which is why only id and body exist. It also reinforces that body is plain text only, matching the schema's note.

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 plus resource ('send a plain-text reply to an incoming message') and pins the scope to the same mailbox and same email thread, explicitly comparing it to the app's Reply button. This distinguishes it from read-oriented siblings like check_message and list_inbox_messages.

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 a clear trigger ('use when the user asks you to answer a prospect's reply') and a hard prerequisite ('show the draft to the user and get approval first'). It stops short of naming an explicit alternative for cases like starting a new thread or replying to multiple recipients, but the context is unambiguous.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.