Skip to main content
Glama
Odds-API MCP Server

Odds-API MCP Server

Official

List events

get_events
Read-onlyIdempotent

List upcoming or filtered sports events by sport, league, date, status, or bookmaker, returning event IDs and scores for odds lookup.

Instructions

List events for a sport (default window: the next 14 days, max 5000 per response). Call get_sports and get_leagues first for slugs. Returns id, home, away, homeId, awayId, date, status, sport, league and scores; use the id with get_odds. Use fields (e.g. 'id,home,away,date') and limit to keep the list short. Score periods use keys p1..pN, ft, ot and ap (older keys period1, overtime, penalties, fulltime stop on 12 November 2026).

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": {
      "sport": "<sport>"
    },
    "name": "get_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoEnd date/time in RFC3339 format. Defaults to 14 days from now
fromNoStart date/time in RFC3339 format (e.g. '2026-11-07T00:00:00Z')
skipNoNumber of events to skip for pagination
limitNoMaximum number of events to return (max 5000)
sportYesSport slug from get_sports (e.g. 'football', 'basketball', 'tennis')
fieldsNoOptional comma-separated top-level fields to keep on each item (e.g. 'id,home,away,date,status'). Trims large responses.
leagueNoLeague slug from get_leagues (e.g. 'england-premier-league')
statusNoOne status or a comma-separated list: pending, live, settled, cancelled
bookmakerNoOnly return events with odds from this bookmaker (e.g. 'Bet365')
participantIdNoFilter by participant/team ID (matches home or away)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv1.8.3
    • changedInput schema / properties / bookmaker / description
      Previous value: -"Only return events with odds from this bookmaker (e.g., 'Bet365')"New value: +"Only return events with odds from this bookmaker (e.g. 'Bet365')"
    • addedInput schema / properties / fields
      Added value: +{
      +  "description": "Optional comma-separated top-level fields to keep on each item (e.g. 'id,home,away,date,status'). Trims large responses.",
      +  "type": "string"
      +}
    • changedInput schema / properties / from / description
      Previous value: -"Start date/time in RFC3339 format (e.g., '2025-10-28T10:00:00Z')"New value: +"Start date/time in RFC3339 format (e.g. '2026-11-07T00:00:00Z')"
    • changedInput schema / properties / league / description
      Previous value: -"League slug (e.g., 'england-premier-league')"New value: +"League slug from get_leagues (e.g. 'england-premier-league')"
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum number of events to return"New value: +"Maximum number of events to return (max 5000)"
    • changedInput schema / properties / sport / description
      Previous value: -"Sport slug (e.g., 'football', 'basketball')"New value: +"Sport slug from get_sports (e.g. 'football', 'basketball', 'tennis')"
    • changedInput schema / properties / status / description
      Previous value: -"Comma-separated event statuses: pending, live, settled"New value: +"One status or a comma-separated list: pending, live, settled, cancelled"
    • changedInput schema / properties / to / description
      Previous value: -"End date/time in RFC3339 format (e.g., '2025-10-28T23:59:59Z')"New value: +"End date/time in RFC3339 format. Defaults to 14 days from now"
  2. First observedv1.5.1

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), and the description adds genuinely new behavior: the 14-day default window, the 5000-per-response ceiling, the exact returned field set, and the score-period key schema including legacy keys with a removal date. That last detail about p1..pN/ft/ot/ap versus period1/overtime/penalties/fulltime expiring 12 November 2026 is behavior no structured field conveys.

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?

Purpose, window, prerequisite, return shape and tuning advice all appear in the first half, so the critical information is front-loaded. The final sentence on score-period keys is long and detail-heavy but earns its place given there is no output schema; overall nothing is padding.

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 10 parameters and no output schema, the description carries the return-shape burden well by enumerating the returned fields and the nested score-period keys. Minor gaps remain around pagination semantics (how skip interacts with limit) and the from/to interaction with the default window, though the schema descriptions cover those adequately.

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 description coverage is 100%, so the baseline is 3 and the schema already defines every parameter. The description adds practical steering beyond those definitions by recommending the fields/limit combination with a concrete example ('id,home,away,date') to keep responses short, which is operational advice rather than a restatement.

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?

Opens with a specific verb and resource ('List events for a sport') and immediately scopes it with the default 14-day window and 5000-item cap, so an agent knows this is the upcoming-fixture listing rather than a single lookup. It stops short of naming the siblings it differs from (get_live_events, search_events, get_historical_events), so the distinction is inferred from the default window rather than stated.

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 an explicit prerequisite chain ('Call get_sports and get_leagues first for slugs') and a clear follow-on step ('use the id with get_odds'), which is unusually actionable. It does not state when to prefer search_events or get_historical_events instead, so the exclusion guidance is absent.

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