Skip to main content
Glama
draftkingsapi-mcp

draftkingsapi-mcp

DFS players and salaries

get_dfs_players
Read-onlyIdempotent

Retrieves DraftKings DFS players for current slates, including salary, roster position, team, and game, with optional filters for slate, sport, team, and player name.

Instructions

DraftKings DFS players for current slates: salary, roster position, team and game. One athlete can have several rows, one per lineup slot. A salary is a lineup budget value, not a price or a betting line. 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_dfs_players"
  }
}

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.
teamNoPart of a team name or abbreviation.
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.
searchNoPart of a player name.
slate_idNoslate_id from get_dfs_slates. Omit for every current slate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 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."
    • 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."
    • addedInput schema / properties / search / description
      Added value: +"Part of a player name."
    • addedInput schema / properties / slate_id / description
      Added value: +"slate_id from get_dfs_slates. Omit for every current slate."
    • 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."
    • addedInput schema / properties / team / description
      Added value: +"Part of a team name or abbreviation."
  2. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, non-destructive, idempotent, and open-world, so the safety profile is covered. The description adds real value beyond that: authentication requirement with a sign-up URL, per-row billing and a cross-reference to get_credit_costs, and the key non-obvious fact that one athlete yields several rows (one per lineup slot). Rate limits or pagination behavior beyond the schema are not discussed.

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?

Four compact sentences, front-loaded with what the tool returns, followed by the row-multiplicity caveat, the salary-semantics caveat, and the auth/billing prerequisites. No sentence is redundant.

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 no output schema, the description does the heavy lifting on return semantics (fields, row-per-slot multiplicity, salary meaning) and also covers auth and billing. It stops short of describing pagination flow or the exact response envelope, though cursor is documented in 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 description coverage is 100%, so the schema already explains every parameter, including the billing implication of limit and the provenance of slate_id and cursor. The description's salary clarification concerns output semantics rather than parameters, so it adds little parameter-specific meaning beyond the schema; baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (DraftKings DFS players for current slates) and enumerates the returned fields: salary, roster position, team, game. It references get_dfs_slates as the source of slate_id, which hints at the sibling relationship, but never explicitly states what this tool is not (e.g., vs. get_dfs_contests or get_compare).

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 clear usage context: needs DRAFTKINGS_API_KEY, slate_id comes from get_dfs_slates, omit slate_id for every current slate, and cost is per row with a pointer to get_credit_costs. It lacks explicit when-not-to-use or exclusion guidance against other DFS endpoints.

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