Search races
search_racesFind upcoming races of every kind in the Goal Race calendar: obstacle course races (Spartan, Tough Mudder, Strong Viking and more), gym and hybrid fitness races (HYROX, DEKA and more) and trail and ultra running races, each linked to its page on the site that covers it. Searchable by place, country, series, month, distance, climb or terrain, e.g. 'a 50k trail race in Spain in May', 'Hyrox in London', 'Spartan Beast near Munich this autumn'. All filters are optional and combine with AND; several values in one filter combine with OR. list_race_filters has the exact names a filter accepts. Months are YYYY-MM. Each race lists its events (Sprint, Super, Beast, Kids…) and distances, so a query like 'Spartan Beast' matches a race with a Beast wave. Each race has a url (its page) and a race_slug (what get_race takes); browse_url opens the same list on the site.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_races"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| near | No | Airports (name or IATA code like 'AMS') or cities the race should be close to, within about 150 km. | |
| tags | No | Race types or terrain, e.g. championship, kids, team, mountain, trail, stadium, mud, forest, beach. | |
| climb | No | Vertical gain bands: flat (under 300 m), rolling (to 1,000 m), hilly (to 2,500 m), mountain (to 5,000 m), alpine (more). Only races that publish a climb match. | |
| limit | No | Races to return, soonest or best match first (default 10, max 25). | |
| query | No | Free text matched against race name, town and series, e.g. 'Morzine' or 'Beast'. Leave out for filter-only searches. | |
| series | No | Race series, e.g. 'Spartan', 'Tough Mudder', 'Strong Viking'. | |
| source | No | Kind of race: 'ocr' (obstacle course), 'gym' (HYROX-style hybrid fitness), 'trail' (trail and ultra running). Omit to search every kind. | |
| country | No | Country names, e.g. 'Italy', 'USA', 'United Arab Emirates', or 'Europe' for the whole region. | |
| distance | No | Distance bands: 5k, 10k, half-marathon, marathon or ultra. | |
| to_month | No | Last month, YYYY-MM (inclusive). | |
| from_month | No | First month, YYYY-MM. | |
| qualifies_for | No | Only trail races with a distance that qualifies for this race's lottery: 'western-states' (Western States 100, WSER) or 'hardrock' (Hardrock 100, finish within the race's own cutoff). Each race lists which of its distances qualify on its page. |