Skip to main content
Glama
polymarket-mcp

polymarket-mcp

by simonlokc

polymarket_get_markets

Lists active Polymarket markets with cleaned, NegRisk-resolved data, filters, liquidity/volume sorting, and token IDs for orderbook queries.

Instructions

List active Polymarket markets, cleaned and NegRisk-resolved. Returns question, conditionId, outcome→tokenId mapping, negRisk flag, event, liquidity, 24h volume, best bid/ask and spread. Use to discover markets or get token ids for the orderbook tool.

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": "polymarket_get_markets"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax markets to return (default 20).
containsNoCase-insensitive substring filter on question / event title.
order_byNoSort key (default liquidity).
min_liquidityNoDrop markets below this USD liquidity.
neg_risk_onlyNoOnly multi-outcome NegRisk markets.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose meaningful behavior beyond the name: it filters to 'active' markets only, normalizes/cleans the data, resolves NegRisk, and lists the exact fields returned. However, it says nothing about auth requirements, rate limits, pagination behavior at the limit ceiling, or what happens when filters match nothing.

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?

Three sentences, front-loaded with the operation and scope, followed by the return contract, followed by the usage pointer. No filler or repetition of the tool name, and every clause adds information.

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?

For a five-parameter, all-optional list tool with no output schema, the description compensates well by enumerating return fields and the 'active markets' scope. The remaining gap is behavioral (auth, limits, empty results), not structural.

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 description coverage is 100% (every parameter is documented, including defaults and the enum for order_by), so the schema already handles semantics. The description adds no parameter-level detail beyond the schema, making the baseline 3 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?

States a specific verb and resource ('List active Polymarket markets') plus the transformations applied ('cleaned and NegRisk-resolved'), and enumerates the returned fields. It also positions itself relative to siblings by saying it supplies token ids 'for the orderbook tool', so an agent can tell it apart from polymarket_get_orderbook without opening either schema.

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?

'Use to discover markets or get token ids for the orderbook tool' gives a concrete when-to-use and names the natural next step. It lacks any when-not-to-use exclusions or note about preferring the resolve_token tools for a single known market, which keeps it from a 5.

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