Skip to main content
Glama
jiroamato

Polymarket MCP Server

by jiroamato

get_market

Read-only

Retrieve comprehensive details for a single prediction market, including current outcome prices, order-book spreads, price changes, volume, and resolution rules. Designed for deep analysis of one market.

Instructions

Get full details for one market, including order-book edges and momentum.

Use when the user cares about a single specific question (one candidate's odds, one strike price). For the whole topic, use get_event.

  • market_id: Numeric string ID (e.g. "573655"). Obtain from search_markets, get_event, or get_active_markets (returned as id or markets[].id).

Returns a single market dict. Notable fields:

  • question: the prediction question itself.

  • description: full resolution rules (can be long — tells you how the market settles).

  • outcome_prices, outcomes: JSON-encoded string lists (see server instructions).

  • best_bid, best_ask: order-book edges as probabilities in [0, 1].

  • spread: best_ask - best_bid (narrower = more liquid).

  • last_trade_price: most recent fill price (probability).

  • one_day_price_change, one_week_price_change: absolute change in probability.

  • volume, volume_24hr, liquidity: USD floats.

  • end_date: ISO 8601 UTC resolution deadline.

  • active, closed: tradeability + resolution state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
market_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Despite readOnlyHint annotation, description provides extensive behavioral context: lists return type (dict), notable fields including order-book edges, momentum, liquidity, and status flags. No contradiction with 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?

Compact and well-structured: purpose first, then usage guidelines, parameter explanation, and return field list. Every sentence adds value with no redundancy.

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?

Complete for a single-market retrieval tool: explains how to call it, what it returns (including key fields and their meanings), and how the output is structured. Output schema exists but description adds necessary context.

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?

Only parameter market_id is fully described: type (numeric string), example ('573655'), and origin (from search_markets, get_event, get_active_markets). Schema has 0% description coverage, so description entirely compensates.

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 'Get full details for one market' with specific verb and resource. Differentiates from sibling get_event by specifying 'single specific question' versus 'whole topic'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says when to use ('single specific question') and when not to ('For the whole topic, use get_event'), and tells how to obtain market_id from sibling tools.

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/jiroamato/polymarket_mcp'

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