get_cardiac_drift_analysis
Measure aerobic decoupling by computing the percentage change in power:HR ratio between the first and second half of a Garmin activity. Requires power and 3600+ records with HR.
Instructions
Measure cardiac drift (aerobic decoupling) for a specific activity.
Returns the percentage change in the power:HR ratio from the first half of the activity to the second. Where the boundary between "coupled" and "decoupled" sits is a coaching decision, so no label is attached — a common reading is that beyond about 5% the athlete was decoupling, but that number belongs in the coaching layer.
TWO PRECONDITIONS, both checked before you waste a call:
The activity must carry POWER. Drift is a power:HR ratio, so heart rate alone cannot produce it. Cycling needs a power meter. Running usually does not — most modern Garmin watches estimate running power natively and record it on every sample.
At least 3600 records with both power and heart rate, which is 60 minutes at 1-second sampling. Shorter sessions do not qualify, and a device set to smart recording rather than 1-second sampling may not reach it even on a long one.
When either fails the response is an error with a reason naming
which, plus records_total, records_with_power and
records_usable so the gap is visible. That is a limitation of the
recorded data, not a fault in the activity — do not report it as a
training finding.
Args: activity_id: Garmin activity ID (numeric or string)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activity_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |