Skip to main content
Glama
mcp-server-polymarket

mcp-server-polymarket

Get a market

get_market
Read-onlyIdempotent

Retrieve complete details for a single Polymarket market by slug, token, market, or condition ID, including outcomes, prices, token IDs, fees, rewards, and full rules.

Instructions

One market with its outcomes, prices, token ids, tick size, fees, rewards and full rules (description). Give exactly one identifier.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_market"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNoMarket URL slug.
token_idNoAn outcome token id.
market_idNoNumeric Gamma market id.
condition_idNo0x condition id.

Output Schema

NameRequiredDescriptionDefault
idYes
urlNo
slugNo
tagsNo
spreadNo
statusNo
volumeNo
best_askNo
best_bidNo
end_dateNo
event_idNo
neg_riskNo
outcomesNo
protocolNo
questionNo
liquidityNo
tick_sizeNo
event_slugNo
start_dateNo
volume_24hNo
closed_timeNo
descriptionNo
question_idNo
rfq_enabledNo
condition_idNo
fee_scheduleNo
fees_enabledNo
min_order_sizeNo
accepting_ordersNo
group_item_titleNo
last_trade_priceNo
rewards_min_sizeNo
resolution_sourceNo
rewards_max_spreadNo
one_day_price_changeNo
uma_resolution_statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedOutput schema / properties / outcomes / default
      Removed value: -[]
  2. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered without the description. The description adds that the response includes rules/description text alongside numeric market data, which hints at payload size. It says nothing about error behavior for bad identifiers or what happens when zero or multiple identifiers are supplied, which is the notable gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, zero filler, with the payload summary front-loaded and the usage constraint second. The parenthetical '(description)' is slightly awkward phrasing for the rules field, but the overall structure is clean and information-dense.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists and annotations are rich, so the description needn't document return shape or safety. Given that, the identifier-exclusivity note plus the payload summary covers what an agent needs to call it correctly. Only the multi/zero-identifier edge case is left unaddressed.

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

Parameters4/5

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

Schema description coverage is 100%, so baseline would be 3, but the sentence 'Give exactly one identifier' adds genuinely non-obvious semantics: the four identifier fields are mutually exclusive alternatives, and exactly one should be set despite `required` being empty. That resolves a real ambiguity the schema leaves open. It does not explain precedence if more than one is passed, so not a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource and enumerates its payload: 'One market with its outcomes, prices, token ids, tick size, fees, rewards and full rules (description).' That is clearly distinct from aggregate siblings like get_event or get_order_books. It stops short of naming a sibling it competes with (e.g. get_market_trading_info), so it lands at 4 rather than 5.

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

Usage Guidelines2/5

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

'Give exactly one identifier' is an invocation constraint, not usage guidance. There is no statement of when to prefer this tool over get_market_trading_info, get_event, or get_price_history, and no exclusions or prerequisites. An agent must infer the routing decision entirely.

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