Skip to main content
Glama

StandingBids

Read a product's order book

get_order_book
Read-onlyIdempotent

Read the public order book of one product: how many confirmed buy orders exist at or above each price level, and the lowest current public price we know. Use it to tell a person how much demand exists at a price, or to help them choose a realistic maximum price. Contains no personal data.

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": {
      "product_id": "<product_id>"
    },
    "name": "get_order_book"
  }
}

Input Schema

NameRequiredDescriptionDefault
product_idYesThe product_id returned by find_product.

Output Schema

NameRequiredDescriptionDefault
levelsYesFrom the highest price to the lowest. orders_at_or_above = buy orders that a seller would reach by selling at price_usd.
productYes
book_urlYes
currencyYes
updated_atYes
total_ordersYes
best_public_priceYes
median_max_price_usdYes
highest_max_price_usdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, non-destructive and closed-world, so the safety bar is met. The description adds real context beyond them: the data is limited to 'public' and 'confirmed' orders, only the lowest price 'we know' is returned (a staleness caveat), and it explicitly notes no personal data is included.

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 compact sentences: core read first, then use cases, then a privacy note — all front-loaded with no repetition of the title. Slightly loose in that the final sentence could be merged, but nothing is wasted.

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?

An output schema exists, so return shape need not be described; what an agent needs is scope, use case and data-visibility constraints, all of which are present. Minor gaps are pagination or result-size limits for a price-level listing, and no mention of behavior on an unknown product_id.

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?

There is a single parameter with 100% schema description coverage ('The product_id returned by find_product'), so the schema already carries full parameter meaning. The description adds nothing about the parameter itself; baseline 3 applies when the schema does the heavy lifting.

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 public order book of one product') and then defines the payload precisely: confirmed buy-order counts at or above each price level plus the lowest known public price. That content definition implicitly separates it from get_buy_order (single order) and get_best_prices (price points only), so an agent can pick correctly 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 Guidelines4/5

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

Gives two concrete when-to-use scenarios: telling a person how much demand exists at a price, and helping them choose a realistic maximum price. Clear context, but no explicit exclusions or named alternative sibling to route to when this is the wrong choice.

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