Skip to main content
Glama

Odds

get_odds
Read-onlyIdempotent

Use for betting lines. Pass game_id for one game (10 credits): the consensus closing spread and total (every game since 1999; moneyline every game since 2010) plus each sportsbook's closing line from the 2014 season (4-9 books for 2014-2019, closing only) and per-bookmaker opening, closing and latest lines from the 2020 season (up to 8 books, including Pinnacle). Or pass season (optionally team) for a season of per-book closing lines in one call, with final scores and the consensus close, at 10 credits per game returned, 100 games a page by default (up to 500); each book's line is an array in the order given by columns. Each line carries a source field (one value for the 2014-2019 closing lines, another from 2020); a season answer lists each game's sources. For consensus closing lines only, get_games returns a whole season for 5 credits. Set estimate_only to get the price without being charged. Prices are market information; no tool places, accepts or tracks wagers.

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
teamNoWith season: only this team's games (e.g. KC).
limitNoWith season: games per page (default 100, max 500).
offsetNoWith season: page offset; use next_offset from the previous page.
seasonNoSeason year for a whole season of per-book lines, e.g. 2026. Used when game_id is not set.
game_idNoGame id, e.g. 2026_01_KC_BUF. Omit and pass season for a whole season.
bookmakerNoBookmaker key (draftkings, fanduel, betmgm, espnbet, pinnacle, bovada, betonlineag, mybookieag; for 2014-2019 also westgate, caesars, wynn, unibet, 5dimes, sportsbettingag and others)
estimate_onlyNoReturn what this call would cost, without charging or running it.
snapshot_typeNoSingle game: one snapshot type (default all). Season: opening or closing (default closing).

Output Schema

NameRequiredDescriptionDefault
noteNo
toolNo
booksNo
countNo
gamesNo
seasonNo
columnsNo
creditsNo
game_idNo
kickoffNo
away_teamNo
home_teamNo
next_offsetNo
total_gamesNo
estimate_onlyNo
snapshot_typeNo
bookmaker_countNo
credits_per_gameNo
consensus_closingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / bookmaker / description
      Previous value: -"Bookmaker key (draftkings, fanduel, betmgm, espnbet, pinnacle, bovada, betonlineag, mybookieag)"New value: +"Bookmaker key (draftkings, fanduel, betmgm, espnbet, pinnacle, bovada, betonlineag, mybookieag; for 2014-2019 also westgate, caesars, wynn, unibet, 5dimes, sportsbettingag and others)"
  2. Changed1 schema field changed
    • changedInput schema / properties / bookmaker / description
      Previous value: -"Bookmaker key (draftkings, fanduel, betmgm, espnbet)"New value: +"Bookmaker key (draftkings, fanduel, betmgm, espnbet, pinnacle, bovada, betonlineag, mybookieag)"
  3. Changed20 schema fields changed
    • changedInput schema / properties / bookmaker / description
      Previous value: -"Bookmaker key (draftkings, fanduel, betmgm, caesars, espnbet)"New value: +"Bookmaker key (draftkings, fanduel, betmgm, espnbet)"
    • addedInput schema / properties / estimate_only
      Added value: +{
      +  "description": "Return what this call would cost, without charging or running it.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / game_id / description
      Previous value: -"Game id, e.g. 2026_01_KC_BUF"New value: +"Game id, e.g. 2026_01_KC_BUF. Omit and pass season for a whole season."
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "With season: games per page (default 100, max 500).",
      +  "maximum": 500,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "With season: page offset; use next_offset from the previous page.",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / season
      Added value: +{
      +  "description": "Season year for a whole season of per-book lines, e.g. 2026. Used when game_id is not set.",
      +  "type": [
      +    "string",
      +    "number"
      +  ]
      +}
    • changedInput schema / properties / snapshot_type / description
      Previous value: -"Return only one snapshot type. Default returns opening, closing, and latest per book."New value: +"Single game: one snapshot type (default all). Season: opening or closing (default closing)."
    • addedInput schema / properties / team
      Added value: +{
      +  "description": "With season: only this team's games (e.g. KC).",
      +  "type": "string"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "game_id"
      -]
    • addedOutput schema / properties / columns
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / credits
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / credits_per_game
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / estimate_only
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / games
      Added value: +{
      +  "items": {
      +    "additionalProperties": {},
      +    "propertyNames": {
      +      "type": "string"
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / next_offset
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / season
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / snapshot_type
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / tool
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / total_games
      Added value: +{
      +  "type": "number"
      +}
    • removedOutput schema / required
      Removed value: -[
      -  "game_id",
      -  "home_team",
      -  "away_team",
      -  "kickoff",
      -  "consensus_closing",
      -  "books",
      -  "bookmaker_count",
      -  "count"
      -]
  4. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover the read-only, idempotent, non-destructive profile, and the description adds substantially more: credit pricing per mode (10 credits per game, 5 for get_games), data coverage windows (spread/total since 1999, moneyline since 2010, per-book from 2014, richer per-book from 2020), book counts per era, and the estimate_only escape hatch. It also explicitly disclaims any wagering capability, which is decision-relevant context.

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?

Purpose and mode selection are front-loaded, and the dense pricing and coverage detail is materially relevant because this API charges credits. The middle sentences nest parentheticals heavily (era-specific book counts, source-field explanations), making a single paragraph do a lot of work, but no sentence is purely filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter, two-mode tool with an output schema already present, the description covers the remaining gaps an agent needs: mode selection, per-mode defaults, pagination pattern (next_offset hint lives in schema), pricing behavior, and how to read the returned per-book arrays. Nothing essential to a correct call is missing.

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; the description rises above it by explaining cross-parameter interactions the schema states only in isolation — that snapshot_type defaults to 'all' for a single game but 'closing' for a season, that bookmaker values vary by era, and that each book's line is an array ordered per 'columns' with a source field distinguishing the 2014-2019 versus 2020+ sources. It does not clarify team/limit/offset semantics beyond 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 use case ('Use for betting lines') and then defines two distinct modes: game_id for a single game's consensus and per-book lines, or season for a season of per-book closing lines. It also names a sibling (get_games) as the cheaper route for consensus-only needs, letting an agent distinguish the tools without opening schemas.

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?

Explicitly states which parameter selects which behavior ('Pass game_id for one game... Or pass season (optionally team)') and names get_games as the alternative when only consensus closing lines are needed at 5 credits. It stops short of guidance on other siblings or on prerequisites, but the when-to-use path and the cheaper 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.