Skip to main content
Glama
jiroamato

Polymarket MCP Server

by jiroamato

search_markets

Read-only

Search Polymarket events and markets by free-text keyword to match against titles, questions, and descriptions for discovery.

Instructions

Search events and markets by free-text keyword.

Use this as the primary discovery tool when the user names a topic but not an event/market ID. Matches against event titles, market questions, and descriptions.

  • query: Free-text query. Short topical terms work best ("bitcoin", "ukraine", "nba mvp"). Not fuzzy — overly-specific queries may return nothing.

  • limit: Max results per result type (default 10, typical useful 5-20).

Returns a list of event dicts with nested markets. Key fields:

  • id: event ID for get_event.

  • markets[].id: market ID for get_market.

  • markets[].outcome_prices: JSON-encoded probability list (see server instructions); can be null for untraded markets.

Does NOT include best_bid / best_ask / last_trade_price / volume_24hr / spread. Call get_event or get_market on a result id for order-book data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses that the search is not fuzzy and overly-specific queries may return nothing, and specifies which fields are not included (best_bid, best_ask, etc.), adding valuable behavioral context.

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?

The description is well-structured with bullet points and front-loaded purpose, but could be slightly more concise; each sentence earns its place, though some detail could be streamlined.

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?

Given the tool has two parameters and an output schema exists (though not shown), the description provides a complete picture of return format including key fields and what is excluded, making it fully actionable for an AI agent.

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?

With 0% schema description coverage, the description fully compensates by explaining that query is free-text with short topical terms, not fuzzy, and that limit is per result type with default 10 and typical range 5-20, adding meaning beyond the bare schema.

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?

The description clearly states the verb 'Search' and resource 'events and markets', and distinguishes from siblings by noting it is the primary discovery tool when no event/market ID is provided, and that it excludes order-book data which requires get_event/get_market.

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 'Use this as the primary discovery tool when the user names a topic but not an event/market ID' and advises calling get_event or get_market for order-book data, providing clear when-to-use and when-not-to-use guidance.

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