markets.price
Get live bid/ask/spread prices from the CLOB order book for a specific market by condition_id. If no condition_id is given and show_positions is true, returns current prices for all open positions.
This record as markdown: /tools/demwick-polymarket-agent-mcp/markets.price.md
What markets.price does on Polymarket Agent Mcp
AI agents call markets.price to retrieve information from Polymarket Agent Mcp without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
Why markets.price is rated Low
This tool only queries and retrieves live price data from an order book. It reads market conditions and position prices but does not create, modify, delete, or execute any trades or financial transactions. The 'show_positions' parameter controls what data to retrieve, not whether to execute actions. Even in the context of a trading automation platform, this specific tool is informational only.
From the tool's definition Tool name 'markets.price' and description states it 'Get[s] live bid/ask/spread prices from the CLOB order book' — purely retrieves current market data with 'no side effects' (uses get pattern). Returns prices and position information without modifying state.
Attacks that exploit this kind of access
The rule that runs markets.price safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Polymarket Agent Mcp, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For markets.price, this is the rule to start with:
markets.price is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Polymarket Agent Mcp, apply this rule, and every markets.price call is checked against it from then on.
Questions about markets.price
Get live bid/ask/spread prices from the CLOB order book for a specific market by condition_id. If no condition_id is given and show_positions is true, returns current prices for all open positions. It is categorised as a Read tool in the Polymarket Agent Mcp MCP Server, which means it retrieves data without modifying state.
Register the Polymarket Agent MCP server in PolicyLayer and add a rule for markets.price: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Polymarket Agent Mcp. Nothing to install.
markets.price is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the markets.price rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for markets.price. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
markets.price is provided by the Polymarket Agent MCP server (demwick/polymarket-agent-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Polymarket Agent, and thousands of servers like it.
This server
Across the catalogue