Skip to main content
Glama

Grade-adjusted pace splits

gap_pace
Read-onlyIdempotent

Distribute a goal time across a course profile in proportion to each segment's Minetti gradient cost. Returns per-mile or per-km splits with pace, elevation gain/loss, and average grade. Source: ham.run GAP module.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
profileYesCourse profile: parallel arrays of cumulative distance and elevation.
goalTimeYesRace time, "HH:MM:SS" or "MM:SS".
splitUnitYesUnit for split intervals.km

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYesEcho of resolved input parameters.
splitsYesPer-split breakdown.
totalTimeYesGoal time formatted as HH:MM:SS.
totalDistanceMYesTotal course distance, metres.
flatEquivalentPacePerKmYesFlat-equivalent pace per km.

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint. The description adds behavioral context beyond those, including the computational method (Minetti gradient cost) and the returned metrics (pace, elevation gain/loss, average grade), which helps the agent understand what happens.

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?

The description is two concise sentences, front-loaded with the primary action and followed by output details and a source reference. No wasted words.

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 an output schema present, the description does not need to explain return values. It covers the purpose, method, split units, and source, making it complete for tool selection and invocation in the context of a course profile and goal time.

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 provides 100% description coverage for all three parameters. The description does not add syntax or format details beyond what the schema already offers, but it does tie the parameters together (goal time, profile, split unit) in the overall purpose. Baseline 3 is appropriate.

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 clearly states the tool's function: distribute a goal time across a course profile using Minetti gradient cost. It specifies the action, resource, and output (per-mile or per-km splits with pace, elevation, and grade), and distinguishes it from siblings like pacing_strategy and predict_race_time.

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?

The description implies usage context: when a goal time and course profile are available, use this to compute splits. It does not explicitly mention when not to use it or compare to alternatives, but the specific nature of the tool makes the context clear enough for an agent.

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.

TDQS

A4.1/5.0
Disambiguation5/5

Each tool targets a distinct aspect of endurance running performance: caffeine modeling, fueling, pacing, athlete data, activities, training load, heat acclimation, pacing strategy, periodization, race prediction, and running economy. No overlap.

Naming Consistency3/5

Names use snake_case but mix verb_noun (e.g., get_my_athlete, predict_race_time), noun_verb (periodization_compare), and pure noun (caffeine_protocol, fueling_plan). Inconsistent pattern but still understandable.

Tool Count5/5

11 tools cover the domain of running performance modeling without being too many or too few. Each tool serves a clear purpose within the server's scope.

Completeness4/5

Covers most core areas: personal data retrieval, activity history, training load, and multiple performance models. Minor gaps like workout creation or nutrition beyond fueling plan, but the surface is largely complete for modeling.

Resources