Skip to main content
Glama

Accept offer

accept_offer
Idempotent

Accept one offer and place the order through the Bourse. Accepting is one x402 paid call (HTTP 402 with the payment offer until paid; x402 inside the call: USDC first, Open USD second, on Base): it settles and signs the order. The goods are paid between the two companies on the offer's own terms.

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": {
      "intent_id": "<intent_id>",
      "offer_id": "<offer_id>",
      "email": "<email>"
    },
    "name": "accept_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailYesthe buyer's email given on create_order_intent
offer_idYesthe offer to accept, as get_offers lists it
intent_idYesthe order intent id, oi-<16 hex>

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / email / description
      Added value: +"the buyer's email given on create_order_intent"
    • addedInput schema / properties / intent_id / description
      Added value: +"the order intent id, oi-<16 hex>"
    • addedInput schema / properties / offer_id / description
      Added value: +"the offer to accept, as get_offers lists it"
  2. Added

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the annotations, the description discloses that accepting is a single x402 paid call, the HTTP 402 payment handshake, currency preference order (USDC then Open USD on Base), and that the call settles and signs the order. It also clarifies a critical non-obvious behavior: goods payment happens separately between the two companies on the offer's own terms, not through this call.

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?

Three sentences, front-loaded with the action and then the payment mechanics. The x402 parenthetical is dense but each clause carries real information; nothing is redundant.

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?

For a mutating, paid, open-world tool with no output schema, the description covers the payment flow and settlement effect well. It does not say what is returned or what the agent should do after acceptance (e.g., check order status), leaving a small gap.

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?

With 100% schema description coverage, the schema already explains all three parameters (including the oi-<16 hex> format and that offer_id comes from get_offers). The description adds no additional meaning about the parameters themselves, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence states a specific verb and resource — 'Accept one offer and place the order through the Bourse' — which is unambiguous against siblings like get_offers (listing) and create_order_intent (creating intents). It never explicitly names an alternative tool to differentiate itself, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is implied: you accept an offer that get_offers lists, for an intent from create_order_intent. There is no explicit 'use this when / not when' statement or precondition checklist, so the agent must infer the workflow position from the parameter descriptions.

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.