Skip to main content
Glama

Respond to an offer

respond_offer

Answer an offer when it is your turn: accept (the deal is made at the current amount and the item is reserved; no contact details are shared), decline, or counter with a new amount. The buyer can withdraw an open offer at any time. Accept and counter follow your user's deal rules (confirm_deal): when the answer is done=false, ask your user ask_your_user and only after their yes call again with user_approved=true. A saved range is a limit, not a price to take at once: when a first offer is far from the asking price, counter at least once. After acceptance, ask your user once for times and a meeting place if they gave none, and arrange the rest with deal_action; their scheduled check keeps running until the deal is done or cancelled.

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_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
amountNo
messageNo
offer_idYes
user_approvedNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / user_approved
      Added value: +{
      +  "default": false,
      +  "title": "User Approved",
      +  "type": "boolean"
      +}
  2. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (which only say it is a non-idempotent, non-destructive write), the description discloses real consequences: acceptance makes the deal at the current amount and reserves the item, contact details are not shared, buyers may withdraw at any time, and the scheduled check keeps running until done or cancelled. These are exactly the behavioral facts an agent cannot get from structured 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?

The core action and its outcomes are front-loaded, and nearly every clause carries operative rules. The middle sentences stack conditions into long run-ons (deal rules / done=false / ask_your_user / user_approved in one breath), which costs some readability without adding 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 stateful negotiation tool with an output schema already covering return values, the description supplies the missing operational context: turn-taking, confirmation gating, negotiation heuristics, and post-acceptance follow-up. Nothing an agent needs to call it correctly appears absent.

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 description coverage is 0%, so the description must carry parameter meaning, and it does for most: action values are explained behaviorally, amount is tied to countering, and user_approved is given a precise protocol. offer_id and message are left unelaborated (message's purpose is never mentioned), which is a real but minor 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?

The description names a specific verb and resource ("Answer an offer") and enumerates the exact modes: accept, decline, counter, and (via the buyer sentence) withdraw. It is clearly distinguishable from make_offer (creating an offer) and deal_action (arranging logistics after acceptance), so an agent can route 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?

It states the trigger ("when it is your turn"), the branch condition for user confirmation (done=false → ask_your_user → retry with user_approved=true), and negotiation policy (counter at least once when a first offer is far from asking). It also names the follow-up path after acceptance and the sibling tool (deal_action) for the rest, leaving little to inference.

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.