Skip to main content
Glama
CoinRithm

CoinRithm/coinrithm-agent-trading

Official

Prediction-market outcome price history

pm_data_price_history
Read-only

Fetch keyless probability price history for a binary market’s YES leg (or first live outcome) on Polymarket or Kalshi, with lookback and point limits.

Instructions

Free public native venue price history for ONE outcome of an event: the Yes leg of a binary market, else the first live outcome. The response names it in outcome. Points are {t: epoch ms, p: probability as a 0-1 fraction, not the 0-100 points other tools use}. Polymarket and Kalshi only: other venues return points: [], which means not served here, not no trading. interval is a lookback range and the venue picks the spacing; the result is evenly sampled to maxPoints (first and last kept) with the raw pointCount. No API key required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesEvent slug on that venue.
sourceYesVenue slug, as in pm_data_events rows.
intervalNoLookback range (default 1w).
maxPointsNoPoints to return, 2-1000 (default 200).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
bodyNo
httpStatusYes
ledgerStatusNo
ledgerEventIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.25

TDQS

A4.4/5.0
Behavior5/5

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

Adds substantial operational context beyond the read-only/open-world annotations: no API key required, empty-result meaning, interval-to-spacing behavior, evenly sampled maxPoints with first and last kept, and raw pointCount. This is exactly the kind of behavior an agent needs before calling the tool.

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?

A dense but front-loaded paragraph: purpose and core caveats come first, and each sentence carries unique operational information without padding. It is appropriately sized for the number of gotchas the tool has.

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?

For a 4-parameter read-only tool with an output schema and annotations, the description covers the key agent-facing details: outcome selection, point scale, venue support, empty-result meaning, sampling, and auth. Nothing essential to correct invocation appears missing.

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 coverage is 100%, so the baseline is 3. The description meaningfully extends the schema by clarifying that interval is a lookback range with venue-chosen spacing and that maxPoints controls even sampling with endpoints kept, adding practical semantics beyond the field descriptions.

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?

Names a specific resource and outcome scope: price history for ONE outcome, selecting the Yes leg of a binary market or the first live outcome. It does not explicitly name or differentiate from sibling price/volume tools, so it falls short of the 5-level sibling routing.

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 a clear when-not condition: Polymarket and Kalshi are supported, and other venues return an empty points array meaning not served here. It does not name alternative sibling tools for related needs, so it lacks the explicit alternative routing of a 5.

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