Skip to main content
Glama

One race on the user's list

get_trip
Read-onlyIdempotent

One race the user has saved, in as much depth as asked for: the race itself, the training sessions between today and race day, and the diary notes linked to it. sections picks the parts (race, training, notes, plans, travel, stay, weather); left out, it returns race, training and notes. Ask for the others by name: plans (what was saved with save_trip_plan; without it, saved_plans names the sections that exist), travel (nearest airports, drive, train), stay (places to stay for the race nights; the links are affiliate links and are marked affiliate: true) and weather (race day in the last five years, plus the forecast within 16 days). Anything they do not know is in unknown. For any race on the site rather than one on the user's list, call get_race. Requires signing in.

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

Input Schema

NameRequiredDescriptionDefault
titleNoThe race name as the list shows it, when there is no id or slug.
race_idNoid of the race on the user's list, from get_calendar.
sectionsNoParts to return: race, training, notes, plans, travel, stay, weather. Omit for race, training and notes.
race_slugNobrand/year/slug, instead of race_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses the default section set, what each optional section actually contains, that stay links are affiliate links marked affiliate: true, that weather covers five years plus a 16-day forecast window, that unknowns land in an 'unknown' field, and that authentication is required. These are behaviors the annotations cannot express.

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 default behavior are front-loaded, and the sections detail follows logically. The nested parentheticals make several sentences dense and slightly hard to parse, but nearly every clause carries information an agent would need.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/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 does the work of explaining the return shape (which sections come back, the 'unknown' bucket for unrecognized requests). It lacks only error/not-found behavior details, which is a minor gap for a read-only retrieval tool.

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 the baseline is 3, but the description adds real meaning: it enumerates the section values, explains the default when omitted, and describes the payload of plans, travel, stay and weather. It also notes the title parameter is for when no id or slug is available, which the schema states but the description reinforces contextually.

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 pair ('one race the user has saved') plus the depth of retrieval, and explicitly contrasts itself with the get_race sibling for races not on the user's list. An agent can distinguish the two without opening either 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?

Names the alternative (get_race) and the exact condition that selects it ('For any race on the site rather than one on the user's list'). It also gives positive guidance on when to pass sections and what the defaults are, plus the sign-in prerequisite.

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