Skip to main content
Glama
phon3

graph-polymarket-mcp

by phon3

search_markets

Search Polymarket prediction markets by text query to retrieve real-time metadata including prices, volume, liquidity, and CLOB token IDs for market analysis.

Instructions

Search Polymarket prediction markets by text query. Returns market metadata including question, prices, volume, liquidity, and CLOB token IDs. Uses the Gamma API for real-time market discovery. Chain with: get_clob_market(conditionId) for live order books, get_live_prices(clobTokenIds) for token-level pricing, get_market_open_interest for capital locked, or get_market_resolution for oracle status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of results (1-100)
queryYesSearch text (e.g. 'Trump', 'Bitcoin', 'World Cup')
activeNoFilter: only active markets
closedNoFilter: only closed/resolved markets
orderByNoSort field
ascendingNoSort ascending (default: descending)
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It adds meaningful context by noting the Gamma API source and listing the return fields, plus hints at chaining for deeper data. It lacks details on rate limits, pagination defaults, or error behavior, but for a search tool this is adequate.

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?

The description is three concise sentences: the first defines the action, the second lists outputs, and the third gives chaining suggestions. It is front-loaded, avoids redundancy, and every sentence earns its place.

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 search tool with no output schema, the description adequately covers return values and provides integration guidance. It could be more complete by stating the exact response structure or default filters, but given the simplicity of the tool, it is sufficiently complete for an agent to select and use it correctly.

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 coverage is 100%, so each parameter is already well-documented. The description adds minimal parameter-specific semantics beyond what the schema states; it merely restates that the query is text search and that CLOB token IDs are included in results, which is useful but not sufficient to exceed the baseline.

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 clearly states the tool searches Polymarket prediction markets via text query and lists the returned metadata (question, prices, volume, liquidity, CLOB token IDs). However, it does not differentiate this tool from the sibling search_markets_enriched, which likely serves a similar but possibly more detailed purpose.

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?

Provides clear usage context by suggesting chaining with other tools like get_clob_market and get_live_prices, implying this is the initial discovery step. It does not explicitly exclude alternatives or state when not to use this tool, so it falls short of a perfect score.

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/phon3/Polymarket-MCP'

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