Skip to main content
Glama
draftkingsapi-mcp

draftkingsapi-mcp

Sportsbook odds

get_odds
Read-onlyIdempotent

Retrieve current DraftKings Sportsbook prices by event and market, including American and decimal odds, capture age, stale flags, and cursor pagination for checking live prices.

Instructions

Latest captured DraftKings Sportsbook prices (American and decimal odds) by event and market, each row with capture time, age and a stale flag. Use it for the current price; use get_odds_history for earlier prices, get_compare_books to see other books on the same line. Paginate with cursor. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up); billed per row, see get_credit_costs.

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_odds"
  }
}

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.
limitNoRows to return, 1 to 100. Smaller pages cost fewer credits.
sportNoSport code in upper case, for example NFL, NBA, NHL, MLB, NCAAF, NCAAB, SOCCER. Omit for every sport.
cursorNoOpaque pagination.next_cursor from the previous page, passed unchanged. Omit for the first page.
marketNomoneyline, spread, total or a player prop market name.
statusNoGame state: pre (not started), in (live), post (final). Omit for all.
event_idNoOne event's event_id, from get_sportsbook_events or a previous row.
fresh_onlyNotrue drops rows whose capture is older than the freshness window (each row carries age and stale flags).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • changedInput schema / properties / cursor / description
      Previous value: -"pagination.next_cursor from the previous page, unchanged."New value: +"Opaque pagination.next_cursor from the previous page, passed unchanged. Omit for the first page."
    • addedInput schema / properties / event_id / description
      Added value: +"One event's event_id, from get_sportsbook_events or a previous row."
    • addedInput schema / properties / fresh_only / description
      Added value: +"true drops rows whose capture is older than the freshness window (each row carries age and stale flags)."
    • changedInput schema / properties / limit / description
      Previous value: -"Rows to return, at most 100."New value: +"Rows to return, 1 to 100. Smaller pages cost fewer credits."
    • changedInput schema / properties / market / description
      Previous value: -"moneyline, spread, total or a prop market."New value: +"moneyline, spread, total or a player prop market name."
    • changedInput schema / properties / sport / description
      Previous value: -"Sport code in upper case, for example NFL, NBA, NHL, MLB, NCAAF, NCAAB, SOCCER."New value: +"Sport code in upper case, for example NFL, NBA, NHL, MLB, NCAAF, NCAAB, SOCCER. Omit for every sport."
    • addedInput schema / properties / status / description
      Added value: +"Game state: pre (not started), in (live), post (final). Omit for all."
    • 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.5/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds substantive context beyond them: row-level shape (capture time, age, stale flag), an auth requirement with a sign-up URL, per-row credit billing with a pointer to get_credit_costs, and cursor pagination. These are the operational facts an agent actually needs before calling.

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 resource and row shape, then routing, then pagination, then operational prerequisites. Four dense sentences with almost no waste, though the sign-up URL and billing note in the same sentence run slightly long for a description.

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, so the description carries the burden of describing returns, and it does so partially ('each row with capture time, age and a stale flag', plus odds formats). Auth, billing, and pagination are covered; error behavior and full return field list are not, which is a minor gap for an 8-parameter tool.

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% and every parameter, including the enum for status and the max for limit, is already documented in the schema. The description reinforces the cursor-pagination and 'latest/current' semantics but adds little meaning beyond what the schema already conveys; 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 ('Latest captured DraftKings Sportsbook prices ... by event and market') with concrete scope qualifiers and names the sibling tools it is not (get_odds_history, get_compare_books). An agent can distinguish this tool from its neighbors without opening 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 Guidelines5/5

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

Explicitly says 'Use it for the current price' and then routes the agent elsewhere for the two obvious alternatives: earlier prices (get_odds_history) and other books on the same line (get_compare_books). This is explicit when-to-use plus when-to-use-something-else guidance.

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