Skip to main content
Glama

market_history

Read-only

How one prediction market's odds moved over the last day, week, month or its whole life: start and end probability, the change, the high and low with their times, and a timeline.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "market": "<market>"
    },
    "name": "market_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
marketYesA Polymarket link or slug (polymarket.com/event/...), or a Kalshi link or ticker (e.g. KXFEDDECISION-26DEC-H25)
intervalNoDefault 1w

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is known and the description only needs to add context. It does add useful shape to the result (which stats and that a timeline is included) but says nothing about resolution granularity, rate limits, or failure behavior for an invalid market reference.

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?

One front-loaded sentence that leads with the resource and scope, then enumerates outputs with no filler or repetition. Nothing in it is redundant with the title or annotations.

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 no output schema, the description carries the burden of describing return values and does so well, and annotations cover the safety profile. The remaining gap is small: nothing about how markets are resolved when a link/slug is ambiguous, which matters for a tool whose only required input is a free-form identifier.

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%, so the baseline is 3: the schema already explains that market accepts a Polymarket link/slug or Kalshi link/ticker and that interval defaults to 1w. The description only reinforces the interval meanings ('last day, week, month or its whole life'), adding no syntax or edge-case detail beyond the schema.

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?

The description states a specific resource and scope: one prediction market's odds history across 1d/1w/1m/max, plus exactly which values come back (start/end probability, change, high/low with times, timeline). It is clearly a historical series rather than a snapshot, which implicitly separates it from market_odds, but it never names that sibling or otherwise makes the distinction explicit.

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

Usage Guidelines2/5

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

There is no statement of when to call this versus market_odds or market_search, no preconditions, and no caveats such as what happens if the market string is ambiguous or unresolvable. The interval options hint at use cases (short-window vs whole-life analysis) but that is inferred, not stated.

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