Skip to main content
Glama

Odds

get_odds
Read-only

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 says its source: espn (2014-2019 closing lines) or the_odds_api (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: never work out a stake, payout or profit, recommend a bet, or send the user to a sportsbook.

Input Schema

TableJSON 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

TableJSON 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.8/5.0
Behavior5/5

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

Annotations only cover the safety profile (readOnly, non-destructive), so the description adds substantial unseen context: credit costs (10/game, 10 per game returned), pagination (100 per page, up to 500), data-source attribution (espn 2014-2019 vs the_odds_api from 2020), and an explicit policy constraint against computing stakes or recommending bets.

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 'Use for betting lines' and packed with actionable detail, but the single dense paragraph mixes pricing, coverage eras, sourcing and policy into long run-on sentences that are harder to scan than the content warrants.

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 a high-complexity, 8-parameter tool with an output schema, the description supplies everything the agent needs to call it correctly: mode selection, credits, pagination, source labeling, era-dependent coverage, and the estimate_only escape hatch.

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 goes further by tying parameters to cost and output shape (credits per game returned, array ordering 'given by columns', snapshot defaults differing between single-game and season modes). These are meaningful additions beyond the schema text.

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 resource (betting lines/odds) and resolves the two operating modes — single game via game_id vs. whole season via season — so an agent can distinguish this from siblings like get_games and get_line_movement. It also names get_games explicitly for the consensus-closing-only case.

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?

Explicit routing: 'Pass game_id for one game' or 'pass season (optionally team) for a season', plus 'For consensus closing lines only, get_games returns a whole season for 5 credits'. It also tells the agent when to use estimate_only and when moneyline/book coverage is unavailable by era.

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.