Skip to main content
Glama

StandingBids

Check a buy order

get_buy_order
Read-onlyIdempotent

Read the current state of a buy order created with place_buy_order: draft, active (in the order book), matched (an offer is waiting for the person), accepted, fulfilled, cancelled or expired. Requires the order_id and access_code returned when the order was placed.

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": {
      "order_id": "<order_id>",
      "access_code": "<access_code>"
    },
    "name": "get_buy_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
order_idYesThe order_id returned by place_buy_order.
access_codeYesThe access_code returned by place_buy_order.

Output Schema

NameRequiredDescriptionDefault
statusYes
productYes
deadlineYes
order_idYes
confirm_byYes
manage_urlYesPrivate page where the person can see and cancel the order.
confirm_urlYesPresent while status is "draft": the page where the person confirms the order.
membershipsYesWarehouse clubs the person belongs to: their prices count at the member price.
close_reasonYes
max_price_usdYes
missed_offersYes
pending_offerYes
authorized_onlyYes
awaiting_email_clickYesTrue when the person entered an email address but has not yet clicked the verification link.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds value beyond them by disclosing the authentication requirement (the access_code from placement) and the full set of possible states, which tells the agent what a response can look like and that no mutation occurs.

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?

Two sentences with no waste: the first front-loads what is read and its possible states, the second front-loads the prerequisites. Nothing is repeated from the title or padded.

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 two-parameter read tool with full schema coverage, complete annotations and an output schema, the description supplies everything an agent needs: the sibling relationship, the identifier prerequisites, and the meaning of the states. Return-value structure is properly left to the output schema.

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?

Schema description coverage is 100% and both fields already state they come from place_buy_order, so the description's note about requiring order_id and access_code largely restates the schema. It adds the provenance context ('returned when the order was placed') but no format, constraint, or error semantics beyond what the schema provides, making the baseline 3 appropriate.

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 ('Read the current state of a buy order') and ties it to the sibling that creates orders ('created with place_buy_order'), so an agent knows this is a per-order lookup rather than the aggregate view from get_order_book. The enumerated lifecycle states further pin down exactly what 'state' means.

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 clear context: use this after place_buy_order, with the identifiers that call returned. It stops short of explicit exclusions (e.g. 'do not use this to list all orders — use get_order_book'), so there is no when-not guidance, but the entry condition is unambiguous.

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