Skip to main content
Glama
AlgoChains

AlgoChains MCP Server

Official
by AlgoChains

get_polymarket_market_history

Read-onlyIdempotent

Retrieve historical YES price data for Polymarket markets. Analyze probability movement, market efficiency, and smart money flow timing with timestamped price series.

Instructions

Get historical YES price data for a specific Polymarket market. Returns timestamped price series. Accepts slug, Gamma numeric ID, or CLOB token ID — auto-resolves. Useful for charting probability movement, analyzing market efficiency, and detecting smart money flow timing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
timeframeNo1d=10min candles, 7d=1h candles, 30d/all=daily candles7d
market_id_or_slugYesPolymarket slug, numeric Gamma ID, or CLOB YES token ID
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive. Description adds valuable behavioral details: multiple accepted ID types (slug, Gamma ID, CLOB token) and auto-resolution. No contradiction with annotations.

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?

Two sentences with no wasted words. Front-loaded with primary action, followed by parameter detail and use cases. Highly efficient.

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 2-parameter tool with no output schema, description covers main functionality, ID resolution, and use cases. Could specify exact output format (e.g., array of {timestamp, price}) but still fairly complete.

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 covers 100% of parameters. Description adds meaning to market_id_or_slug by explaining it accepts three formats and auto-resolves. Timeframe parameter refers to schema description for candle intervals, but overall adds value.

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?

Clearly states verb 'Get', resource 'historical YES price data', and scope 'for a specific Polymarket market'. Distinguishes from sibling tools like get_polymarket_market by focusing on history and price series.

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 explicit use cases: charting, efficiency analysis, smart money flow timing. Lacks explicit when-not-to-use or alternatives, but context is clear enough.

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/AlgoChains/algochains-mcp-server'

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