Skip to main content
Glama
Odds-API MCP Server

Odds-API MCP Server

Official

Arbitrage opportunities

get_arbitrage_bets
Read-onlyIdempotent

Find prematch arbitrage betting opportunities across chosen bookmakers, including calculated profit margins, stake splits, limits and bet links from quoted prices.

Instructions

Price gaps across the named bookmakers where the best price for every outcome implies a total probability under 100%. Prematch only, sorted by profitMargin (already a percentage after exchange fees: 2.48 means 2.48%, do not multiply by 100), with stake split (optimalStakes), stake limits (maxStake) and bet links. Prices move fast and bookmakers can void or limit bets, so present results as calculated margins at the quoted prices, never as guaranteed.

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": {
      "bookmakers": "<bookmakers>"
    },
    "name": "get_arbitrage_bets"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum results (default 50, max 500)
sportNoSport slug from get_sports (e.g. 'football', 'basketball', 'tennis')
leagueNoLeague slug from get_leagues. Requires sport
marketsNoComma-separated market names, case-insensitive, max 40 (e.g. 'ML,Totals')
minProfitNoMinimum profitMargin in percent, 0-100 (e.g. 1.5)
bookmakersYesComma-separated bookmaker names (e.g. 'Bet365,SingBet'). Every leg uses one of these
allCombinationsNotrue returns every bookmaker combination per event, market and line (default: only the best)
includeEventDetailsNoInclude teams, date, sport and league for each row

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv1.8.3
    • addedInput schema / properties / allCombinations
      Added value: +{
      +  "description": "true returns every bookmaker combination per event, market and line (default: only the best)",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / bookmakers / description
      Previous value: -"Comma-separated bookmaker names (e.g., 'Bet365,SingBet')"New value: +"Comma-separated bookmaker names (e.g. 'Bet365,SingBet'). Every leg uses one of these"
    • changedInput schema / properties / includeEventDetails / description
      Previous value: -"Include full event details in response"New value: +"Include teams, date, sport and league for each row"
    • addedInput schema / properties / league
      Added value: +{
      +  "description": "League slug from get_leagues. Requires sport",
      +  "type": "string"
      +}
    • addedInput schema / properties / markets
      Added value: +{
      +  "description": "Comma-separated market names, case-insensitive, max 40 (e.g. 'ML,Totals')",
      +  "type": "string"
      +}
    • addedInput schema / properties / minProfit
      Added value: +{
      +  "description": "Minimum profitMargin in percent, 0-100 (e.g. 1.5)",
      +  "type": "number"
      +}
    • addedInput schema / properties / sport
      Added value: +{
      +  "description": "Sport slug from get_sports (e.g. 'football', 'basketball', 'tennis')",
      +  "type": "string"
      +}
  2. First observedv1.5.1

TDQS

A4/5.0
Behavior5/5

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

Annotations already declare this a safe, idempotent, read-only open-world read, and the description adds substantial operational context on top: prices move fast, bookmakers can void or limit bets, and results must be presented as calculated margins at quoted prices rather than guaranteed. It also discloses the sort order, the unit convention for profitMargin (2.48 means 2.48%, do not multiply by 100), and that rows carry optimal stakes, max stake limits and bet links.

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 sentences, front-loaded with the core definition followed by caveats and formatting rules; nothing is filler. It is dense to the point of being packed, with sorting, unit conventions and risk warnings compressed into the second sentence, which slightly hurts scannability.

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?

For an eight-parameter tool with no output schema, the description covers return content (optimalStakes, maxStake, bet links), ordering, and the domain risk that affects how results should be reported. Minor gaps remain around result shape and how allCombinations affects the output, but the essentials are present.

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 meaning the schema does not: profitMargin is a percentage already net of exchange fees and must not be rescaled, and results are ordered by it. The bookmakers parameter is reinforced as the constraint that every leg must satisfy, which clarifies its semantics beyond the schema example.

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?

The description states precisely what is returned: price gaps across named bookmakers where the best price for every outcome implies total probability under 100%, prematch only. That is a specific and unambiguous definition of an arbitrage bet. It stops short of naming a contrasting sibling such as get_value_bets, so differentiation must be inferred from the definition itself.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is implied rather than stated: 'prematch only' and the requirement that every leg use one of the named bookmakers tell the agent what inputs are needed. There is no explicit guidance on when to prefer this over get_value_bets or get_odds, nor any exclusion beyond the prematch constraint.

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