Skip to main content
Glama

Get Orderbook

get_orderbook
Read-only

Full orderbook depth (bids + asks) for any Polymarket market token. Shows liquidity at each price level.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
token_idYesPolymarket token ID for the YES or NO side of a market

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true. Description adds context that it shows liquidity at each price level, which is useful but not critical beyond annotations.

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, no unnecessary words. Essential information only, front-loaded with purpose.

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?

Given no output schema, the description clarifies it returns bids + asks and liquidity per price level, which is sufficient for a simple tool. Could mention return structure but not necessary.

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 coverage is 100% for the single parameter 'token_id', and the schema description already explains it is a Polymarket token ID. The description adds no new parameter meaning beyond what the schema provides.

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?

Clearly states the tool retrieves the full orderbook depth (bids + asks) for a specific Polymarket market token. Verb 'Get' and resource 'orderbook' are specific, distinguishing it from siblings like 'get_orderbook_depth'.

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?

Implied usage: to get orderbook depth for a market token. No explicit when-not-to-use or alternative tools, though sibling 'get_orderbook_depth' exists. Minimal guidance.

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.