Skip to main content
Glama

pm_price_history

Fetch Polymarket market price history as time-series data for trend analysis, with configurable interval and time range.

Instructions

Get price history for a Polymarket market. Returns time series data for trend analysis.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "pm_price_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNoMarket slug (e.g., "russia-ukraine-ceasefire-before-gta-vi-554")
fidelityNoData point interval in minutes: 1, 5, 15, 60, 360, 1440 (default: 60)
intervalNoTime range: 1d, 1w, 1m, 3m, max (default: 1w)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses that the response is a time series, which is useful, but says nothing about authentication requirements, rate limits, empty/missing data behavior, or how the granularity and range interact. For an unannotated tool, that leaves significant behavioral gaps.

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?

Two short sentences with the action front-loaded and no padding. The second sentence earns its place by disclosing the return shape, though it is close to redundant with the first.

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?

This is a simple three-parameter read tool with no required arguments and no output schema, and the description covers purpose and return type. It still omits practical details an agent would want, such as whether the slug must be discovered via search_markets first and whether results are truncated or paginated. Adequate but not fully complete.

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 100%, with each of slug, fidelity, and interval documented including a slug example, allowed fidelity values, and defaults. The description adds no parameter meaning beyond the schema, so the baseline of 3 applies. It could have explained how fidelity and interval interact, which the schema does not.

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 and resource: 'Get price history for a Polymarket market.' That is unambiguous and distinguishable from market/order/position siblings by the resource named. It stops short of naming a contrasting sibling, but no sibling in the list obviously overlaps with price history, so the risk of misselection is low.

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?

Usage is only implied by the trailing clause 'for trend analysis', which suggests charting/analytics rather than raw lookups. There is no explicit when-to-use or when-not-to-use guidance, no mention of how it differs from related reads such as wm_get_token_chart or get_market, and no stated prerequisites.

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