Skip to main content
Glama

Get training load (own model)

get_load
Read-only

Computes training load, CTL/ATL/TSB, ACWR, monotony and strain from power, pace, heart rate or RPE, plus weekly volume and intensity distribution to track fitness, fatigue, form and ramp rate.

Instructions

Training load from the server's own transparent model: TSS per activity from power, else pace, else heart rate, else session RPE, with the thresholds in effect on each date. Use it for fitness, fatigue and form trends, ramp rate, weekly volume and intensity distribution (time below LT1, % in Z1, polarisation). Not Garmin's EPOC load: Garmin's status and CTL/ATL/TSB from Garmin's load are get_training_status, a go/no-go for today get_readiness. Returns CTL/ATL/TSB, ACWR, monotony and strain on to (latest), warning flags, ISO weeks per sport (sessions, hours, km, TSS, hrTSS, Garmin load, hours in Z1-2/Z3/Z4-5), the 3-zone split against LT1/LTHR of the last 28 days and the thresholds used; the include_* options add detail.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_load"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoDefault: today
fromNoDefault: 27 days before `to`
flagsNoOwn flag thresholds, any of (default): acwr_high 1.5, acwr_warn 1.3, acwr_low 0.8, monotony_high 2, tsb_low -30, tsb_fresh 15, week_jump_pct 15, z1_min_pct 75, rpe_calibration 0.23, hr_method zones, intensity_sports [run, bike, nordic, row]
sourceNoauto: power, pace, HR, then RPE per activity; hrtss: HR only; garmin_load: Garmin activity training loadauto
include_seriesNoAdd the daily TSS, CTL/ATL/TSB, ACWR, monotony and strain
include_by_sportNoAdd CTL/ATL/TSB/ACWR per sport group (`by_sport`, plus run_ctl… columns in the series); the total stays the default
include_dynamicsNoAdd monthly cadence, GCT, VO, VR and stride of road runs, also at a reference pace (`_at_ref`)
include_activitiesNoAdd per activity TSS, IF, load_source, EF, cadence, running dynamics and, for sessions of 60+ min below LTHR with downloaded laps, aerobic decoupling (% EF drop from first to second half)
include_efficiencyNoAdd the monthly EF trend with decoupling as in include_activities

Output Schema

NameRequiredDescriptionDefault
dataYes
metaYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.6.2
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / properties / include_activities / description
      Added value: +"Add per activity TSS, IF, load_source, EF, cadence, running dynamics and, for sessions of 60+ min below LTHR with downloaded laps, aerobic decoupling (% EF drop from first to second half)"
    • addedInput schema / properties / include_by_sport / description
      Added value: +"Add CTL/ATL/TSB/ACWR per sport group (`by_sport`, plus run_ctl… columns in the series); the total stays the default"
    • addedInput schema / properties / include_dynamics / description
      Added value: +"Add monthly cadence, GCT, VO, VR and stride of road runs, also at a reference pace (`_at_ref`)"
    • addedInput schema / properties / include_efficiency / description
      Added value: +"Add the monthly EF trend with decoupling as in include_activities"
    • addedInput schema / properties / include_series / description
      Added value: +"Add the daily TSS, CTL/ATL/TSB, ACWR, monotony and strain"
  2. First observedv0.6.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint, so the description carries the real weight and does: it discloses the fallback computation order, that thresholds in effect on each date are used, that results are anchored on `to` ('latest'), and that warning `flags` are returned. It does not state cost, latency, or data-completeness caveats for missing power/HR streams, which keeps it below 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded with the core model, which is good, but the final sentence becomes a comma-spliced enumeration of return fields that largely duplicates the existing output schema. Heavy parentheticals and unexpanded abbreviations (TSS, LT1, ACWR, EF, GCT, VO, VR) make it dense rather than scannable.

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 9-parameter analytics tool with an output schema and annotations, the description supplies the model rationale, sibling routing, and the shape of the headline outputs (CTL/ATL/TSB, ACWR, monotony, strain, 3-zone split). The only shortfall is that the include_* flags are described collectively rather than individually.

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 the baseline is 3; the description's contribution is limited to noting that 'the include_* options add detail' and that the thresholds in effect are surfaced. It does not explain the tradeoffs between include_series/include_by_sport/include_dynamics or clarify the `to` value as distinct from the schema's date pattern.

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 the resource and its provenance precisely: 'Training load from the server's own transparent model', then spells out the TSS derivation chain (power, else pace, else HR, else session RPE). It explicitly distinguishes itself from Garmin's EPOC-based load and names the siblings that serve that data (get_training_status, get_readiness), so an agent can route without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

It gives positive use cases (fitness/fatigue/form trends, ramp rate, weekly volume, intensity distribution) and explicit exclusions ('Not Garmin's EPOC load... get_training_status', 'a go/no-go for today get_readiness'). Both the when and the when-not are stated with named alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.