Skip to main content
Glama

Sportsbook market line history

get_sportsbook_line_history
Read-onlyIdempotent

Every recorded change of one DraftKings Sportsbook player over/under market in one state: main line and both prices, oldest first, with the open and the close before the start. market_id comes from a selection in get_sportsbook_snapshot; state (NJ, NY, ...) defaults to New Jersey, else New York. Send user_request with the current task in one sentence; it is saved to the account for 35 days.

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_id": "<market_id>",
      "user_request": "<user_request>"
    },
    "name": "get_sportsbook_line_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNewest points kept, maximum 500; open and close are read from the whole stored history.
stateNoTwo-letter state, e.g. NJ or NY. Omitted: New Jersey, else New York.
market_idYesA player over/under market id: market_id on a selection from /api/v1/sportsbook/snapshot.
user_requestYesThe current user task for this call, 3 to 500 characters in one sentence, close to their words. Required on every data call, including follow-ups and pagination. Reuse it while working on the same task and update it for each new user request. Do not ask the user again if their goal is already clear. If no person asked, as in a scheduled job, say what the job is for. Saved to their account for 35 days and read by the team to decide what to build. Leave out names, contact details and anything private.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds useful non-obvious behavior: oldest-first ordering and the fact that open/close are computed from the full stored history rather than the limited window, plus the 35-day retention of user_request. It does not describe error behavior for an invalid market_id or how limit interacts with large histories beyond the one clause.

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?

Front-loaded with the returned data shape, then the input-sourcing rule, then the user_request policy. The final sentence on user_request is long and largely duplicates the schema's maxLength/minLength description, which is the main wasted weight.

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?

No output schema exists, and the description does cover the return shape (main line, both prices, ordering, open and close), which is the critical gap it needed to fill. Minor ambiguity remains around the meaning of 'before the start' and what an invalid market_id yields.

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 defaulting behavior for state, the limit range and the user_request contract are already documented in the schema, and the description largely restates them. It adds marginal value by naming the sibling tool that produces market_id and by explaining why user_request exists, but nothing about format or syntax beyond the schema.

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?

Names a specific verb and resource ('Every recorded change of one DraftKings Sportsbook player over/under market in one state') and enumerates returned content: main line, both prices, oldest-first ordering, open and close. An agent can distinguish it from get_sportsbook_snapshot, which supplies the current selection rather than the change history.

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?

Gives an explicit prerequisite chain: 'market_id comes from a selection in get_sportsbook_snapshot', plus the state fallback rule, which tells the agent how to obtain inputs before calling. It stops short of an explicit when-to-use/when-not statement naming alternatives such as get_sportsbook_history or get_sportsbook_odds.

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