Skip to main content
Glama

Prediction Market Intelligence

Order book and fill cost

pm_book
Read-onlyIdempotent

Use this when the user asks how liquid a Polymarket market is, how much a trade of a given size would really cost, how far it would move the price, or what the order book looks like. Returns the live book for one outcome: best levels, spread, dollar depth near the mid and which side is heavier. With amount it walks the book level by level for a market order (dollars to spend when buying, shares when selling) and returns shares filled, average and worst price, slippage against the mid, Polymarket's taker fee and the breakeven probability.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sideNobuy (default) or sell.buy
amountNoFor buy: dollars to spend. For sell: number of shares to sell. Omit to see the book only.
marketYesA polymarket.com link, or a market or event slug from pm_search.
outcomeNoWhich outcome: "Yes"/"No", a team name, or for a multi-outcome event the outcome label ("25 bps decrease"). Default: the first outcome (usually Yes).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources