Skip to main content
Glama

FootballOddsAPI

GET /odds

get_odds
Read-only

The API's /odds endpoint, answered as the API answers: prematch and live fixtures ("status"), each with its odds by feed. "1x2" is [home, draw, away]; "ah" and "ou" carry their lines and a price list per side; odds are decimal, null is a side without a price, times are Unix milliseconds. Ask for the fixtures you need with "fixture": without it (and without "since") it is a full request, which the API allows once a minute, and every fixture with every feed is far more than the 48 kB an answer is cut to. With "since", only the fixtures changed since then come, and "removed" lists the ids to drop.

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
sinceNoThe "ts" of your last answer (Unix milliseconds, at most a minute old). Not with the demo key.
leagueNoOnly these leagues (ids from get_leagues).
marketNoOnly these markets. Default: all.
statusNoPrematch fixtures, live ones (in play) or both. Default: both.
fixtureNoOnly these fixtures (ids from get_fixtures or find_fixtures).
bookmakerNoOnly these feeds. Default: all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / status
      Added value: +{
      +  "description": "Prematch fixtures, live ones (in play) or both. Default: both.",
      +  "items": {
      +    "enum": [
      +      "prematch",
      +      "live"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare readOnlyHint; the description adds the real behavioral constraints: a once-per-minute allowance for full requests, a 48 kB truncation ceiling on answers, and the incremental-change contract where "removed" lists ids the caller must drop. These are non-obvious operational traits an agent cannot get from the annotations or schema.

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?

Dense but front-loaded — the endpoint and payload shape come first, then the request-mode constraints. Some phrasing is awkward and slightly redundant ("answered as the API answers"), and it is packed into a single paragraph that could be split by concern.

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?

There is no output schema, so the description carries the return-value burden and does: status grouping, per-market odds shape, decimal pricing, null-as-no-price, Unix millisecond timestamps, the removed-id list, and the 48 kB truncation. For a read-only, six-parameter filtered endpoint this covers everything an agent needs to call it correctly.

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 adds genuine meaning: the coupling between "fixture" and "since" to avoid the rate limit and cap, and what "since" actually does to the result set. It also defines the market value shapes (1x2 as [home, draw, away], ah/ou with lines and per-side price lists) that the enum alone does not convey.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific resource and scope: the /odds endpoint returning prematch and live fixtures with their odds by feed, plus the three market shapes. An agent knows exactly what data comes back. It never distinguishes itself from the sibling fixture_odds, so an agent choosing between the two still has to infer.

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?

Gives explicit when/when-not for the main request modes: pass "fixture" for targeted requests, omit it (and "since") only for the rate-limited once-a-minute full request, and use "since" for incremental sync with a "removed" id list. It stops short of naming any alternative tool, so it does not fully meet the top bar.

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.

Resources