Skip to main content
Glama
draftkingsapi-mcp

draftkingsapi-mcp

Sample rows (keyless)

get_demo_sample
Read-onlyIdempotent

Preview one dataset's response shape and field names with frozen sample rows, so you can plan a keyed call or write parsing code. Fixtures only, not current lines or prices.

Instructions

Frozen sample rows that show one dataset's response shape and field names, so you can plan a keyed call or write parsing code. The rows are frozen or invented fixtures: never present them as current lines or prices. No key and no credits; delayed and capped, 60 requests a minute per address.

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": {
      "dataset": "<dataset>"
    },
    "name": "get_demo_sample"
  }
}

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.
datasetYesDataset whose sample to return; each matches a keyed tool (pick6 = get_pick6_projections, odds = get_odds, and so on).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / dataset / description
      Added value: +"Dataset whose sample to return; each matches a keyed tool (pick6 = get_pick6_projections, odds = get_odds, and so on)."
    • 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 / 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."
    • 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?

Beyond the readOnly/idempotent annotations, the description discloses that data is frozen or invented fixtures, that responses are delayed and capped, and that the rate limit is 60 requests per minute per address. These are exactly the operational and trust caveats an agent needs and that annotations cannot convey.

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, front-loaded with what the tool returns, followed by the trust caveat and the cost/rate constraints. No sentence is filler.

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 keyless sample tool with no output schema, the description covers what is returned, its reliability limits, cost, and rate limits. Nothing an agent needs to call it correctly or interpret the response 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 description coverage is 100%, so each parameter including the dataset enum and the task/limit fields is already documented. The description only reinforces that a single dataset's shape is returned, adding no syntax or format detail beyond the schema, 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?

"Frozen sample rows that show one dataset's response shape and field names" gives a specific verb-like action and resource, and immediately distinguishes it from the keyed siblings by stating its purpose is to plan a keyed call or write parsing code. An agent can tell this apart from get_odds or get_stats_games 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 Guidelines4/5

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

It states the use case (plan a keyed call, write parsing code) and two explicit exclusions: never present rows as current lines or prices, and no key or credits required. It does not name a specific sibling keyed tool to use for real data, but the dataset enum already maps datasets to those tools, so the guidance is clear if not fully routed.

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