Skip to main content
Glama

Send operator reply

inbox_reply
DestructiveIdempotent

Sends an operator reply, implicitly taking ownership without an announcement.

A client-generated operation_id, kept across retries, replays identical text/digest after a lost response. Gmail's email_context_digest comes from inbox_read.email_reply_target.context_digest; recipients are server-owned. Stale/incorrect context fails. API acceptance is not receipt.

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_id": "<agent_id>",
      "conversation_id": "<conversation_id>",
      "operation_id": "<operation_id>",
      "text": "<text>"
    },
    "name": "inbox_reply"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesOperator reply text sent to the contact.
agent_idYesAgent ID from agents_list or agent_create.
operation_idYesClient-generated reply UUID; identical retries with this ID replay the original reply.
conversation_idYesConversation ID from inbox_list or conversations_search.
email_context_digestNoGmail reply-target context_digest from inbox_read.email_reply_target.

Output Schema

NameRequiredDescriptionDefault
statusYes
operation_idYes
delivery_reasonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / delivery_reason
      Added value: +{
      +  "enum": [
      +    "messaging_window",
      +    "human_agent_window"
      +  ],
      +  "title": "Delivery Reason",
      +  "type": "string"
      +}
  2. Changed5 schema fields changed
    • addedInput schema / properties / agent_id / description
      Added value: +"Agent ID from agents_list or agent_create."
    • addedInput schema / properties / conversation_id / description
      Added value: +"Conversation ID from inbox_list or conversations_search."
    • addedInput schema / properties / email_context_digest / description
      Added value: +"Gmail reply-target context_digest from inbox_read.email_reply_target."
    • addedInput schema / properties / operation_id / description
      Added value: +"Client-generated reply UUID; identical retries with this ID replay the original reply."
    • addedInput schema / properties / text / description
      Added value: +"Operator reply text sent to the contact."
  3. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations already declare destructive=true, idempotent=true, openWorld=true, so the safety profile is covered; the description nonetheless adds substantial behavior beyond them. It discloses that ownership is transferred silently, that the operation_id makes retries replay identical text/digest after a lost response, that stale or incorrect context causes failure, and that 'API acceptance is not receipt' — a non-obvious async delivery caveat.

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?

Four short sentences, front-loaded with the action and its ownership side effect, then retry semantics, then context sourcing, then the delivery caveat. Dense but every sentence carries information; a touch of jargon ('digest', 'receipt') assumes domain familiarity.

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 destructive, idempotent, open-world mutation with an output schema, the definition covers ownership transfer, retry safety, context provenance, failure on stale context, and delivery ambiguity. What is left implicit is the resulting conversation state after ownership moves and whether delivery is synchronous, but these are minor against the coverage provided.

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 baseline is 3, but the description adds real meaning: recipients are server-owned (there is no recipient parameter to supply), and the email_context_digest must come from inbox_read.email_reply_target.context_digest, with stale values failing the call. The operation_id explanation largely duplicates the schema wording, which keeps it from a 5.

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 first sentence gives a specific verb and resource ('Sends an operator reply') plus a distinguishing behavioral trait: it takes ownership implicitly and without an announcement. That implicitly separates it from announce-style siblings like inbox_takeover, though no sibling is named, so an agent must infer the contrast rather than read it.

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 implied rather than stated: the tool is for operator replies, and the operation_id note tells the agent to reuse the same ID on retries. There is no explicit when-to-use/when-not guidance and no named alternative (e.g. draft approval or takeover flows), so routing between this and sibling reply/ownership tools is left to inference.

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