Skip to main content
Glama
underdog-api-mcp

underdog-api-mcp

Official

Graded results

get_results
Read-onlyIdempotent

Grade player prop lines against final box scores to see the closing line, actual stat, and whether it settled Higher, Lower, or void. Filter by league, date, stat, player, or outcome, or pull one player's hit rates.

Instructions

Reviewed lines graded against the final box score: closing line, actual stat, and Higher, Lower or void (ties void). Use it to check how lines settled; get_hit_rates summarises one player. Paid plans; a Free key gets a labelled sample and the upgrade link (HTTP 402). Needs UNDERDOG_API_KEY (free key, no card, at https://underdogapi.com/sign-up); without one it returns the sign-up link and spends nothing.

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

Input Schema

NameRequiredDescriptionDefault
dateNoGame date YYYY-MM-DD, US Eastern.
statNoExact machine stat slug, for example points, rebounds or passing_yards (get_coverage lists them).
limitNoRows per page, 1 to 200.
cursorNometa.next_cursor from the previous page, sent with the same filters. Omit for the first page.
leagueNoSport code in upper case from get_coverage, for example NBA, NFL, NHL, CBB, CFB, TENNIS, CS; comma-separate several. Omit for all.
playerNoPlayer name, case-insensitive.
resultNoOnly this outcome: higher, lower or void.
player_idNoPublic player id from a previous row.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • changedInput schema / properties / cursor / description
      Previous value: -"meta.next_cursor from the previous page, with the same filters"New value: +"meta.next_cursor from the previous page, sent with the same filters. Omit for the first page."
    • changedInput schema / properties / date / description
      Previous value: -"US Eastern date YYYY-MM-DD"New value: +"Game date YYYY-MM-DD, US Eastern."
    • changedInput schema / properties / league / description
      Previous value: -"League code from get_coverage, for example NBA, NFL, NHL, CBB, CFB, TENNIS, CS"New value: +"Sport code in upper case from get_coverage, for example NBA, NFL, NHL, CBB, CFB, TENNIS, CS; comma-separate several. Omit for all."
    • changedInput schema / properties / limit / description
      Previous value: -"Rows per page"New value: +"Rows per page, 1 to 200."
    • changedInput schema / properties / player / description
      Previous value: -"Player name"New value: +"Player name, case-insensitive."
    • addedInput schema / properties / player_id
      Added value: +{
      +  "description": "Public player id from a previous row.",
      +  "type": "string"
      +}
    • changedInput schema / properties / result / description
      Previous value: -"higher, lower or void"New value: +"Only this outcome: higher, lower or void."
    • addedInput schema / properties / result / enum
      Added value: +[
      +  "higher",
      +  "lower",
      +  "void"
      +]
    • changedInput schema / properties / stat / description
      Previous value: -"Stat slug"New value: +"Exact machine stat slug, for example points, rebounds or passing_yards (get_coverage lists them)."
  2. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent/non-destructive, but the description adds substantial context they cannot express: paid-plan gating, a Free key returning a labelled sample plus upgrade link with HTTP 402, the required UNDERDOG_API_KEY env var, and that an unauthenticated call spends no credits. That is exactly the operational behavior an agent 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 core meaning in the first sentence, then the alternative, then the paywall/auth caveats in descending priority. It is dense but nearly every clause carries unique information; the sign-up URL and 402 detail make the tail slightly heavy.

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 8-parameter, fully optional filter tool with no output schema, the description covers the row shape, auth, paywall behavior, and points at get_coverage for league/stat slugs. Pagination and cursor behavior are left to the schema, which is acceptable given the schema's explicit cursor description.

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 date, stat, league, player, limit, cursor, result and player_id are all self-documenting; baseline 3 applies. The only genuine addition is 'ties void', which explains the void enum member — a small but real semantic gain over the schema.

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?

Opens with a specific verb+resource ('Reviewed lines graded against the final box score') and enumerates exactly what each row contains: closing line, actual stat, and the Higher/Lower/void outcome. It also explicitly distinguishes itself from get_hit_rates, so an agent can route between the two without opening either 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?

'Use it to check how lines settled' gives a clear use case, and 'get_hit_rates summarises one player' names an alternative with a differentiator. It stops short of explicit when-not conditions (e.g. use get_line_history for pre-game movement), so it is strong but not fully exhaustive.

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