Skip to main content
Glama

Predict race time

predict_race_time
Read-onlyIdempotent

Predict finish times and paces at other distances from a recent race result, using Riegel's formula.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "distance": "<distance>",
      "time": "<time>"
    },
    "name": "predict_race_time"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeYesFinish time as "mm:ss" or "h:mm:ss".
distanceYesA standard race ("5k", "10k", "half_marathon", "marathon") or a distance in kilometers.
target_distanceNoDistance to predict. Leave out to predict every standard distance.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/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. The description's genuine addition is naming Riegel's formula, which signals a deterministic model-based estimate rather than a measured value; however, it discloses no caveats about the model's accuracy or the assumed fatigue exponent. That is adequate but not rich.

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?

One sentence, front-loaded with the outcome and ending with the mechanism — nothing wasted and nothing buried. It could be marginally tighter, but there is no filler or redundancy.

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 three-parameter, read-only computation with a fully documented schema and no output schema, the description covers what the tool produces ('finish times and paces') and the input it needs. The one gap is that, absent an output schema, it never describes the shape of the result (e.g. a per-distance list of times and paces) when target_distance is omitted.

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 description coverage is 100%, so every parameter (time format, standard-vs-kilometer distance, and the optional target with its 'omit to predict all standards' behavior default) is already documented in the schema. The description adds no syntax, units or range detail beyond that, so the baseline of 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?

The description names a specific verb and deliverable ('predict finish times and paces at other distances') plus the method used ('Riegel's formula'). That immediately separates it from the sibling tools, which by name are lookups (get_race, search_races) rather than a computation over a supplied result.

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?

The phrase 'from a recent race result' implies the prerequisite context — you call this when you already have a performance and want extrapolations — but there is no explicit when-to-use/when-not statement and no named alternative to steer toward. Usage is inferable rather than stated.

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