Skip to main content
Glama
Odds-API MCP Server

Odds-API MCP Server

Official

Get odds for an event

get_odds
Read-onlyIdempotent

Retrieve odds for one event from chosen bookmakers, grouped by bookmaker and market with bet links; pass market names to avoid oversized responses.

Instructions

Get odds for one event from the named bookmakers, grouped by bookmaker then market, with bet links. Always pass markets (e.g. 'ML,Spread,Totals'): without it every market from every bookmaker comes back, which can be very large. Get the event id from get_events or search_events and market names from get_markets. For best/average prices across all books, get_odds_summary is more compact.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "eventId": "<eventId>",
      "bookmakers": "<bookmakers>"
    },
    "name": "get_odds"
  }
}

Input Schema

NameRequiredDescriptionDefault
eventIdYesEvent ID
marketsNoComma-separated market names, case-insensitive, max 40 (e.g. 'ML,Spread,Totals'). Strongly recommended: without it every market is returned. Call get_markets for the exact names (also at https://odds-api.io/markets).
bookmakersYesComma-separated bookmaker names, max 30 (e.g. 'Bet365,SingBet'). Must be in the key's selection (get_selected_bookmakers).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.8.4
    • changedInput schema / properties / markets / description
      Previous value: -"Comma-separated market names, case-insensitive, max 40 (e.g. 'ML,Spread,Totals'). Strongly recommended: without it every market is returned. Call get_markets for the exact names."New value: +"Comma-separated market names, case-insensitive, max 40 (e.g. 'ML,Spread,Totals'). Strongly recommended: without it every market is returned. Call get_markets for the exact names (also at https://odds-api.io/markets)."
  2. Changed2 schema fields changedv1.8.3
    • changedInput schema / properties / bookmakers / description
      Previous value: -"Comma-separated bookmaker names, max 30 (e.g., 'Bet365,SingBet,Unibet')"New value: +"Comma-separated bookmaker names, max 30 (e.g. 'Bet365,SingBet'). Must be in the key's selection (get_selected_bookmakers)."
    • addedInput schema / properties / markets
      Added value: +{
      +  "description": "Comma-separated market names, case-insensitive, max 40 (e.g. 'ML,Spread,Totals'). Strongly recommended: without it every market is returned. Call get_markets for the exact names.",
      +  "type": "string"
      +}
  3. Changed1 schema field changedv1.6.0
    • changedInput schema / properties / bookmakers / description
      Previous value: -"Comma-separated bookmaker names, max 30 (e.g., 'Bet365,Pinnacle,Unibet')"New value: +"Comma-separated bookmaker names, max 30 (e.g., 'Bet365,SingBet,Unibet')"
  4. First observedv1.5.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds value beyond that with payload-size behavior (unfiltered markets "can be very large") and the response shape (grouped by bookmaker then market, includes bet links). It stops short of any rate-limit, auth, or pricing-availability caveats, so it is strong but not exhaustive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences with the output shape first, the highest-risk pitfall (omitting markets) second, then dependency routing and the alternative tool. No filler, and the most important constraint is front-loaded before the alternatives.

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?

There is no output schema, so the description carries the burden of explaining the return shape, which it does via the bookmaker/market grouping and bet-link mention. Combined with the routing hints and the size warning, an agent has enough to call it correctly; only deeper operational details are absent, and they are not essential for correct invocation.

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?

With 100% schema description coverage, the schema already documents all three parameters, including examples and the 'strongly recommended' markets note. The description adds only the provenance hint (market names from get_markets) and repeats the markets recommendation, so it operates at the baseline where the schema does the heavy lifting.

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 verb and resource ("Get odds for one event"), plus the shaping of the result ("grouped by bookmaker then market, with bet links") and the source constraint ("from the named bookmakers"). It also names the sibling that serves a different need (get_odds_summary), so an agent can discriminate 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?

Gives explicit routing: event ids come from get_events or search_events, market names from get_markets, and best/average pricing belongs to get_odds_summary. It also states a hard usage rule ("Always pass markets") with the consequence of ignoring it, which is exactly the when/when-not guidance an agent needs.

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