Skip to main content
Glama

propose_sale_change

Buyer or seller of a physical-goods escrow: propose a change the other side must confirm. type more_inspection_time with days 1-14 (the buyer gets that many more days to inspect after a confirmed delivery; up to 14 extra days in all; while the escrow is funded, in progress or submitted), or type cancel_before_shipping (the sale is called off and the buyer refunded in full; only while no carrier has the parcel), or type replacement with returnFirst true or false (after the buyer reported a problem with an item that arrived: the seller ships a replacement within 5 days, after the original has come back by tracked return when returnFirst is true, and the buyer is refunded in full if it does not; once per escrow). Nothing changes until the other side confirms. A new proposal replaces an open one; it lapses after 48 hours.

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>",
      "type": "<type>"
    },
    "name": "propose_sale_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
typeYes
escrowIdYesEscrow ID
returnFirstNoreplacement only: true = the buyer first sends the original item back by tracked return; false = the buyer keeps it

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / returnFirst
      Added value: +{
      +  "description": "replacement only: true = the buyer first sends the original item back by tracked return; false = the buyer keeps it",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / type / enum
      Previous value: -[
      -  "more_inspection_time",
      -  "cancel_before_shipping"
      -]New value: +[
      +  "more_inspection_time",
      +  "cancel_before_shipping",
      +  "replacement"
      +]
  2. Added

TDQS

A4.4/5.0
Behavior4/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 well: it discloses that 'nothing changes until the other side confirms', that a new proposal replaces an open one, that proposals lapse after 48 hours, the 5-day seller shipping obligation and 14-day inspection cap, and the refund outcome for each path. It stops short of stating who may propose (buyer vs. seller permissions) and what the call returns.

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?

Every sentence earns its place and the core guarantee ('nothing changes until the other side confirms') is well placed. The cost is density: three deeply nested parentheticals sit in one enormous sentence, which makes the branch conditions slower to scan than a bulleted per-type layout would be.

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 mutation tool with no annotations and no output schema, the definition covers preconditions, per-type effects, confirmation semantics, supersession and expiry. An agent has everything needed to call it correctly; only actor permissions remain unstated, which is minor given the 'buyer or seller' framing.

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?

The description supplies real meaning for the two parameters the schema leaves bare: 'days 1-14' and the semantics of returnFirst ('the original has come back by tracked return when returnFirst is true'). But it frames these as prose conditions rather than mapping them to named arguments, so an agent still has to infer that 'days' pairs with more_inspection_time and returnFirst with replacement. Schema coverage is 50%, and the description only partially closes that 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?

Opens with a specific verb and resource ('propose a change the other side must confirm') scoped to a named actor pair (buyer or seller of a physical-goods escrow), then enumerates the three proposal types. That is enough to distinguish it from confirm_sale_change and decline_sale_change, which act on the counterparty's side.

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?

Each type carries its own when-to-use condition and guardrail: more_inspection_time only 'while the escrow is funded, in progress or submitted', cancel_before_shipping 'only while no carrier has the parcel', replacement 'after the buyer reported a problem with an item that arrived' and 'once per escrow'. An agent can pick the right type and reject invalid states without further lookup.

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