Skip to main content
Glama
draftkingsapi-mcp

draftkingsapi-mcp

Game results

get_stats_games
Read-onlyIdempotent

Retrieve game results by sport and season, including teams, final or current score, and state, from ESPN statistics. Paginate with after; check available=false for empty samples.

Instructions

Game results (teams, final or current score, state) for a sport and season from independent ESPN statistics. Retained samples, not a full-season feed or bet settlement; an empty page says available=false. For per-player lines use get_stats_player_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_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).
event_idNoOne game's event_id.
completedNotrue for finished games only, false for unfinished.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 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 / completed / description
      Added value: +"true for finished games only, false for unfinished."
    • 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."
    • addedInput schema / properties / season / description
      Added 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."
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the read-only, idempotent, non-destructive profile, and the description adds real behavior beyond them: sampled rather than complete data, an empty page signaled by available=false, cursor pagination via after, a required DRAFTKINGS_API_KEY, and per-row billing. The only gap is that it doesn't characterize rate limits or how large a sample typically is.

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, then constraints, then alternatives, then auth and billing — a sensible order with no filler sentences. The sign-up URL and credit note are slightly verbose but arguably load-bearing for first-time callers.

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 seven-parameter read tool with no output schema, the description covers the return shape, the empty-result signal, pagination mechanics, auth prerequisites, cost model, and scope exclusions. Nothing an agent needs to invoke it correctly is missing.

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 season-year convention, sport enum, after cursor, limit range, and completed filter are all already documented. The description adds no parameter detail beyond restating the after-pagination hint, so 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 and resource — game results for a sport and season — and enumerates the payload (teams, final or current score, state). It also names the sibling it is not (get_stats_player_games), so an agent can distinguish it 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 boundaries: retained samples rather than a full-season feed, not for bet settlement, and per-player lines belong to get_stats_player_games. It also routes billing questions to get_credit_costs, which is the right alternative for cost decisions.

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