Skip to main content
Glama

PB-Runner: Running Coach

coach_get_athlete_overview

Read-only

COACH TOOL — pre-shaped planning context for ONE consented athlete: their full athlete profile (age, HR, goal, PBs, performance_profile incl. VDOT training paces — use these to set target paces when authoring sessions), their 10 most recent runs (same per-run summary shape as get_runs), and the current week's schedule. The recovery block (sleep/HRV/resting-HR/load context) is included ONLY when the grant carries the 'recovery' scope — otherwise it is null with recovery_reason 'recovery_scope_not_granted', and the profile's resting_hr_bpm and vo2_max_ml_kg_min read { value: null, source: null } (they are recovery-derived); respect that boundary, never infer around it. The consent grant is resolved per call (fail-closed). Read this before planning an athlete's week. Wire values are raw metric — present in the ATHLETE's units (profile.units).

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_athlete_overview"
  }
}

Input Schema

NameRequiredDescriptionDefault
athlete_idYesFrom coach_list_athletes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only cover read-only/non-destructive; the description adds the behavior that actually matters: the consent grant is resolved per call and fails closed, the recovery block is gated on the 'recovery' scope, and when denied the block is null with recovery_reason 'recovery_scope_not_granted'. It also discloses that resting_hr_bpm and vo2_max_ml_kg_min are recovery-derived and come back as { value: null, source: null }, and instructs the agent not to infer around that boundary — exactly the kind of non-obvious constraint an agent cannot get from schema or 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?

Front-loaded with the return payload, then the conditional recovery caveat, then the consent-resolution and units notes — a logical order with no filler. It is a single dense paragraph with several parentheticals, which makes it harder to scan than it needs to be, but nothing is redundant.

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?

There is no output schema, so the description carries the full burden of describing return values — and it does, down to the shape of the run summaries, the recovery block, scope-denied nulls, and the units of wire values. For an aggregate read tool with a conditional consent gate, nothing an agent needs to interpret the response is missing.

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?

With a single parameter at 100% schema coverage ('From coach_list_athletes'), the schema already carries the semantics, so baseline 3 applies. The description reinforces the consent precondition on the athlete but adds no format or sourcing detail beyond 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?

States a specific verb and resource ('get athlete overview') and then enumerates exactly what the payload contains: full profile with VDOT paces, 10 most recent runs, current week's schedule, and a conditionally-included recovery block. This composition is what separates it from the sibling single-purpose tools (get_athlete_profile, get_runs), and the 'ONE consented athlete' framing sets the scope precisely.

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?

Gives an explicit calling rule — 'Read this before planning an athlete's week' — plus a concrete downstream use ('use these to set target paces when authoring sessions'). It does not name specific alternatives (e.g., when to reach for get_runs for deeper history or get_recovery_context instead), so the routing guidance is strong but not exhaustive.

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