Skip to main content
Glama

PB-Runner: Running Coach

coach_get_runs

Read-only

COACH TOOL — a consented athlete's runs, newest first: the SAME payload and filters as get_runs (type, distance band in metres, category, name, n 1-50), over EVERY run the athlete has — scheduled and unscheduled alike (the grant covers the corpus). Same data conventions as get_runs: null is never zero, 'limited' gets at most a passing mention, report figures directly in the athlete's units. Runs carry distance_provenance ('recorded' | 'corrected' | 'manual') with the same semantics as get_runs — corrected/manual runs never set personal bests and never feed Race Fitness; on a manual run every metric reads not_recorded and recording_profile is not meaningful.

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": {
      "athlete_id": "<athlete_id>"
    },
    "name": "coach_get_runs"
  }
}

Input Schema

NameRequiredDescriptionDefault
nNoHow many runs (1-50, default 10)
nameNo
typeNoOptional workout_type: just_a_run | easy | tempo | long | race | intervals | trail
categoryNo
athlete_idYesFrom coach_list_athletes
max_distance_mNo
min_distance_mNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/openWorld/destructive annotations, it discloses ordering (newest first), the null-is-never-zero convention, how to treat 'limited' values, the unit-reporting rule, and full distance_provenance semantics (corrected/manual runs cannot set personal bests or feed Race Fitness; manual metrics read not_recorded). This is substantial behavioral context an agent could not infer from the annotations.

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?

The definition is front-loaded with scope and payload identity before the caveats, and every clause carries information. It is one dense block of long parenthetical sentences, which slightly hurts scanability but does not add waste.

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?

For a 7-parameter, no-output-schema read tool, the description covers ordering, filtering, data conventions, provenance caveats and consent scope, deferring payload shape to the referenced get_runs. Nothing an agent needs in order to call this correctly appears to be missing.

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?

With schema coverage at only 43%, the description compensates by naming the filter parameters (type, distance band in metres, category, name, n 1-50) and clarifying that distances are metres. It adds less on category or the min/max pair individually, and omits athlete_id detail, but that one is documented in the schema.

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 opens with a specific verb, resource and scope ('a consented athlete's runs, newest first') and explicitly distinguishes itself from the sibling get_runs by noting it returns the same payload over 'EVERY run the athlete has' rather than the caller's own data. An agent can route between coach_get_runs and get_runs 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 Guidelines4/5

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

It states the usage context clearly ('COACH TOOL', 'consented athlete', 'the grant covers the corpus'), which signals both the audience and the consent prerequisite that selects this tool over get_runs. It does not spell out a negative case (e.g. what to do if the athlete hasn't granted access), so it stops short of explicit when-not guidance.

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