Skip to main content
Glama

Pm History

pm_history
Read-only

Fetches historical price points for a Polymarket outcome token across standard intervals (1h, 6h, 1d, 1w, max) or with custom fidelity. Timestamps formatted in ISO. Maximum 1,000 points. Information only, not financial advice. Price: $0.003 in USDC per successful call, paid with x402 (Base, Solana or Arc); failed calls are not charged.

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum data points to return (max 1000)
tokenIdYesOutcome CLOB token ID (numeric string)
fidelityNoMinutes between points, 1 to 1440 (e.g. 60 for hourly); default: Polymarket's own resolution for the interval
intervalNoTime interval: 1h, 6h, 1d, 1w, or max

Output Schema

NameRequiredDescriptionDefault
sourceNo
historyNo
tokenIdNo
intervalNo
checkedAtNo
truncatedNo
disclaimerNo
pointsCountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / truncated
      Added value: +{}
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only cover readOnlyHint and openWorldHint; the description adds genuinely new behavioral context: x402 payment mechanics, the $0.003 USDC cost per successful call, that failed calls are free, the 1,000-point cap, and ISO timestamp formatting. This is meaningful disclosure beyond the annotations, though it doesn't cover rate limits or error behavior.

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?

Front-loaded with the core action and scoping, then layers on limits, formatting, and pricing. Reasonably tight, though the 'Information only, not financial advice' clause is boilerplate that consumes space without aiding invocation.

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?

With an output schema present, return-value explanation is unnecessary, and the description adequately covers cost, payment chain, caps, and timestamp format. It is nearly complete for a read-only price-history call, missing only guidance on interval/fidelity trade-offs and failure modes.

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 all four parameters (tokenId, limit, fidelity, interval) are already documented in the schema, including the interval enum values and fidelity default. The description restates the interval set and the point cap but adds no syntax or edge-case detail beyond the schema, so baseline 3 applies.

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?

States a specific verb (fetches), resource (historical price points), and scope (Polymarket outcome token), which cleanly separates it from siblings like pm_orderbook, pm_trades, or pm_resolved. It stops short of naming those alternatives, so it's clear but not sibling-differentiating.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when to reach for it (historical price series for a token) but never states when-not to use it or points to alternatives such as pm_orderbook for current depth or pm_trades for fills. Usage is inferred from the resource name rather than guided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources