Skip to main content
Glama
OddsRelay

OddsRelay

Official

Odds

odds

Reads a matched board of bookmaker back prices and exchange lay prices for one sport at named bookmakers in the UK and Ireland; checks token cost before returning results.

Instructions

Reads a matched board (bookmaker back prices with exchange lay prices) for one sport at the bookmakers you name. The matched boards are for the UK & Ireland (region uk) only: any other region is refused with product_not_in_region, so read prices there with raw_odds. Spends tokens: priced first, and refused when it would cost more than max_tokens.

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": {
      "type": "<type>",
      "sport": "<sport>",
      "bookmakers": "<bookmakers>"
    },
    "name": "odds"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYesWhich matched board
limitNoMost events to return; a note counts the rest
sportYesWhich sport: soccer, or a competition key from the sports tool such as soccer_english_premier_league
regionNoOne region code from the regions tool, such as uk or us. Left out, the API uses uk, or refuses with region_required and names the code to send.
marketsNoMarket keys such as h2h; left out, every market on the board
exchangesNoExchange keys; left out, every exchange on the board
bookmakersYesBookmaker keys from the bookmakers tool
max_tokensNoRefuse the call when its quoted price is above this many tokens. Ask the user before raising it.
commence_toNoLatest start time, ISO 8601
commence_fromNoEarliest start time, ISO 8601

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.0
    • changedInput schema / properties / region / description
      Previous value: -"Region code. Left out, the API uses uk."New value: +"One region code from the regions tool, such as uk or us. Left out, the API uses uk, or refuses with region_required and names the code to send."
    • changedInput schema / properties / sport / description
      Previous value: -"Which sport: soccer, or a competition key from the sports tool such as soccer_epl"New value: +"Which sport: soccer, or a competition key from the sports tool such as soccer_english_premier_league"
  2. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already cover world-openness and non-destructiveness, but the description adds genuinely new behavior: the call spends tokens, the price is quoted before spending, and it is refused when the quote exceeds max_tokens. It also discloses exact refusal codes (product_not_in_region, region_required), which an agent needs for recovery. Missing only a note on what the response contains, which is partly implied by the limit note.

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?

Three tight sentences, front-loaded with what the tool returns before the constraints and cost rules. No filler, though the parenthetical definition plus two refusal codes makes it dense for a description of this length.

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 a 10-parameter tool with no output schema, the description covers the decisions an agent must make before calling: region eligibility, cost ceiling, and which sibling to use otherwise. It does not describe the shape of a matched board or how pagination/notes work, but a fully documented schema and clear annotations carry most of the remaining burden.

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 with type, enum, defaults, and bounds; baseline is 3. The description reinforces that bookmaker keys must come from the bookmakers tool and that region defaults to uk, but adds no 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?

States a specific verb and resource (reads a matched board), defines the concept inline (bookmaker back prices with exchange lay prices), and scopes it to one sport and named bookmakers. That is enough for an agent to distinguish it from raw_odds and event_odds without opening a 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 an explicit when-not and a named alternative: only region uk is supported, other regions are refused with product_not_in_region, and the agent should use raw_odds there. Also states the token-cost guardrail, so the agent knows the call can be refused on cost.

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