Skip to main content
Glama
fzlzjerry

polymarket-mcp

by fzlzjerry

polymarket_get_order_book

Read-only

Get the live order book for an outcome token, including best bid/ask, midpoint, spread, and up to 50 price levels per side.

Instructions

Live order book for one outcome token: best bid/ask, midpoint, spread, top levels.

token_id is a CLOB token id. depth caps the number of price levels per side (default 10, max 50). Level prices/sizes are parsed to floats.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
token_idYes
depthNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
token_idYes
market_condition_idNo
best_bidNo
best_askNo
midpointNo
spreadNo
bidsNo
asksNo
Behavior5/5

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

Annotations indicate readOnlyHint=true and openWorldHint=true. The description adds that it provides best bid/ask, midpoint, spread, top levels, and that prices/sizes are parsed to floats. No contradictions; behavioral traits are fully consistent.

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 succinct sentences that front-load core purpose and immediately explain key parameters. No wasted words; every sentence earns its place.

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?

Given the presence of an output schema (covers return values), the description fully covers purpose, parameters, and behavior. It is complete for a simple order book tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description adds meaningful context: token_id is 'a CLOB token id' and depth 'caps the number of price levels per side (default 10, max 50)'. This adds value beyond the schema's type declarations.

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?

The description clearly states 'Live order book for one outcome token: best bid/ask, midpoint, spread, top levels.' It uses a specific verb and resource, and distinguishes from siblings like get_live_price (single price) or get_market (market details).

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?

The description implies usage when needing order book depth for a token, provides context for token_id and depth parameters, and the sibling list helps differentiate. However, it does not explicitly state when not to use this tool or mention alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fzlzjerry/polymarket-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server