Skip to main content
Glama

Historical prices

get_price_history

Fetch historical price series for outcome tokens, supporting sub-minute resolution and alignment with order book depth for market analysis.

Instructions

Price series per outcome token over time. Prices are probabilities in [0, 1].

Polymarket serves its own price history down to 1-minute buckets and that is free — use this tool when you need finer than a minute, or when you want prices aligned to the same timeline as order book depth. For 1-minute or coarser history alone, Polymarket's public API is equivalent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoDefault 100, max 200
cursorNo
end_tsYesISO-8601 UTC, e.g. 2026-08-23T14:00:00Z
start_tsYesISO-8601 UTC, e.g. 2026-08-23T14:00:00Z
id_or_slugYesMarket slug
resolutionNoDefaults to 1m
Behavior4/5

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

Without annotations, the description carries full behavioral burden. It adds meaningful context: price is in [0,1] probability, the tool provides sub-minute precision, and the data is aligned to order book depth. It does not describe output pagination or exact return shape, but not a keiner gap for this read-only price data tool.

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 concise and front-loaded with the core purpose. It is slightly verbose in the comparison sentence, but every clause adds value to the stories all relevant decision and semantic information. Might be trimmed slightly without losing content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description handles when-to-use and data semantics well, but there is no output schema and no description of return-format details such as the list structure of per-outcome price points, cursor pagination behavior, or limit implications. Input parameters are well covered in the schema, so not critical, but the absent output narrative leaves some room for ambiguity.

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 description coverage is 83%, so by baseline it is a 3. The description adds no direct parameter-specific details beyond implying fine-grained resolution; the input schema already covers parameter defaults, limits, ISO timestamps, and resolution enum.

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?

States the resource (outcome token price series over time) and core semantic (prices are probabilities). It distinguishes the tool from Polymarket's public API and implicitly from siblings by focusing on finer-than-minute history and alignment with vibrancy and order-book timeline.

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 identifies when to use this tool: finer than one-minute buckets, or timelines aligned to order book depth. It also says not to use it for 1-minute or coarser history alone, directing to the Polymarket public API as an equivalent alternative.

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

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