Skip to main content
Glama

PropLine — Sports Betting Odds & Prop Resolution

Get order-book depth history

propline_get_depth_history
Read-onlyIdempotent

Hobby+ endpoint. Order-book depth history for one event on the exchanges (kalshi, polymarket, polymarket_us, prophetx): every recorded change of an outcome's best price, takeable size (liquidity, dollars) and the levels beyond it (depth: [{price, size}], best first). Use it to backtest with the size that was really there. Recorded from 2026-11-10. Paged: when next_from is set, call again with from=next_from. Free tier returns redacted structure.

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": {
      "sport_key": "<sport_key>",
      "event_id": "<event_id>"
    },
    "name": "propline_get_depth_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoISO timestamp; states at or before.
fromNoISO timestamp; states at or after. Pass next_from here to page.
limitNoStates per page (default 5000, max 20000).
periodNoGame-period filter; omitted = full game, 'all' = every period.
marketsNoComma-separated market keys (default h2h,spreads,totals).
event_idYes
intervalNoKeep the last state per outcome per bucket.
sport_keyYes
bookmakersNoComma-separated subset of kalshi, polymarket, polymarket_us, prophetx. Default all four.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description genuinely adds beyond them: the Hobby+ tier requirement, the 2026-11-10 recording start (data does not exist before then), the paging loop, and free-tier redaction of the structure. It does not say whether redacted free-tier results are still pageable or how large a full history can be.

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?

Information is front-loaded: endpoint tier, then what is recorded, then the use case, then paging caveats. Sentences are dense but each carries distinct content; the exchange list and the depth shape appear twice in spirit (once in prose, once in schema), which is minor redundancy.

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?

For a 9-parameter historical-read tool with no output schema, the description covers the return shape (depth array, best first), pagination mechanics, coverage start date, and tier gating. Remaining gaps are the response's next_from field name in context and how to detect end-of-pagination, which an agent would have to infer.

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 78%, so most parameters are already documented, and the description adds the key non-schema semantic that next_from is a response field to be fed back into from. It adds nothing about interval bucketing, period, markets, limit tradeoffs, or which exchange keys are valid beyond repeating the bookmaker list.

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 resource (order-book depth history) and enumerates exactly what is captured: best price, takeable size in dollars, and the levels beyond it with the [{price, size}] shape. That content is clearly distinct from odds-history or best-line siblings, though the description never names an alternative to route the agent away from.

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?

"Use it to backtest with the size that was really there" gives a concrete motivating scenario, and "Hobby+ endpoint" plus the free-tier redaction note tell the agent about access constraints before calling. It stops short of explicit when-not guidance or naming a sibling tool for simpler price-only history.

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.