Skip to main content
Glama

FormFav Horse & Greyhound Racing

Get win and place predictions

get_predictions
Read-onlyIdempotent

Get ML win/place probability predictions for a race (Pro tier).

Returns probability scores for each runner: winProb, placeProb, modelRank,
and confidence level. Probabilities sum to 1.0 across all runners in the race.
Not all races have predictions — only those with sufficient runner data.

To review a past selection without hindsight, pass `as_of`: the answer is the
predictions as they stood at that moment, whatever has been re-predicted or
scratched since. Runners scratched later stay in, flagged `scratched`, with the
probability they had then.

Premium and Enterprise accounts also get `reasons` per runner: up to three
factors behind its probability, strongest first, each with `factor` (form,
jockey, barrier, ...), `effect` (its multiplier on the runner's chance against
an average runner in the field: 1.40 = 40% more likely, 0.70 = 30% less) and
`text`, a plain sentence. Use them to explain a probability; they describe the
model's view of form, not the market, and are absent where none were recorded.

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').
    race: Race number (1-20).
    race_code: Race type — 'gallops' (default), 'harness', or 'greyhounds'.
    country: Country code — 'au' (default).
    timezone: IANA timezone scoping `date` (default Australia/Sydney). Must
        match what you passed to get_race_card()/get_race_results() for the
        same race, or this will not resolve to the same meeting.
    as_of: A past moment, ISO 8601 (e.g. '2026-10-30T09:00:00+11:00'; UTC if
        no offset), such as when a selection was made. Capped at the race's
        start; a future moment is an error. Omit for the current predictions.

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_predictions"
  }
}

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. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, and the description adds substantial context beyond that: probabilities normalize to 1.0, coverage is partial across races, `as_of` is capped at race start and a future moment is an error, later-scratched runners are retained and flagged. It also discloses tier-dependent output (reasons for Premium/Enterprise) and their absence where none were recorded.

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 and return shape are front-loaded, then time-travel semantics, then the Args block. It is somewhat long and the `as_of` behavior is covered twice, once in prose and again in Args, which is mild redundancy rather than wasted text.

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 7-parameter, tier-gated tool with time-scoped semantics, the description covers access tiers, conditional availability, cross-tool consistency requirements, and error conditions. An output schema exists, yet the return fields and their normalization are described anyway, removing ambiguity about what comes back.

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 the load and does: date format with a 30-day/7-day range, track name examples, race 1-20, race_code enum values with the 'gallops' default, country default, and an IANA timezone that must match what was passed to get_race_card()/get_race_results(). The `as_of` entry adds ISO 8601 format, UTC fallback, the start-of-race cap, and error behavior — all absent from 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 ('Get ML win/place probability predictions for a race') plus the tier gate, and implicitly separates itself from get_prices by noting the reasons 'describe the model's view of form, not the market.' An agent can tell this apart from price or results siblings 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 Guidelines4/5

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

Gives clear when-to-use context: predictions exist only for races with sufficient runner data, and `as_of` is for reviewing a past selection without hindsight. It also tells the agent to use `reasons` to explain a probability. It does not name an alternative tool to call when predictions are absent, which keeps it below a 5.

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