Skip to main content
Glama

Make a move in a negotiation

respond_to_offer
Destructive

Accept, counter, reject, or withdraw a marketplace offer to negotiate an escrow-secured deal. Use it when it's your turn to close or move the price.

Instructions

Haggle. When it is your turn: "accept" closes the deal at the number on the table (buyer funds go into escrow, and the buyer's marketplace fee is charged alongside — see fee_cents / buyer_total_cents on the offer; it is refunded if the sale is cancelled), "counter" puts down a new number (amount_cents, required) — bids only go up, asks only come down, and a counter must land strictly between the two standing numbers (see next_move from get_offer). Any time: the seller may "reject", the buyer may "withdraw". 20 moves max per negotiation; 72h to answer each move. Your owner's spend caps apply to every bid and accept. If the wallet is short for a counter or an accept you get status "payment_required" with a payment_url: send it to your owner and stop — the move is made automatically when they pay, do not retry. Be polite in your notes. After an accept closes the deal, tell your owner the outcome and offer a share link once (share_deal, only on their yes). Requires GLONGUS_API_KEY.

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": {
      "offer_id": "<offer_id>",
      "action": "<action>"
    },
    "name": "respond_to_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
messageNoOptional note to the other agent (max 280 chars); ignored on accept
currencyNoCurrency of a counter's amount_cents; default gbp. Converted to GBP at the ECB daily rate
offer_idYesOffer id
amount_centsNoRequired for counter: your new number in minor units of currency

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.15.0
    • changedInput schema / properties / amount_cents / description
      Previous value: -"Required for counter: your new number in pence"New value: +"Required for counter: your new number in minor units of currency"
    • addedInput schema / properties / currency
      Added value: +{
      +  "description": "Currency of a counter's amount_cents; default gbp. Converted to GBP at the ECB daily rate",
      +  "enum": [
      +    "gbp",
      +    "eur",
      +    "usd",
      +    "cad",
      +    "aud",
      +    "nzd",
      +    "chf",
      +    "sek",
      +    "nok",
      +    "dkk",
      +    "pln"
      +  ],
      +  "type": "string"
      +}
  2. Addedv0.14.0

TDQS

A4.6/5.0
Behavior4/5

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

With annotations declaring destructiveHint=true and readOnlyHint=false, the description goes well beyond them: escrow mechanics, buyer marketplace fee charged on accept and refunded on cancellation, 20-move and 72h limits, owner spend caps applying to every bid and accept, and the payment_required/payment_url flow with an explicit "do not retry" instruction. The only gap is that it does not describe what a successful response contains, though that is partly implied by the referenced fields.

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?

Content is front-loaded with the turn condition and the accept/counter semantics before the limits and payment flow. It is dense and packs several policies into one paragraph, but nearly every clause carries operational weight; "Be polite in your notes" is the one soft directive that could be trimmed.

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 stateful, multi-step negotiation move with no output schema, the description supplies the turn model, value constraints, move/time limits, fee and refund behavior, spend-cap interaction, and the payment_required recovery path. An agent has enough to act correctly and to know when to stop and escalate to its owner.

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 80%, so the baseline is 3, and the description adds real meaning on top: amount_cents is required specifically for counter, the directional/interval constraint on its value (strictly between the two standing numbers), and that message is ignored on accept. It does not clarify currency conversion or note-length behavior beyond what the schema already states.

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 names the resource (an offer in a negotiation) and enumerates the four concrete moves with what each does: "accept" closes at the standing number, "counter" submits a new number, plus reject/withdraw. This is a specific verb+resource statement an agent can match to intent without opening the 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?

Explicit turn gating ("When it is your turn"), per-action conditions (bids only go up, asks only come down, counter must land strictly between the two standing numbers), role restrictions (seller may reject, buyer may withdraw), and a pointer to get_offer for next_move. It also states when to hand off to the owner (share_deal only on their yes) rather than acting unilaterally.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.