Skip to main content
Glama
OddsRelay

OddsRelay

Official

Event odds

event_odds

Reads one event's bookmaker and exchange prices for a region, filtered by named markets and bookmakers, and refuses calls whose quoted cost exceeds max_tokens.

Instructions

Reads one event's prices (id from events or odds) at each bookmaker and exchange carrying it, narrowed to the bookmakers and markets you name. Serves every region, one region code a call. Needs a key that can read 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": {
      "id": "<id>"
    },
    "name": "event_odds"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesAn event id such as or_evt_da71d5873e85
limitNoMost bookmakers to return; a note counts the rest
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.
in_playNoexclude (the default): pre-match events only. include: in-play events too. only: in-play events alone.
marketsNoOnly these market keys, such as h2h
bookmakersNoOnly these bookmaker or exchange keys
max_tokensNoRefuse the call when its quoted price is above this many tokens. Ask the user before raising it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.0
    • addedInput schema / properties / in_play
      Added value: +{
      +  "description": "exclude (the default): pre-match events only. include: in-play events too. only: in-play events alone.",
      +  "enum": [
      +    "exclude",
      +    "include",
      +    "only"
      +  ],
      +  "type": "string"
      +}
    • 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."
  2. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Adds real context beyond the annotations: a key with raw-odds read permission is required, and each call spends tokens with a quoted price and a hard refusal above max_tokens. This also explains why the annotations mark it non-read-only and non-idempotent despite being a read, since calls consume quota. It stops short of describing the returned price shape.

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 front-loaded sentences with almost no waste; scope, region constraint, auth, and cost behavior all arrive early. A small awkwardness in 'one region code a call' is the only friction.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a seven-parameter tool with no output schema, the description covers auth, cost, region behavior, and filtering reasonably well. It says nothing about the shape of the returned prices or how the 'note' counting the remaining bookmakers is surfaced, leaving the agent unsure what comes back.

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 description coverage is 100%, so the schema already documents id, region, in_play, markets, bookmakers, limit, and max_tokens. The description reinforces narrowing semantics and the max_tokens refusal rule but adds little syntax or format detail beyond what the schema provides, so the baseline of 3 applies.

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 verb and resource: reads the prices of one event across each bookmaker and exchange that carries it, narrowed by the named bookmakers and markets. It also names where the id comes from (events or odds), which helps an agent source the required parameter, though it does not explicitly contrast itself with siblings like odds or raw_odds.

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?

Gives practical usage constraints: one region code per call, an id drawn from events or odds, and a key with raw-odds read permission. It does not say when to prefer this over siblings such as odds or raw_odds, which is the main guidance gap.

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