Skip to main content
Glama

List the races in the history

ourpr_list_races
Read-onlyIdempotent

Every race ourpr. finds in the history, newest first, tune-ups included: date, name, distance, time, pace and run id. Also the fastest result at 5K, 10K, half marathon and marathon among them.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMost rows to return.
distanceNoOnly races at this distance.

Output Schema

NameRequiredDescriptionDefault
racesYes
totalYes
fastestYes
returnedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed3 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedOutput schema / properties / fastest / items / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / races / items / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  3. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, open-world behavior, so the description does not need to re-litigate safety. It adds genuinely useful behavior beyond that: results are ordered newest first, tune-up events are included, and the response also carries best-effort results at 5K/10K/half/marathon. The one gap is whether that summary is computed over the full history or only over the returned/filtered rows.

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?

Two sentences, front-loaded with scope and ordering before the field list and the extra summary. Dense in a productive way, though the opening 'Every race ourpr. finds in the history' is slightly awkward phrasing.

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?

For a read-only, two-optional-parameter tool with an output schema, this covers scope, ordering, inclusion rules, and the extra aggregate output. The main residual ambiguity is how limit and distance affect the fastest-result block, which matters because that aggregate is a headline feature.

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 both limit and distance are already documented in the schema, giving a baseline of 3. The description adds a little context by implying distance-based aggregation over standard race distances, but it never explains limit's interaction with the fastest-result summary or whether a distance filter narrows that summary.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('Every race ourpr. finds in the history') and enumerates the fields returned, so the agent knows exactly what it gets. It also disambiguates scope by noting 'tune-ups included' and 'newest first'. It stops short of naming how it differs from siblings such as ourpr_list_runs or ourpr_records, which is what keeps it from a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: an agent can infer this is the tool for browsing race history. There is no explicit when-to-use/when-not statement and no pointer to alternatives like ourpr_records (which likely overlaps with the 'fastest result' summary) or ourpr_list_runs. The reader must infer the boundary themselves.

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