Skip to main content
Glama
This connector has been deprecated

Replaced by Goal Race.

This page moved. Goal Race is now listed under its official MCP registry name, com.goalrace/goal-race.

Search races

search_races
Read-onlyIdempotent

Find 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

NameRequiredDescriptionDefault
nearNoAirports (name or IATA code like 'AMS') or cities the race should be close to, within about 150 km.
tagsNoRace types or terrain, e.g. championship, kids, team, mountain, trail, stadium, mud, forest, beach.
climbNoVertical 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.
limitNoRaces to return, soonest or best match first (default 10, max 25).
queryNoFree text matched against race name, town and series, e.g. 'Morzine' or 'Beast'. Leave out for filter-only searches.
seriesNoRace series, e.g. 'Spartan', 'Tough Mudder', 'Strong Viking'.
sourceNoKind of race: 'ocr' (obstacle course), 'gym' (HYROX-style hybrid fitness), 'trail' (trail and ultra running). Omit to search every kind.
countryNoCountry names, e.g. 'Italy', 'USA', 'United Arab Emirates', or 'Europe' for the whole region.
distanceNoDistance bands: 5k, 10k, half-marathon, marathon or ultra.
to_monthNoLast month, YYYY-MM (inclusive).
from_monthNoFirst month, YYYY-MM.
qualifies_forNoOnly 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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / qualifies_for / description
      Previous value: -"Only trail races with a distance that qualifies for this race's lottery: 'western-states' (Western States 100, WSER). Each race lists which of its distances qualify on its page."New value: +"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."
  2. Changed1 schema field changed
    • addedInput schema / properties / qualifies_for
      Added value: +{
      +  "description": "Only trail races with a distance that qualifies for this race's lottery: 'western-states' (Western States 100, WSER). Each race lists which of its distances qualify on its page.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. Beyond that the description discloses non-obvious behavior: only races publishing a climb match climb filters, default limit 10 with max 25, and that a race-level match can come from its event waves ("Spartan Beast" matching a Beast wave). It omits ranking details behind "soonest or best match first".

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 examples, then moves to filtering rules and return-shape hints; each sentence carries information. It is a dense single paragraph, so the guidance about list_race_filters and the race_slug note are easy to miss rather than clearly separated.

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 12-parameter, filter-only search with no output schema, the description covers what the tool searches, how filters combine, what identifiers come back (url, race_slug, browse_url) and that results carry events and distances. Nothing an agent needs to call it correctly appears missing.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description adds genuine semantics: the AND/OR combination rule that applies across all 12 params, the YYYY-MM month format, and the distinction between a race's url, its race_slug (what get_race takes) and browse_url. The free-text scope of query is also clarified via examples.

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 ("Find upcoming races") and scopes it to the Goal Race calendar, then enumerates the covered race kinds (OCR, gym/hybrid, trail/ultra). This lets an agent distinguish it immediately from get_race and add_custom_race 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?

Explains the filter combination logic (all optional, AND across filters, OR within a filter) and routes the agent to list_race_filters for filter names and to get_race via race_slug. It gives natural-language query examples, but never states an explicit when-not condition or contrasts directly with sibling listing tools.

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