Skip to main content
Glama

Confirm receipt and pay the shopper

confirm_receipt
Destructive

Confirms the items arrived and releases escrow payment to the proxy shopper by signing and broadcasting the payout. Preview only until confirm: true.

Instructions

Step 5, moves money: the items arrived and are right, so sign the escrow payout to the shopper (release); the shopper co-signs and broadcasts it. Irreversible. Without confirm: true it only returns the payout (amount, recipient) and a warning if the shopper has not reported delivery. With confirm: true it signs and waits up to wait_seconds for the payout on chain. If the items did not arrive or are wrong, use open_dispute instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNotrue to really do it (sign / send / broadcast); omitted or false = preview only, nothing happens
order_idYesorder id (32 hex characters) from request_quote or list_orders
wait_secondsNohow long to wait for the on-chain completion, in seconds (default 20)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare destructive=true, readOnly=false, idempotent=false, but the description adds materially beyond them: irreversible, the two-phase preview/confirm flow, the shopper co-sign and broadcast, a warning when the shopper has not reported delivery, and the wait_seconds polling window. That is genuine behavioral detail an agent needs before committing money.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the riskiest fact ('moves money', 'Irreversible') and the preview/commit distinction before the alternative-tool routing. Every sentence carries decision-relevant information; nothing is padding.

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?

There is no output schema, and the description compensates by describing what the preview returns and what happens on confirm. Combined with annotations covering the safety profile, an agent has everything needed to invoke this correctly or route elsewhere.

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 would be 3, but the description adds semantics the schema does not: what confirm:true does to the flow (signs and waits up to wait_seconds on chain) and what the preview returns (payout amount, recipient, possible warning). It goes modestly beyond the structured fields.

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?

States a specific verb and resource: sign the escrow payout to release funds to the shopper. It also positions itself in the workflow ('Step 5, moves money') and contrasts with a named sibling, open_dispute, so an agent can distinguish it without opening a 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?

Gives explicit when-to-use ('the items arrived and are right'), an explicit when-not with the alternative ('if the items did not arrive or are wrong, use open_dispute instead'), and the preview-vs-commit condition for confirm. Nothing about selection 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.