Skip to main content
Glama

confirm_sale_change

Buyer or seller of a physical-goods escrow: confirm the OTHER side's open proposal (get_escrow shows it as order.agreement). It takes effect at once and cannot be undone: more inspection time moves the release date; cancel_before_shipping refunds the buyer in full; replacement commits the seller to ship a replacement within 5 days (after the original has come back, when returnFirst is true) or the buyer is refunded in full.

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": {
      "escrowId": "<escrowId>",
      "proposalId": "<proposalId>"
    },
    "name": "confirm_sale_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
escrowIdYesEscrow ID
proposalIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it declares the change takes effect immediately and cannot be undone, then enumerates the concrete consequences per proposal type — release date moving, full refund, or a 5-day replacement obligation gated on returnFirst. That is precisely the side-effect disclosure an agent needs before an irreversible write.

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?

Front-loaded with actor and target, then the irreversible-effects clause. Dense but every clause carries information; the only cost is that the conditional replacement/returnFirst branch packs several ideas into one run-on sentence.

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?

No output schema and no annotations, so the description must cover both purpose and consequences, which it does. It stops short of stating what a successful confirmation returns or the failure modes (expired proposal, wrong party), which an agent would still need.

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 coverage is only 50% (proposalId has no description), and the description compensates partially by explaining that the proposal is the counterparty's open one visible as order.agreement in get_escrow. It adds nothing about escrowId or format/validity constraints on proposalId, so it lifts meaning but doesn't close the gap.

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: confirm the OTHER side's open proposal in a physical-goods escrow, and names get_escrow/order.agreement as the way to see what is being confirmed. That is enough for an agent to distinguish it from propose_sale_change and decline_sale_change 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 Guidelines4/5

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

Specifies the actor (buyer or seller of a physical-goods escrow) and the precondition (the counterparty's open proposal, surfaced as order.agreement via get_escrow). It does not say when to use the sibling decline_sale_change instead, so the exclusion is left implicit.

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