Skip to main content
Glama

FormFav Horse & Greyhound Racing

Get live bookmaker odds

get_prices
Read-onlyIdempotent

Get current bookmaker odds for every runner in a race (Premium tier).

Use this for any question about odds, prices, the market, favourites or
"what is X paying". get_race_card() carries no prices. Takes the same
arguments as get_race_card(), so a race you pulled form for can be priced
unchanged.

Each runner has a `prices` list with one entry per bookmaker and market type
(`marketType` is 'fixed' or 'tote'; one bookmaker can quote both), carrying
`bookmaker`, `win` and `place` decimal odds and its own `capturedAt` (books
update independently, so freshness is per bookmaker). Win-market fluctuation
fields `open`, `close`, `high`, `low` and `movements` appear when the bookmaker
publishes them, and `startingPrice` is that bookmaker's own settled price once
the race has run.

Before the jump each priced runner also has a `market` summary across
bookmakers: `best` (longest win price) and `bestBookmakers`, `consensus`
(median price), and `fair` / `fairProbability` (margin removed by the power
method, which allows for the favourite-longshot bias), `edge` (best vs fair)
and `rank` (1 = favourite). Consensus and fair need 3 bookmakers, or 2 of the
market leaders where the race is run: TAB, Ladbrokes and Sportsbet in
Australia, New Zealand and Hong Kong; Ladbrokes UK (with Coral) and William
Hill in the UK, Ireland and Europe. `edge` describes the prices; it is not a
tip. The race-level `market` gives each bookmaker's `overround` and
`bestOverround`, the book made of the best prices.

A quote older than the freshness allowance for this race's time to jump comes
back with `stale: true` and no `win`/`place`; the fluctuation fields stay valid
as a record. That allowance tightens as the race approaches, and a finished
race is always stale, which is not a coverage gap. An empty `prices` list or
only stale quotes means no current price, not that there is no market. Runners
marked `scratched` come from our race card; a missing price does not mean
scratched. Prices are cached for seconds: re-asking shortly before the jump is
fine, but do not poll in a loop.

To review a bet without hindsight, pass `as_of`: each bookmaker's `win` is the
last price it had shown by that moment and `market` is computed from those.
`scratched` then says whether the runner was out at that moment, and
`deductions` lists only the runners scratched afterwards, the ones that reduce
a bet struck then. A bookmaker's history holds its last 20 price changes, so a
moment before the earliest of them has no price from that bookmaker.

Requires a Premium or Enterprise account; other tiers get a 403 telling them
so. Pro accounts get results (get_race_results) but not odds.

Args:
    date: Race date in YYYY-MM-DD format. Range: 30 days ago to 7 days ahead.
    track: Track/venue name (e.g. 'flemington', 'randwick'). Case-insensitive.
    race: Race number (1-20).
    race_code: Race type — 'gallops' (default), 'harness', or 'greyhounds'.
    country: Country code — 'au' (default), 'nz', 'hk', 'gb', 'us', etc.
    timezone: IANA timezone for date interpretation (e.g. 'Europe/London').
        Defaults to Australia/Sydney — set this for overseas racing so the
        date matches the local race day.
    as_of: A past moment, ISO 8601 (e.g. '2026-10-30T09:00:00+11:00'; UTC if
        no offset), such as when a bet was struck. Capped at the race's start;
        a future moment is an error. Omit for current prices.

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": {
      "date": "<date>",
      "track": "<track>",
      "race": "<race>"
    },
    "name": "get_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYes
raceYes
as_ofNo
trackYes
countryNoau
timezoneNo
race_codeNogallops

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / as_of
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "As Of"
      +}
  2. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare this a safe read; the description adds the real behavioral burden: Premium/Enterprise requirement with a 403, per-bookmaker independent freshness, stale quotes returning 'stale: true' with no win/place, empty prices meaning 'no current price' rather than 'no market', scratches not implied by missing prices, second-level caching with an explicit 'do not poll in a loop' warning, and a 20-change history cap per bookmaker. Nothing here contradicts readOnlyHint/idempotentHint.

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?

Front-loaded with purpose and routing, then output semantics, staleness, as_of, auth and args in a coherent order. It is long, and the detailed field-level narration of `prices`/`market` partially overlaps with the output schema, so a few sentences could be trimmed, but every paragraph carries decision-relevant content.

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?

For a high-complexity, 7-parameter, premium-gated tool, the description covers authentication, staleness semantics, snapshot reconstruction, provider coverage rules for consensus/fair, and all argument contracts. An agent has everything needed to call it correctly and interpret an empty or stale result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry all seven parameters, and it does: date format with the -30/+7 day range, track case-insensitivity, race range 1-20, the three race_code values with the default, country codes with the default, timezone default and the overseas-racing reason to set it, and as_of format, cap at race start, and the fact that a future moment is an error. This is meaning well beyond the bare schema titles.

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?

Opens with a specific verb+resource ('Get current bookmaker odds for every runner in a race') and immediately contrasts it with the sibling that lacks prices ('get_race_card() carries no prices'). An agent can distinguish it from get_race_card, get_race_results and get_predictions without inspecting the 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?

Explicitly names the trigger class ('any question about odds, prices, the market, favourites or "what is X paying"'), states the alternative that does not carry prices, and adds a tier boundary ('Pro accounts get results (get_race_results) but not odds'). Both when-to-use and when-not-to-use are covered.

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