Skip to main content
Glama

MCPFax Macro & Market Intelligence

Polymarket market + order book

polymarket_market
Read-onlyIdempotent

One Polymarket market by Gamma id, slug or condition id, with its full outcome pricing and the LIVE CLOB order book for each outcome token: best bid, best ask, midpoint, spread and the top price levels with sizes. Use it before taking a position, to see real depth rather than only a last price. An outcome with no order book returns a null book rather than a fabricated price; an unknown identifier returns not_found and is not billed. Costs $0.008 USDC per call via x402 on Base; an unpaid call returns the payment challenge instead of data, and a call that returns no data is never settled so it costs nothing. Equivalent HTTP route: GET /polymarket/market.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoPolymarket Gamma market id Example: '908713'.
slugNoMarket slug, if you have no id Example: 'fed-rate-hike-in-2026'.
depthNoOrder-book levels per side, 1-20 (default 5) Example: '5'.
condition_idNoFull 0x-prefixed 32-byte condition id (66 chars), as returned by the markets/events/search tools Example: '0xf708d6652a477c59d7da116df8ff3d393b993e7037367b96cc33aa519cb48354'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / condition_id / examples
      Added value: +[
      +  "0xf708d6652a477c59d7da116df8ff3d393b993e7037367b96cc33aa519cb48354"
      +]
    • addedInput schema / properties / depth / examples
      Added value: +[
      +  5
      +]
    • addedInput schema / properties / id / examples
      Added value: +[
      +  "908713"
      +]
    • addedInput schema / properties / slug / examples
      Added value: +[
      +  "fed-rate-hike-in-2026"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / condition_id / description
      Previous value: -"Full 0x-prefixed 32-byte condition id (66 chars), abbreviated here, as returned by the markets/events/search tools Example: '0x80b3af88…9744d82b'."New value: +"Full 0x-prefixed 32-byte condition id (66 chars), as returned by the markets/events/search tools Example: '0xf708d6652a477c59d7da116df8ff3d393b993e7037367b96cc33aa519cb48354'."
  3. First observed

TDQS

A4.5/5.0
Behavior5/5

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

With readOnlyHint/idempotentHint already covering safety, the description adds valuable behavioral detail: null order books instead of fabricated prices, not_found for unknown identifiers, billing semantics, payment-challenge behavior on unpaid calls, and no settlement when no data is returned. This goes well beyond the annotations and helps an agent anticipate edge-case responses.

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?

The description is compact yet information-dense: purpose, use case, edge-case behavior, billing, and an HTTP route equivalent are conveyed in three sentences. No sentence is filler, and critical caveats are placed early.

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 read-only lookup tool with no output schema, the description sufficiently describes output contents (outcome pricing, best bid/ask, midpoint, spread, top price levels with sizes) and covers errors and costs. An agent has enough information to invoke the tool correctly and interpret its likely responses.

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%, with each parameter (id, slug, condition_id, depth) already having descriptions and examples. The description repeats identifier options but adds no new parameter-level detail, so a baseline 3 is 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?

Description opens with a specific verb-resource pairing: 'One Polymarket market' retrievable by Gamma id, slug, or condition id, and distinguishes itself by including 'full outcome pricing and the LIVE CLOB order book'. This clearly differentiates it from sibling tools like polymarket_markets and polymarket_trades, which cover lists and trade history.

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?

It says to use it 'before taking a position, to see real depth rather than only a last price,' which gives a clear use context. It does not explicitly name alternatives or state when to use them, so it falls just short of the strongest 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.

Resources