Skip to main content
Glama

Etapa: find the rider's event

etapa_find_event
Read-onlyIdempotent

Finds the event a rider is training for, from what they say in their own words: a name ("the Mallorca 312") or an idea ("a gravel event in Spain in May", "a 100 km sportive near Leeds this summer"). Turn what they said into the fields you can; leave the rest out. Searches Etapa's events, and the web for a name Etapa doesn't list. Talk the matches over with the rider, one question at a time, before using one. Call again with what they add. Needs the rider signed 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": "etapa_find_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLatest date, YYYY-MM-DD (end of a month or season they named)
fromNoEarliest date they'd ride it, YYYY-MM-DD (start of a month they named)
nameNoThe event's name or part of it, as the rider said it ("Mallorca 312", "Dragon Ride")
maxKmNoThe longest distance they'd ride, in km
minKmNoThe shortest distance they'd ride, in km
placeNoA town or area, if they named one
countryNoCountry as a two-letter code (ES, GB, FR, US…)
disciplineNoThe kind of event, if they said: sportive, gravel, mtb, charity, triathlon, duathlon

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / maxKm / description
      Added value: +"The longest distance they'd ride, in km"
    • addedInput schema / properties / minKm / description
      Added value: +"The shortest distance they'd ride, in km"
  2. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld, and idempotent, so the safety profile is covered. Beyond that, the description discloses that the search spans both Etapa's catalog and the open web for unlisted names, that results must be confirmed conversationally rather than auto-selected, and that sign-in is required — real behavioral context. It stops short of saying how many matches come back or how ambiguity is represented.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Five tight sentences, front-loaded with the core action and the extraction rule before the workflow and the auth precondition. No filler, no restatement of the title, and each sentence carries an instruction the agent will act on.

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 and eight all-optional parameters, the description covers the missing pieces that matter: fallback search scope, the confirm-with-rider loop, iterative re-calling, and the sign-in requirement. The only gap is any sense of the result shape or count, which the agent must discover at runtime.

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 schema already documents all eight fields and the baseline is 3. The description adds genuine meaning by making explicit that all parameters are optional and partial extraction is expected ('turn what they said into the fields you can; leave the rest out'), which tells the agent not to fabricate missing values.

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: 'Finds the event a rider is training for, from what they say in their own words', then backs it with three concrete rider-phrasing examples. The natural-language-input framing makes it distinguishable from retrieval siblings like etapa_get_guide.

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?

Gives explicit operating instructions: extract whatever fields you can and 'leave the rest out', 'Talk the matches over with the rider, one question at a time, before using one', and 'Call again with what they add'. It also names a precondition ('Needs the rider signed in'), so an agent knows the blocking condition before invoking.

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.