Skip to main content
Glama
getodds-mcp

getodds-mcp

Official

Stored sportsbook odds

get_odds
Read-onlyIdempotent

Retrieve stored DraftKings game odds by league, market, or event with filters and paging; each side row includes line, American/decimal price, and capture time.

Instructions

Stored DraftKings (via ESPN) game odds by league, market or event: one row per side with line, American and decimal price and capture time. Use it for current game prices with filters and paging; use get_line_history for how a price moved and search_events to find an event_id. Needs GETODDS_API_KEY; one request per successful call.

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 to return, 1 to 200 (default 25).
sportNoLeague code in upper case, for example NBA. Omit for every league.
marketNoMarket: moneyline, spread or total. Omit for all three.
offsetNoRows to skip for the next page (default 0). Offset pages are not a frozen snapshot.
event_idNoOne event_id from search_events or a previous row.
fresh_onlyNotrue (default) drops rows not captured recently; false includes older retained rows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / event_id / description
      Added value: +"One event_id from search_events or a previous row."
    • addedInput schema / properties / fresh_only / description
      Added value: +"true (default) drops rows not captured recently; false includes older retained rows."
    • addedInput schema / properties / limit / description
      Added value: +"Rows to return, 1 to 200 (default 25)."
    • addedInput schema / properties / market / description
      Added value: +"Market: moneyline, spread or total. Omit for all three."
    • addedInput schema / properties / offset / description
      Added value: +"Rows to skip for the next page (default 0). Offset pages are not a frozen snapshot."
    • addedInput schema / properties / sport / description
      Added value: +"League code in upper case, for example NBA. Omit for every league."
  2. First observedv0.1.1

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and open-world semantics, and the description adds genuinely non-structured context: the upstream source, that GETODDS_API_KEY is required, and that each successful call costs one request (quota pressure). It stops short of describing failure behavior or what a page boundary looks like, but the practical operating constraints are disclosed.

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?

Two dense sentences, front-loaded with the resource and row shape, then routing guidance, then prerequisites. Nearly every clause earns its place; only the source parenthetical is close to 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 convey row granularity and the price columns, plus auth and quota constraints. It leaves pagination termination (whether a full page implies more rows) unstated, a minor gap for a paged read tool.

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%, including enums, defaults and the caveat that offset pages are not a frozen snapshot, so the schema already does the semantic work. The description only restates the filter axes (league, market, event) without adding new guidance on their interaction. 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?

States a specific resource (stored DraftKings/ESPN game odds), the filtering axes (league, market, event), and the exact row shape (one row per side with line, American and decimal price, capture time). It explicitly contrasts itself with get_line_history and search_events, so an agent can route without opening a 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?

Gives an explicit when-to-use ('current game prices with filters and paging') plus two named alternatives with their selecting conditions: get_line_history for movement, search_events for an event_id. No inference is required.

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