Skip to main content
Glama
fzlzjerry

polymarket-mcp

by fzlzjerry

polymarket_get_price_history

Read-only

Retrieve historical probability time-series for a Polymarket outcome token, with configurable intervals and timestamps.

Instructions

Historical probability time-series for one outcome token.

token_id is a CLOB token id (it maps to the misleadingly-named market param).

Args: interval: One of "1h", "6h", "1d", "1w", "1m" (1 month), "max", "all". Ignored when an explicit start_ts/end_ts range is given. fidelity: Resolution in minutes. Defaults to a safe value per interval (wider ranges require a higher minimum). start_ts/end_ts: Optional unix-second bounds (override interval).

Long series are downsampled to <=500 points (flagged in the result).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
token_idYes
intervalNo1d
fidelityNo
start_tsNo
end_tsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
token_idYes
intervalYes
countNo
downsampledNo
noteNo
pointsNo
Behavior4/5

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

Annotations already mark it as readOnly and openWorld. The description adds useful behavioral details: token_id is a CLOB token id, downsampling to ≤500 points, and that interval defaults to '1d'. 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is somewhat lengthy but well-structured: purpose first, then token_id note, then parameter details, then downsampling. Every sentence adds value, though it could be slightly condensed.

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 moderate complexity (5 params with interplay), the description covers all necessary aspects: parameter behavior, defaults, edge cases (downsampling), and result flag. Output schema exists, so return values need no explanation.

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?

With 0% schema description coverage, the description fully compensates by explaining each parameter: token_id, interval values, fidelity, and start_ts/end_ts. It provides context on their interactions and defaults.

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 it provides 'Historical probability time-series for one outcome token', directly indicating the tool's function and output. It distinguishes itself from sibling tools like polymarket_get_live_price by focusing on historical data.

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?

The description explains how to use parameters like interval and start_ts/end_ts, and notes that interval is ignored when explicit time bounds are given. It does not explicitly mention when not to use this tool, but the purpose is clear enough to guide selection.

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/fzlzjerry/polymarket-mcp'

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