Skip to main content
Glama

Reply from an AgentMail inbox

send_agentmail_reply
Destructive

Reply in an existing thread. Recipients and subject come from the original — you supply only the body. Set replyAll to include everyone on the original's To and Cc; by default it replies to the sender only. Ask the user to confirm before calling this.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ccNoExtra Cc recipients.
bodyYesPlain text body of the reply.
mailboxYesAddress of the connected AgentMail inbox to act on. Call list_authorized_mailboxes to see available options.
replyAllNoInclude everyone on the original. Default false.
messageIdYesThe message being replied to, from search_agentmail_messages or get_agentmail_thread.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true; the description earns credit for adding real context beyond them — that addressing and subject are derived from the original message, the default is sender-only reply, and that user confirmation is expected before the irreversible send. It does not mention rate limits or delivery failure behavior, keeping it out of the top band.

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 tight sentences with the core contract front-loaded, followed by the replyAll nuance and the safety instruction. No filler and nothing repeated from the schema verbatim.

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 mutating, open-world send tool with no output schema, the description covers the essentials: what is auto-derived, the addressing default, and the confirmation requirement. It stops short of describing delivery/error outcomes or what happens if the thread or messageId is invalid, which would complete the picture.

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 100% and the schema already documents replyAll's default and the cc field, so the schema does the heavy lifting. The description restates the replyAll semantics and clarifies that body is the only content the caller owns, which is mildly additive but not new syntax or format detail.

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 (reply) and resource (existing thread) and immediately defines the contract: recipients and subject are inherited, the caller only supplies the body. This distinguishes it from send_agentmail_message and create_agentmail_draft without the agent needing to open another 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?

Gives explicit conditional guidance for replyAll (include everyone vs. sender-only default) and a clear precondition — 'Ask the user to confirm before calling this.' It does not name the sibling tool to use when starting a new thread instead, so the routing guidance is one step short of exhaustive.

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.

Resources