get_sampling_simplified_markets
Retrieve a simplified overview of sampled Polymarket prediction markets to quickly analyze current events and market signals without authentication.
Instructions
Get simplified view of currently sampled Polymarket markets.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/clob/markets.ts:42-57 (handler)MCP tool registration and handler for 'get_sampling_simplified_markets'
server.tool( "get_sampling_simplified_markets", "Get simplified view of currently sampled Polymarket markets.", {}, async () => { try { const data = await clob.getSamplingSimplifiedMarkets(); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] }; } catch (error) { return { content: [{ type: "text", text: `Error: ${(error as Error).message}` }], isError: true, }; } }, ); - src/api/clob.ts:66-72 (handler)Actual implementation of 'getSamplingSimplifiedMarkets' in the API client class.
async getSamplingSimplifiedMarkets(): Promise<ClobMarket[]> { return this.client.clob<ClobMarket[]>( "/sampling-simplified-markets", undefined, CACHE_TTLS.samplingMarkets, ); }