Skip to main content
Glama

Samuelz® Communications

Antwort freigeben und senden

confirm_reply
Destructive

Approve and send from the human card only: show_reply_approval displays that card, this human action executes its exact reply, and complete_reply separately resolves the inbox after delivery. This is not the model-callable approve_reply record of an already observed owner-chat decision. App-only: never invoke from the model or infer consent from chat text; an explicit owner chat decision can use approve_reply followed by execute_reply through the separate Communications connection when available. The card copies operationId and its hidden approvalToken, plus the unchanged draft snapshot when present. The token binds workspace, principal, grant, content/context and expiry; missing, expired or changed values block the action. Current Communications read/prepare/execute and module/provider checks remain required. Returns operationId, status and customerOutcome=not_verified. On an uncertain result restore show_reply_approval(operationId), or read get_operation through Communications, without another click or send. Use complete_reply only for human confirmation that an already delivered thread is finished; it never sends.

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": {
      "operationId": "<operationId>",
      "approvalToken": "<approvalToken>"
    },
    "name": "confirm_reply"
  }
}

Input Schema

NameRequiredDescriptionDefault
draftNoExact hidden draft snapshot returned with the human card, including its original content, recipients, context and expiry. The app copies it unchanged; the model must not construct it.
operationIdYesExact current-grant reply-operation UUID from preparation or the approval card; not a communicationId.
approvalTokenYesHidden signed capability copied by the human card only. Never generate, reveal or request this value from the model.

Output Schema

NameRequiredDescriptionDefault
statusYes
operationIdYesExact current-grant reply-operation UUID from preparation or the approval card; not a communicationId.
customerOutcomeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / draft / properties / body / description
      Added value: +"Exact reply body shown on this human card, copied without edits by the app."
    • addedInput schema / properties / draft / properties / communicationId / description
      Added value: +"Hidden exact inbound source ID from this human card; host copies unchanged."
    • addedInput schema / properties / draft / properties / contextFingerprint / description
      Added value: +"Exact hidden source/context digest from the card; not a content hash or model-created approval."
    • addedInput schema / properties / draft / properties / expiresAt / description
      Added value: +"Server-issued expiry of this hidden draft snapshot, copied unchanged by the host."
    • addedInput schema / properties / draft / properties / replyMode / description
      Added value: +"Only the card-approved reply-all marker; omission retains sender mode. Never broadens recipients."
    • addedInput schema / properties / draft / properties / subject / description
      Added value: +"Exact subject shown on this same human approval card; never model-reconstructed."
  2. Changed4 schema fields changed
    • addedInput schema / properties / approvalToken / description
      Added value: +"Hidden signed capability copied by the human card only. Never generate, reveal or request this value from the model."
    • addedInput schema / properties / draft / description
      Added value: +"Exact hidden draft snapshot returned with the human card, including its original content, recipients, context and expiry. The app copies it unchanged; the model must not construct it."
    • addedInput schema / properties / operationId / description
      Added value: +"Exact current-grant reply-operation UUID from preparation or the approval card; not a communicationId."
    • addedOutput schema / properties / operationId / description
      Added value: +"Exact current-grant reply-operation UUID from preparation or the approval card; not a communicationId."
  3. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and idempotentHint=false, and the description adds substantial context beyond them: the hidden approvalToken binds workspace, principal, grant, content/context and expiry, and missing/expired/changed values block the action; Communications read/prepare/execute and module/provider checks are still required. It also discloses the return contract (operationId, status, customerOutcome=not_verified) and the recovery path on an uncertain result, though it does not spell out what externally changes on delivery beyond 'send'.

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?

It is front-loaded with the core action and the hard prohibition before the mechanism and return details, and nearly every clause carries a distinct constraint. It is dense and long for a three-parameter tool, with mild redundancy between "never invoke from the model" and "never generate, reveal or request" style phrasing elsewhere, but no filler sentences.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, open-world send action with a nested draft object, the description covers invocability, prerequisites, token binding, blocking conditions, return values and post-failure recovery — everything an agent needs. An output schema exists, so explaining return fields is a bonus rather than a requirement.

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 the baseline is 3, but the description adds relational meaning the schema does not: the card copies operationId and its hidden approvalToken plus the unchanged draft snapshot when present, and the token is what validates the operation. The prohibition on model-constructing the token or draft reinforces correct parameter sourcing rather than repeating field docs.

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?

"Approve and send from the human card only" names a specific verb pair, the resource (the reply on the human approval card) and its scope. It explicitly separates itself from show_reply_approval (which displays the card), complete_reply (which resolves the inbox), and approve_reply (the model-callable owner-chat record), so an agent can route correctly without opening 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 Guidelines5/5

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

It states who may invoke it (app/human card only, never the model, never inferred from chat text) and names the alternative path when an explicit owner chat decision exists (approve_reply followed by execute_reply through the separate Communications connection). It also names the failure-recovery alternatives: restore show_reply_approval(operationId) or read get_operation, without another click or send.

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