Skip to main content
Glama
draftkingsapi-mcp

draftkingsapi-mcp

Credit costs (keyless)

get_credit_costs
Read-onlyIdempotent

Estimate API credit spend before running large keyed reads. Returns per-100-row credit costs for each path, or the total cost for one path at a given row count.

Instructions

How many credits each API path costs per 100 rows, or the cost of one path at a given row count. Call it before a large keyed read to estimate spend. No key and no credits; delayed and capped, 60 requests a minute per address.

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

Input Schema

NameRequiredDescriptionDefault
pathNoAn API path such as /api/v1/odds. Omit for the whole table.
rowsNoRow count to price for that path.
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / path / description
      Previous value: -"An API path such as /api/v1/odds."New value: +"An API path such as /api/v1/odds. Omit for the whole table."
    • addedInput schema / properties / rows / description
      Added value: +"Row count to price for that path."
    • 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.6/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 no key or credits are consumed, that responses are delayed and capped, and that the limit is 60 requests per minute per address. Rate-limit and latency disclosure is exactly the operational context annotations cannot carry.

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 sentences, each earning its place: what it returns, when to call it, and the operational constraints. The core purpose is front-loaded with no filler.

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 still conveys the shape of the answer (per-path cost per 100 rows, or a single path's cost at a row count). Only the exact response format for the whole-table mode is left implicit, a minor gap for a simple read-only lookup.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: it explains the interaction between path and rows (omit path for the whole table, supply rows to price one path) and establishes the per-100-rows unit that the schema never states. The task parameter's logging behavior is left to the schema, which already documents it.

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?

The description states a specific verb and resource — credit cost per API path per 100 rows — and covers both modes (whole table vs. one path at a given row count). It is clearly distinguishable from every sibling, which are all data-retrieval tools rather than a pricing lookup.

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?

"Call it before a large keyed read to estimate spend" gives an explicit trigger condition and the reason for using it. It does not name a specific alternative tool, but the when-to-use context is unambiguous and no exclusion is needed for a read-only pricing endpoint.

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