Skip to main content
Glama
getodds-mcp

getodds-mcp

Official

Retained price changes for an event or offer

get_line_history
Read-onlyIdempotent

Track how a DraftKings line has moved by event or offer ID, returning retained price changes with capture times, newest first. Use it to answer "how has this line moved" for a market.

Instructions

Every retained DraftKings (via ESPN) price change for one event or one offer, newest first, each with its capture time. Use it for "how has this line moved"; pass event_id or offer_id (one is required) from search_events or get_odds. Captured changes only, not a complete tick tape: gaps are not reconstructed. Needs GETODDS_API_KEY.

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": "get_line_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRows to return, 1 to 200 (default 25).
marketNoMarket: moneyline, spread or total. Omit for all three.
event_idNoOne event_id from search_events or get_odds. Pass this or offer_id.
offer_idNoOne offer_id from a get_odds row, to follow a single market side.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / event_id / description
      Added value: +"One event_id from search_events or get_odds. Pass this or offer_id."
    • addedInput schema / properties / limit / description
      Added value: +"Rows to return, 1 to 200 (default 25)."
    • addedInput schema / properties / market / description
      Added value: +"Market: moneyline, spread or total. Omit for all three."
    • addedInput schema / properties / offer_id / description
      Added value: +"One offer_id from a get_odds row, to follow a single market side."
  2. First observedv0.1.1

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses result ordering (newest first), per-row capture time, data provenance (DraftKings via ESPN), the retention/completeness limitation (captured changes only, no gap reconstruction), and an auth requirement (GETODDS_API_KEY). These are exactly the traits an agent cannot infer from annotations.

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?

Three tight sentences with no filler: what it returns first, then how to call it, then the caveat. The main limitation is front-loaded rather than buried.

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 read-only history tool with no output schema, it covers scope, ordering, row content (capture time), the required-id rule, the incompleteness caveat, and auth. Pagination limits and market filtering are handled by a fully described schema, so little an agent needs is 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 baseline is 3, but the description adds a genuinely load-bearing rule the schema omits: the schema lists zero required parameters while the prose states one of event_id or offer_id is required. It also clarifies offer_id as following a single market side, which the schema only implies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource (retained DraftKings-via-ESPN price changes), the exact scope (one event or one offer), and the ordering (newest first). The framing 'how has this line moved' cleanly separates it from a snapshot tool like get_odds without needing to open a schema.

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?

It gives an explicit use case ('how has this line moved') and states that event_id or offer_id must come from search_events or get_odds, plus a clear when-not caveat that this is not a complete tick tape and gaps are not reconstructed. It stops short of explicitly naming the snapshot alternative to use instead when the caller wants current prices only.

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