Skip to main content
Glama

PB-Runner: Running Coach

get_progression

Read-only

A time-ordered (oldest-first) per-run series of one metric so you can read the trend. metric: pace|heart_rate|cadence|distance|elevation_gain|gap_s_per_km|decoupling (decoupling = pa_hr_pct) or a raw metric key (running_power_w|running_speed_mps|ground_contact_time_s|stride_length_m|vertical_oscillation_m|heart_rate_bpm). Optional type filter (just_a_run|easy|tempo|long|race|intervals|trail, or all) and timeframe ({preset} = this_week (calendar week, Mon→now)|last_7_days (rolling)|this_month|last_30_days|this_year, or {from,to} supplied together). An unknown metric or type is refused with the valid list. A null value in the series = not recorded for that run; never treat it as zero. A point with walk_paced: true is a walk, not a slow run. Copies of the same run from two apps are counted once; duplicates_collapsed says how many were folded. A row whose own span is over 12 hours is never folded, so a duplicated ultra beyond that still counts as stored. runs_quarantined counts runs left out of this response entirely because their own two clocks contradict each other — a run's pause-excluded moving time exceeding its own wall clock, so it can price nothing; the key is absent when there were none, and it says something different from duplicates_collapsed: a quarantined run was dropped on purpose, not folded into another copy of itself.

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": {
      "metric": "<metric>"
    },
    "name": "get_progression"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNo
fromNo
typeNo
metricYes
presetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the read-only annotations, it explains that null values mean 'not recorded' and must not be treated as zero, that walk_paced points are walks, and that duplicate copies are collapsed with a duplicates_collapsed count. It also carefully distinguishes runs_quarantined from duplicates_collapsed, adding substantial behavioral context the annotations do not provide.

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 purpose is front-loaded in the first sentence, and most detail is necessary because the schema is undocumented. The duplicate-collapsing and quarantine explanation is dense and slightly overlong, but it is relevant and well structured rather than 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?

For a read-only metric-series tool with no output schema, the definition includes enough detail about series semantics, nulls, walks, duplicates, and quarantine behavior for an agent to interpret results correctly. It leaves no major ambiguity about what the tool returns or how to call it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With zero schema description coverage, the description carries the full burden and does so: it enumerates accepted metric keys and aliases, valid type filters, timeframe presets, and the rule that from and to must be supplied together. It also states that an unknown metric or type is refused with the valid list, which is important invocation behavior absent from 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 names a specific output shape and resource: a time-ordered, oldest-first per-run series of one metric for trend reading. That distinguishes it clearly from run-list or run-detail siblings, which return runs rather than a derived metric series.

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 gives concrete guidance on selecting metrics, optional run-type filters, and timeframe presets or explicit from/to ranges. It does not explicitly name when to prefer a sibling such as compare_runs or get_runs, so the guidance is clear but short of full alternative routing.

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