Skip to main content
Glama

Approve and send reply draft

inbox_draft_approve
DestructiveIdempotent

Approves original draft operation, optionally editing it; may send to contact.

This does not take ownership. Retry identity is draft_id; stale/superseded drafts fail.

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>",
      "draft_id": "<draft_id>"
    },
    "name": "inbox_draft_approve"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYesAgent ID from agents_list or agent_create.
draft_idYesPending reply draft ID from inbox_drafts.
edited_textNoReplacement reply text; null preserves the pending draft text.
conversation_idYesConversation ID from inbox_list or conversations_search.

Output Schema

NameRequiredDescriptionDefault
statusYes
draft_idYes
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. Changed4 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 / draft_id / description
      Added value: +"Pending reply draft ID from inbox_drafts."
    • addedInput schema / properties / edited_text / description
      Added value: +"Replacement reply text; null preserves the pending draft text."
  3. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Beyond the annotations, the description discloses ownership semantics ('does not take ownership'), the retry identity ('Retry identity is draft_id'), and the failure mode for stale/superseded drafts. The idempotentHint is already declared, but explaining the retry key and staleness behavior adds real operational value. The one gap is that it never explicitly confirms the message is actually sent and irreversible, which matters given 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?

Two short sentences with no filler, and the core action is front-loaded ahead of the caveats. The wording 'Approves original draft operation' could be tighter, but nothing is redundant.

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?

An output schema exists, so return values need not be explained, and the description covers the non-obvious aspects: ownership, retry identity, and stale-draft failure. What remains unstated is whether sending always occurs and what authorization is required, a small gap for a destructive, open-world mutation.

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%, so all four parameters are already documented in the schema, including edited_text's null-preserves behavior. The description only adds the framing that editing is optional during approval, which is marginal; the baseline of 3 applies when the schema carries the weight.

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 description states a specific action on a specific resource ('Approves original draft operation'), and the title reinforces the send behavior. The phrasing 'original draft operation' is slightly awkward and the hedging 'may send to contact' leaves the agent unsure whether sending is guaranteed, but the tool's purpose is clear enough to distinguish it from a generic draft edit.

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

Usage Guidelines2/5

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

No guidance on when to choose this over siblings such as inbox_reply, inbox_draft_reject, or agent_draft_edit. The phrase 'optionally editing it' hints that editing is folded into approval, but there is no explicit when-to-use, when-not-to-use, or prerequisite statement.

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