Skip to main content
Glama
underdog-api-mcp

underdog-api-mcp

Official

Lines with sportsbook prices

get_odds
Read-onlyIdempotent

Compare Underdog Higher/Lower odds with FanDuel, DraftKings, and Novig prices to judge pick'em value using no-vig fair probabilities.

Instructions

Each current line as Higher and Lower odds entries, next to FanDuel, DraftKings and Novig prices and the no-vig fair probability at the same line where a book prices it. Use it to judge whether a pick'em side is good value; get_board has the lines alone. Five minutes behind on the free plan. 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_odds"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.
marketNoStat slug, for example points.
playerNoPlayer name or pl_ id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 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 / 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."
    • addedInput schema / properties / market
      Added value: +{
      +  "description": "Stat slug, for example points.",
      +  "type": "string"
      +}
    • changedInput schema / properties / player / description
      Previous value: -"Player name or pl_ id"New value: +"Player name or pl_ id."
    • removedInput schema / properties / stat
      Removed value: -{
      -  "description": "Stat slug",
      -  "type": "string"
      -}
  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, it discloses operational facts the agent cannot get anywhere else: a five-minute data lag on the free plan, a required UNDERDOG_API_KEY, where to get one without a card, and that a keyless call returns a sign-up link and burns no credits. The no-credit fallback behavior is exactly the kind of cost consequence 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?

Three sentences, front-loaded with what is returned, then usage, then the operational caveats. The opening sentence is long and slightly convoluted ("at the same line where a book prices it"), but no sentence is 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 carries the return-value burden and does describe the payload (H/L entries, three book prices, no-vig probability). Combined with freshness and auth details, an agent has enough to call correctly; only the precise row shape and pagination wrapping are left implicit.

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 limit, cursor, league, market and player are already fully documented with examples. The description adds no filtering semantics of its own, 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?

The description specifies the exact resource and payload: current lines as Higher/Lower odds entries, plus FanDuel, DraftKings and Novig prices and the no-vig fair probability. It also explicitly contrasts with the sibling that returns the same data without prices ("get_board has the lines alone"), so an agent can distinguish 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 Guidelines5/5

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

It states the decision the tool supports ("Use it to judge whether a pick'em side is good value") and names the alternative for the case where prices are not needed (get_board). The condition that selects this tool versus that sibling is explicit rather than inferred.

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