Skip to main content
Glama
draftkingsapi-mcp

draftkingsapi-mcp

Arbitrage and middles

get_arbitrage
Read-onlyIdempotent

Find cross-book arbitrage and middles across DraftKings, FanDuel and Novig. Returns profit percent, the stake split that pays the same either way, and the window where both middle legs win.

Instructions

Cross-book opportunities across DraftKings, FanDuel and the Novig exchange. type=arbitrage: two legs at different venues that cover both outcomes for less than they pay, with profit percent and the stake split that returns the same either way (Novig legs at the ask, fees included). type=middles: an over at one book and an under at a higher line elsewhere, with the window where both legs win. Use get_ev for one-sided value instead. Developer plan and up; a Free key gets three sample rows and an upgrade link, at no cost. 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_arbitrage"
  }
}

Input Schema

NameRequiredDescriptionDefault
bookNoOnly rows with a leg at one of these books, comma list: dk, fd, br.
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.
typeNoarbitrage (default) or middles.
limitNoRows to return, 1 to 200. Smaller pages cost fewer credits.
leagueNoLeague code, for example NBA, NFL, NHL, NCAAF, NCAAB, MLB, EPL. Omit for every league.
offsetNoRows to skip for the next page (0 for the first page).
min_profitNoMinimum guaranteed profit, in percent of total stake (arbitrage only).
market_typeNoMarket family. Omit for all four.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / properties / book
      Added value: +{
      +  "description": "Only rows with a leg at one of these books, comma list: dk, fd, br.",
      +  "type": "string"
      +}
    • addedInput schema / properties / league / description
      Added value: +"League code, for example NBA, NFL, NHL, NCAAF, NCAAB, MLB, EPL. Omit for every league."
    • 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 / market_type / description
      Added value: +"Market family. Omit for all four."
    • addedInput schema / properties / min_profit / description
      Added value: +"Minimum guaranteed profit, in percent of total stake (arbitrage only)."
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "Rows to skip for the next page (0 for the first page).",
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • 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 / type / description
      Added value: +"arbitrage (default) or middles."
  2. First observedv0.1.0

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, so the safety profile is covered. The description adds real behavioral context beyond them: a Developer plan requirement, a three-row cap with an upgrade link for Free keys, a required DRAFTKINGS_API_KEY with a signup URL, and per-row billing pointed at get_credit_costs. That is genuinely useful gating and cost information, though it does not describe row shape or pagination behavior.

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?

Dense and front-loaded: purpose, then the two modes, then the sibling alternative, then plan and auth constraints. Every sentence carries functional information, though the signup URL and plan details make the closing run long and slightly harder to scan than the opening.

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?

For an eight-parameter, zero-required, open-world tool with no output schema, the description covers mode semantics, units (profit in percent of stake), and access/cost gating. The main gap is the absence of any account of row contents or pagination, which matters given there is no output schema to fall back on.

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 baseline applies and the schema already documents all eight parameters. The description nonetheless adds meaning beyond the enum labels by explaining what each type yields (profit percent plus the stake split; the window where both legs win) and by noting Novig legs are priced at the ask with fees included. It does not touch book codes, limit, offset, or min_profit semantics.

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 ('Cross-book opportunities') and pins the venues (DraftKings, FanDuel, Novig). It then defines the two modes with a precise verb-plus-payload account, so an agent can distinguish arbitrage from middles without opening the 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 routes the agent: 'Use get_ev for one-sided value instead,' and gives the condition that selects each mode ('two legs at different venues...' vs 'an over at one book and an under at a higher line'). Mode selection and the alternative are both spelled out.

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