Skip to main content
Glama

Coinage

Accept offer

accept_offer
DestructiveIdempotent

Seller accepts a buyer's open offer. Requires scope trading:write. Ask the seller to confirm the price before calling. This reserves the one item, pauses other offers, and records the seller's price confirmation. Payment is cash at the meetup. This does not complete the sale. The same offer or the same idempotencyKey returns the original reservation.

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": {
      "offerId": "<offerId>"
    },
    "name": "accept_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
offerIdYes
idempotencyKeyNoClient retry key. 8 to 128 letters, digits, underscores, or hyphens.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructiveHint and idempotentHint, but the description adds real substance beyond them: the required write scope, that the item is reserved, that competing offers are paused, that the seller's price confirmation is recorded, and that payment is cash at meetup. It also spells out the replay behavior ('the same offer or the same idempotencyKey returns the original reservation'), which is exactly the side-effect detail an agent needs before mutating state.

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?

Four short sentences, each carrying distinct information: what it does, the auth requirement, the confirmation prerequisite, the side effects, and the idempotency rule. The outcome boundary is front-loaded and nothing is redundant.

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 mutating, open-world tool with no output schema, the description covers authorization, side effects, reversibility boundary, and retry semantics. An agent has everything needed to call it safely without additional documentation.

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 50% and offerId has no schema description, but the description supplies its meaning contextually ('a buyer's open offer') and fully explains the idempotencyKey contract as a replay key returning the original reservation. That compensates well for the coverage gap, though the exact key format is left to the schema.

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 ('Seller accepts a buyer's open offer') and immediately bounds the outcome with 'This does not complete the sale,' which separates it from completion-oriented siblings such as confirm_completion. An agent can distinguish it from reject_offer, counter_offer, and submit_offer without opening any 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?

Gives a concrete precondition ('Requires scope trading:write') and a pre-call instruction ('Ask the seller to confirm the price before calling'), plus a clear boundary that this is not the sale-completing step. It stops short of explicitly naming the alternative tool for finishing the transaction, so the when-not guidance is implied rather than routed.

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