Skip to main content
Glama

Samuelz® Communications

Erledigtes Anliegen abschließen

complete_reply
Destructive

Resolve the displayed inbox thread after delivery and explicit human confirmation that all visible concerns are finished. This is the completion step, not show_reply_approval’s display or confirm_reply’s send. This app-only button is offered by show_reply_approval(operationId) after bound terminal delivery permits human_confirmation_required. The Communications connection also exposes that completionGate through get_operation. Never invoke it from the model. The card copies operationId, hidden approvalToken, expectedVersion and expiresAt unchanged; they bind the exact operation, current visible thread, grant and ten-minute confirmation. Changed context, expired confirmation, missing delivery or revoked Communications read/triage authority blocks completion; restore show_reply_approval(operationId) for fresh status instead of inventing a version or retrying. Returns human_confirmed_inbox_resolution or readback_required with operationId. Unlike confirm_reply or execute_reply it never sends; unlike cancel_reply it does not discard a pending reply. Inbox resolution never attests a booking, payment or customer business outcome.

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>",
      "expectedVersion": "<expectedVersion>",
      "expiresAt": "<expiresAt>"
    },
    "name": "complete_reply"
  }
}

Input Schema

NameRequiredDescriptionDefault
expiresAtYesExact UTC ISO expiry supplied by the completion card; do not extend or reconstruct it. Expired confirmation is rejected.
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.
expectedVersionYesExact visible-thread version bound to this completion card; any changed thread requires a fresh review.

Output Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 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 / expectedVersion / description
      Added value: +"Exact visible-thread version bound to this completion card; any changed thread requires a fresh review."
    • addedInput schema / properties / expiresAt / description
      Added value: +"Exact UTC ISO expiry supplied by the completion card; do not extend or reconstruct it. Expired confirmation is rejected."
    • 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."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

The description goes well beyond the annotations: it discloses the human-confirmation gate, the approvalToken/expectedVersion binding to the exact operation and visible thread, the ten-minute expiry, the blocking conditions, and the returned outcomes (human_confirmed_inbox_resolution or readback_required). It also scopes the effect explicitly — it never sends and never discards a pending reply, and never attests a booking, payment, or business outcome — which is consistent with destructiveHint=true and idempotentHint=false.

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 completion step and the prohibition on model invocation are front-loaded, and nearly every sentence carries distinct constraint or routing information. It is dense and slightly overpacked — the enumeration of contrasts against confirm_reply/execute_reply/cancel_reply plus the closing disclaimer on booking/payment outcomes makes it longer than strictly necessary — but there is little true filler.

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, non-idempotent completion gate with an output schema, the description supplies everything an agent needs: invocation path, required preconditions, token handling, expiry behavior, failure recovery route, and return values. Nothing material is left to inference given the tool's complexity.

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 schema already documents all four parameters; the description nonetheless adds binding semantics that the schema alone does not convey — that the card copies the values unchanged and that they bind the exact operation, current visible thread, grant, and ten-minute confirmation. It reinforces the no-fabrication rule for approvalToken and expectedVersion, though it adds little on the UUID/pattern constraints themselves.

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 — resolving the displayed inbox thread as the terminal completion step — and immediately distinguishes it from show_reply_approval (display) and confirm_reply (send). It further positions it against execute_reply and cancel_reply, so an agent can identify the tool's unique role without opening any 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 when-to-use (after delivery plus explicit human confirmation), explicit when-not-to-use (never invoke from the model; only offered by the app-only card), and a named fallback (restore show_reply_approval(operationId) for fresh status instead of inventing a version or retrying). Failure preconditions — changed context, expired confirmation, missing delivery, revoked read/triage authority — are spelled out.

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