Skip to main content
Glama

Race details

get_race
Read-onlyIdempotent

Everything the race page says about one race, by race_slug or url from search_races: every date and wave with start times, each event's distance, vertical gain and obstacle count, venue, nearest airport and how to get there, course map and route numbers (distance, climb, high point, steepest km), course videos, past results and other editions. sections narrows it to the parts you need (summary, events, venue, course, results, editions); left out, the whole race comes back. Past editions answer too, with status 'past'. site_url is the race's page, register_url the organiser's.

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": "get_race"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoThe race url from search_races, instead of race_slug.
sourceNoOnly when the same slug exists for two kinds of race. Usually omit.
sectionsNoParts of the race to return: summary, events, venue, course, results, editions. Omit for all of them.
race_slugNobrand/year/slug from search_races, e.g. 'spartan/2027/gubbio'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, closed-world and non-destructive behavior, so the description correctly spends its words on payload behavior: section filtering, full-payload default, past-edition status, and the meaning of site_url versus register_url. It does not mention auth, rate limits, or error behavior, which are the remaining gaps.

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 the core purpose and organized around identifier choice, then section filtering, then payload contents. The long return-value enumeration is dense but justified by the absence of an output schema; a few clauses could be tightened.

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?

With no output schema, the description carries the burden of describing the return payload and does so thoroughly — dates and waves, distances, vertical gain, obstacle counts, venue, airport, course map, videos, results and editions. An agent knows what it will get and how to scope it.

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 coverage is 100%, so the schema already documents race_slug, url, source and sections. The description reinforces the slug-or-url choice and the section list but adds no format or precedence detail beyond the schema, so baseline 3 applies.

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 ('Everything the race page says about one race') plus the exact identifier forms ('race_slug or url from search_races'), which cleanly separates it from the search_races lookup sibling.

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 that identifiers come from search_races, that sections narrows the payload while omitting it returns everything, and that past editions are handled by status 'past'. No explicit exclusions or when-not-to-use cases are given, which keeps it just short of 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