Skip to main content
Glama
draftkingsapi-mcp

draftkingsapi-mcp

Player box scores

get_stats_player_games
Read-onlyIdempotent

Retrieve player game logs and box score lines by sport and season to check how a player performed against a betting line; paginate results with the after cursor.

Instructions

Player game logs (box score lines) for a sport and season from independent ESPN statistics, to check how a player did against a line. Retained samples, not a full-season feed or bet settlement; an empty page says available=false. For team scores use get_stats_games. Paginate with after. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up); billed per row, see get_credit_costs.

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": "<sport>",
      "season": "<season>"
    },
    "name": "get_stats_player_games"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskNoOptional, never a filter: the user's task in one plain sentence, with no personal data or secrets. Logged for 35 days to guide what the API builds next.
afterNoResume point: pagination.next or next_after from the previous page, unchanged, or 'latest' to start at the newest change.
limitNoRows to return, 1 to 200. Smaller pages cost fewer credits.
sportYesSport code.
seasonYesSeason year: NFL and NCAAF use the starting year, NBA and NHL the ending year (2026 for 2025-26).
team_idNoOne team's id from a previous row.
event_idNoOne game's event_id.
athlete_idNoOne athlete's id from a previous row.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • changedInput schema / properties / after / description
      Previous value: -"pagination.next / next_after from the previous page, or 'latest'."New value: +"Resume point: pagination.next or next_after from the previous page, unchanged, or 'latest' to start at the newest change."
    • addedInput schema / properties / athlete_id / description
      Added value: +"One athlete's id from a previous row."
    • addedInput schema / properties / event_id / description
      Added value: +"One game's event_id."
    • changedInput schema / properties / limit / description
      Previous value: -"Rows to return, at most 200."New value: +"Rows to return, 1 to 200. Smaller pages cost fewer credits."
    • changedInput schema / properties / season / description
      Previous value: -"Season year, for example 2026."New value: +"Season year: NFL and NCAAF use the starting year, NBA and NHL the ending year (2026 for 2025-26)."
    • addedInput schema / properties / sport / description
      Added value: +"Sport code."
    • changedInput schema / properties / task / description
      Previous value: -"Optional: the user's task in one plain sentence, nothing personal. Helps the API return what fits."New value: +"Optional, never a filter: the user's task in one plain sentence, with no personal data or secrets. Logged for 35 days to guide what the API builds next."
    • addedInput schema / properties / team_id / description
      Added value: +"One team's id from a previous row."
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare read-only/idempotent/open-world safety, but the description adds material behavior the annotations cannot convey: sample retention rather than a full-season feed, that an empty page signals available=false, that a DRAFTKINGS_API_KEY is required with a sign-up URL, and that calls are billed per row. These are exactly the operational facts an agent needs before invoking a paid, credentialed read.

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 what the tool returns and its primary use case, then constraints, then the alternative and the billing/auth note. Dense semicolon-chained clauses pack several ideas per sentence, but every clause carries weight; the free-key URL and the credit-cost pointer are actionable rather than filler.

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 8 parameters, no output schema, and only safety annotations, the description does the heavy lifting on auth, cost, result-set semantics, and sibling routing. The remaining gap is return shape — box score fields and what a row contains are only gestured at, and the three id filters are left to the schema.

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 100%, so the schema already documents sport/season/limit/after and the id filters, and the description largely restates pagination behavior. It does not explain the athlete_id/team_id/event_id filters or how they relate to each other, so it adds only marginal meaning beyond the schema — the baseline 3 applies.

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?

States a specific verb+resource: "Player game logs (box score lines) for a sport and season from independent ESPN statistics," plus the concrete use case ("to check how a player did against a line"). It also names the scope boundary against the sibling by saying "For team scores use get_stats_games," so an agent can route without opening either schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use (player-level line checks), explicit when-not ("not a full-season feed or bet settlement"), an explicit alternative for the team-level case (get_stats_games), and a cost reference (get_credit_costs). Pagination guidance ("Paginate with after") tells the agent how to continue a result set.

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