Skip to main content
Glama
Odds-API MCP Server

Odds-API MCP Server

Official

Odds changed since

get_updated_odds
Read-onlyIdempotent

Fetches only odds for markets that changed since a Unix timestamp (max 90 seconds old) for one bookmaker, sport, and named markets, so polling code tracks deltas without full odds requests.

Instructions

Odds that changed since a Unix timestamp (at most 90 seconds old) for one bookmaker and sport, limited to the markets you name. A delta: only changed markets are returned. For polling code, not for one-off questions (use get_odds instead).

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": {
      "since": "<since>",
      "bookmaker": "<bookmaker>",
      "sport": "<sport>",
      "markets": "<markets>"
    },
    "name": "get_updated_odds"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results, 1-10000
sinceYesUnix timestamp in seconds, at most 90 seconds old
sportYesSport slug from get_sports (e.g. 'football', 'basketball', 'tennis')
marketsYesComma-separated market names, max 40 (e.g. 'ML,Spread,Totals'). Required. Use get_markets for the exact names.
bookmakerYesBookmaker name (e.g. 'Bet365')

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.8.3
    • changedInput schema / properties / bookmaker / description
      Previous value: -"Bookmaker name (e.g., 'Bet365')"New value: +"Bookmaker name (e.g. 'Bet365')"
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "Max results, 1-10000",
      +  "type": "number"
      +}
    • changedInput schema / properties / markets / description
      Previous value: -"Comma-separated market names, max 20 (e.g., 'ML,Spread,Totals'). Required by the API. Use get_markets for the exact names a sport serves."New value: +"Comma-separated market names, max 40 (e.g. 'ML,Spread,Totals'). Required. Use get_markets for the exact names."
    • changedInput schema / properties / sport / description
      Previous value: -"Sport slug (e.g., 'football')"New value: +"Sport slug from get_sports (e.g. 'football', 'basketball', 'tennis')"
  2. Changed3 schema fields changedv1.6.0
    • addedInput schema / properties / markets
      Added value: +{
      +  "description": "Comma-separated market names, max 20 (e.g., 'ML,Spread,Totals'). Required by the API. Use get_markets for the exact names a sport serves.",
      +  "type": "string"
      +}
    • changedInput schema / properties / since / description
      Previous value: -"Unix timestamp (must be within the last 60 seconds)"New value: +"Unix timestamp in seconds, at most 90 seconds old"
    • changedInput schema / required
      Previous value: -[
      -  "since",
      -  "bookmaker",
      -  "sport"
      -]New value: +[
      +  "since",
      +  "bookmaker",
      +  "sport",
      +  "markets"
      +]
  3. 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 cover safety and idempotency, so the description focuses on the traits that matter: a hard 90-second freshness window on 'since' and delta semantics ('only changed markets are returned'). It does not mention rate limits or error behavior when the timestamp is too stale, which is the main remaining gap.

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?

Three tight sentences: what it returns, the delta behavior, then the use-case restriction with the alternative named last. No redundant restatement of the tool name and no 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 full schema coverage and no output schema, the description supplies the semantics an agent needs: the freshness bound, the delta return filter, and the polling use case. Minor gap is the absence of any hint about response shape or what happens on a stale 'since'.

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 coverage is 100%, so every parameter is already documented including the 90-second constraint and the market-list format. The description reiterates the single-bookmaker/single-sport and named-markets scoping, adding modest emphasis but no new syntax or format detail 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?

The description opens with a specific verb and resource ('Odds that changed since a Unix timestamp') and immediately states the scope: one bookmaker, one sport, named markets, delta-only results. This makes it clearly distinguishable from the bulk listing siblings like get_odds and get_multi_odds.

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 gives an explicit when-not ('not for one-off questions') and names the alternative to use instead ('use get_odds instead'), plus a positive framing ('For polling code'). The agent has a clear routing rule without needing to inspect any schema.

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