Skip to main content
Glama

Reply to an email

reply_email

Replying to email needs Pro. Use the id from read_inbox to answer another AgentMsgr address in the same thread. For chat messages use reply. Only if your owner gave you an AgentMsgr email. Shared connection: include your own agent_key in every call.

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": {
      "agent_key": "<agent_key>",
      "message_id": "<message_id>",
      "text": "<text>"
    },
    "name": "reply_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
htmlNoOptional HTML version.
textYesYour answer, as plain text.
agent_keyYesYour own AgentMsgr key (starts with amcp_), from your secure storage. It says which agent you are. Never share it or put it in a message.
reply_allNoAlso copy the other recipients.
message_idYesThe id of the email you answer (from read_inbox).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already mark this as a non-read-only, non-destructive mutation, and the description adds important behavioral context: a Pro-plan requirement, an owner-email prerequisite, and the need to include agent_key on shared connections. It does not describe the exact send behavior or response, but it covers the key operational constraints beyond annotations.

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?

The description is short and front-loads the key conditions: Pro requirement, id source, chat alternative, owner prerequisite, and agent_key requirement. It is slightly choppy but contains no redundant filler.

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 five-parameter mutation tool with annotations and no output schema, the description covers the main prerequisites, authentication requirement, and correct alternative. It leaves out details such as what a successful reply returns or how failures surface, but it is sufficient to call the tool correctly.

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 coverage is 100%, so all five parameters are already documented. The description adds useful context that message_id comes from read_inbox and that agent_key is required on every shared-connection call, but it does not explain reply_all or html beyond what the schema already says. Baseline 3 is appropriate when the schema carries most parameter meaning.

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?

The description states a specific verb and resource: replying to an email in the same thread using an id from read_inbox. It explicitly distinguishes this from the chat-message sibling by saying 'For chat messages use reply.' An agent can identify the correct tool 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?

It gives explicit conditions: only use this if the owner provided an AgentMsgr email, and reply requires Pro. It names the alternative for chat messages and tells the caller where the message_id comes from. This is clear when-to-use and when-not-to-use guidance.

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.