STRUGGL Hybrid Coach

v1.3.2
io.github.Kubyer/struggl Checked 4 days ago Published 23 days ago

Zero-LLM-Math sports science calculators (Hyrox, 1RM/RPE, Zone 2, MEV/MRV) & workout ledger.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_coaching_brief Get Unified Coaching Brief

Fetch a signed-in athlete's complete coaching dossier in one read call: biometric profile, race goals, active injury constraints, 28-day EWMA acute:chronic workload ratio (ACWR), 17-muscle weekly MEV/MAV/MRV summary, rolling e1RM progression, focus-ranked memories, and recent sessions. Use when starting a personalized coaching, programming, or readiness turn; for a single lightweight slice without full load/memory synthesis, use `get_profile`, `get_sessions`, or `get_muscle_volume` instead. Requires OAuth 2.1 or `read`-scoped Bearer token and active Advanced trial/plan.

ParameterTypeDescription
daysintegerRolling session lookback and upcoming calendar window in days (1–90).
focusstringConcise 1-sentence summary of what the athlete is asking in this turn (e.g. 'building a 4-day powerlifting block', 'checking squat progression', 'auditing weekly back volume') so STRUGGL ranks relevan…

get_profile Get Athlete Profile & Race Goals

Read a signed-in athlete's static biometric profile (bodyweight, height, sex, primary modality, training phase), race goals, and active pain regions without session history or workload math. Use for quick biometric or race-date lookups; when prescribing workouts or assessing fatigue, use `get_coaching_brief` instead. Requires OAuth 2.1 or `read`-scoped Bearer token.

ParameterTypeDescription
focusstringConcise 1-sentence summary of what the athlete is asking in this turn (e.g. 'building a 4-day powerlifting block', 'checking squat progression', 'auditing weekly back volume') so STRUGGL ranks relevan…

get_sessions List Training Sessions

List a signed-in athlete's completed and planned workout rows over a rolling window (`days`) or on a single calendar `date`, without profile or volume synthesis. Use to inspect training logs or check one day's schedule; for full coaching readiness with ACWR and 17-muscle volume use `get_coaching_brief`, or use `log_workout` / `plan_workout` to write sessions. Requires `read` scope.

ParameterTypeDescription
datestringOptional single ISO calendar date (YYYY-MM-DD) to filter exact day entries.
daysintegerRolling lookback/lookahead window in days (1–90). Ignored when `date` is provided.
focusstringConcise 1-sentence summary of what the athlete is asking in this turn (e.g. 'building a 4-day powerlifting block', 'checking squat progression', 'auditing weekly back volume') so STRUGGL ranks relevan…

get_muscle_volume Get Weekly 17-Muscle Volume Audit

Compute a signed-in athlete's current ISO-week effective hard sets across 17 muscle groups (`1.0x` prime mover, `0.5x` synergist, `RPE >= 6` warm-up gate) from their saved STRUGGL ledger against MEV/MAV/MRV landmarks. Use only for authenticated ledger volume checks; to audit a hypothetical or unauthenticated split from raw movement counts, use `volume_audit` instead. Requires `read` scope.

ParameterTypeDescription
focusstringConcise 1-sentence summary of what the athlete is asking in this turn (e.g. 'building a 4-day powerlifting block', 'checking squat progression', 'auditing weekly back volume') so STRUGGL ranks relevan…

log_workout Log Completed Workout (Single or Batch)

Record one or a batch of COMPLETED strength, endurance, or mobility exercises into a signed-in athlete's append-only STRUGGL training ledger, updating e1RM PRs, 17-muscle weekly volume, and the STRUGGL app's read-only connector feed (with duplicate-write protection and physiology guardrail advisories). Use only for workouts already performed (prefer `sessions` batch array for multi-exercise sessions); to schedule future workouts on the calendar, use `plan_workout` instead. Requires `write`-scoped Bearer or OAuth 2.1 token.

ParameterTypeDescription
commentsstringOptional athlete notes, splits, or perceived feel for single-exercise logging.
datestringWorkout ISO date YYYY-MM-DD (defaults to today; acts as fallback date for `sessions`).
debrief_summarystringConcise coaching takeaways rendered under the workout card in the STRUGGL app feed.
distance_kmnumberCompleted distance in kilometers for running, rowing, SkiErg, or cycling.
duration_minnumberCompleted session duration in minutes for endurance or mobility work.
exercisestringExercise name when logging a single movement (omit when passing `sessions`).
exercise_typestringMovement modality for single-exercise calls (`strength`, `endurance`, `mobility`, `other`).
repsintegerCompleted repetitions per working set for a single-exercise call (1–100).
rpenumberCompleted session RPE (1–10). When omitted, inferred deterministically from the athlete's rolling 30-day e1RM capacity envelope.
session_titlestringOptional workout card header title (e.g. 'Pull Hypertrophy S20').
sessionsarrayBatch of completed exercises to log atomically as one consolidated workout card.
setsintegerCompleted working sets for a single-exercise call (1–50).
weight_kgnumberExternal load in kg (ADDED belt load for pull-ups/chin-ups/dips; total bar load otherwise).

plan_workout Plan Scheduled Workout (Single or Batch)

Schedule or update PLANNED future exercises on a signed-in athlete's STRUGGL training calendar across one or multiple dates (`replace=true` overwrites existing planned entries on covered dates while leaving completed logs untouched) and syncs a workout card to the STRUGGL app. Use only for upcoming workouts (prefer `sessions` batch array); to record already-completed training, use `log_workout` instead. Requires `write`-scoped Bearer or OAuth 2.1 token.

ParameterTypeDescription
commentsstringOptional pacing target, rest interval, or technical cue for single-exercise planning.
datestringTarget calendar date YYYY-MM-DD (required for single-exercise calls; fallback date for `sessions`).
debrief_summarystringConcise coaching rationale displayed beneath the planned card in the STRUGGL app.
distance_kmnumberPrescribed distance in kilometers for running, rowing, SkiErg, or cycling.
duration_minnumberPrescribed duration in minutes for endurance or mobility sessions.
exercisestringExercise name when scheduling a single movement (omit when passing `sessions`).
exercise_typestringPlanned movement modality (`strength`, `endurance`, `mobility`, `other`).
replacebooleanWhen true, replaces existing planned exercises on covered date(s) instead of appending.
repsintegerPrescribed repetitions per set for single-exercise calls (1–100).
rpenumberTarget RPE (1–10). When omitted, inferred deterministically from the athlete's rolling 30-day e1RM capacity envelope.
session_titlestringOptional planned session card header title (e.g. 'Hyrox Threshold + Sleds').
sessionsarrayBatch of planned exercises (across one or multiple dates) to schedule atomically.
setsintegerPrescribed working set count for single-exercise calls (1–50).
weight_kgnumberPrescribed load in kg (ADDED belt load for pull-ups/chin-ups/dips; total bar load otherwise).

hyrox_pace Hyrox Pace & Race Time Summary

Estimate top-level Hyrox finish time, compromised running pace band, total `8x1 km` run time, and Riegel 10K/Half/Marathon race equivalents from a standalone 5K time. Stateless public calculator (no auth required, subject to per-IP fair-use rate limits). Use for quick overall finish-time and pace-band estimates; for individual Lap 1–8 station-fatigued splits and Lap 1 blow-up cost use `hyrox_splits`, or use `hyrox_autopsy` to diagnose actual race splits.

ParameterTypeDescription
five_k *stringStandalone open 5 km run time as MM:SS between 12:00 and 60:00 (e.g. '21:30').
goalstringOptional target Hyrox total finish time as H:MM:SS between 0:50:00 and 4:00:00 (e.g. '1:15:00').

strength_benchmark Strength e1RM & Population Tier Benchmark

Evaluate a single lifting set's piecewise Wathan estimated 1RM (e1RM), sex/bodyweight/age-adjusted strength score (`0–100`), population tier (`untrained` to `elite`), and kg needed for the next tier. Stateless public calculator (no auth required, per-IP fair-use rate limits). Use to benchmark relative strength standards; to prescribe `reps @ RPE` working loads, gym barbell plate loading, or Karvonen Zone 2 heart rate, use `plates_zone2` instead.

ParameterTypeDescription
bodyweight_kg *numberAthlete bodyweight in kg (included in total system load for `dip`, `pull_up`, `chin_up` and allometric scoring).
lift *stringSupported benchmark compound lift identifier.
reps *integerCompleted repetitions in the set (1–20; Wathan curve caps extrapolation beyond 10 reps).
sex *stringBiological sex reference curve (`male` or `female`) for relative strength normalization.
weight_kg *numberExternal load lifted in kg (ADDED belt/vest load for `dip`, `pull_up`, `chin_up`; total bar load otherwise).
ageintegerOptional athlete age in years (13–90) for masters/youth age-coefficient adjustment.

interference_tax Concurrent Training Interference Tax Audit

Audit a multi-session weekly hybrid schedule (timestamped strength and endurance sessions) for AMPK-mTOR proximity interference (`<3h` high / `3–6h` moderate), `36h` long-run glycogen depletion before lower-body lifting, `48h` heavy-hinge CNS fatigue before speed runs, and Seiler `80/20` intensity drift. Stateless public calculator (no auth required). Use for cross-modal weekly scheduling conflicts; to audit per-muscle lifting set volume without endurance timing, use `volume_audit` instead.

ParameterTypeDescription
sessions *arrayTimestamped weekly strength and endurance sessions to check for cross-modal conflicts.
prioritystringOptional block priority (`strength` or `endurance`) weighting conflict penalties.

volume_audit 17-Muscle Fractional MEV/MAV/MRV Volume Audit

Audit an arbitrary or hypothetical weekly lifting split across all 17 muscle groups using fractional set accounting (`1.0x` prime mover, `0.5x` synergist, `RPE >= 6` hard-set gate) against Schoenfeld & Pelland MEV/MAV/MRV landmarks. Stateless public calculator (no auth required). Use when passing movement-archetype set counts directly without an account; to check a signed-in athlete's saved STRUGGL ledger volume use `get_muscle_volume`, or use `interference_tax` for strength-plus-endurance timing conflicts.

ParameterTypeDescription
entries *arrayWeekly movement entries mapped to curated biomechanics archetypes.

hyrox_splits Hyrox 8-Lap Compromised Splits & Blow-Up Model

Calculate all 8 individual `1 km` compromised Hyrox lap targets (Laps 1–8 with preceding-station fatigue multipliers, Open/Pro/Doubles division offsets, CNS sled penalty, and Lap 1 overpacing blow-up cost) from a standalone 5K time. Stateless public calculator (no auth required). Use when building a lap-by-lap pre-race execution plan; for a quick top-level finish estimate use `hyrox_pace`, or use `hyrox_autopsy` to diagnose actual post-race splits.

ParameterTypeDescription
standalone_5k_time *stringStandalone open 5 km run time as MM:SS (e.g. '21:30').
cns_penalty_sec_per_kmintegerExtra sled/CNS peripheral leg-fatigue penalty in seconds per km (0–35).
divisionstringHyrox race category adjusting station sled/wall-ball load decay offsets.
goal_timestringOptional target Hyrox finish time as H:MM:SS (e.g. '1:18:00').

plates_zone2 Working Load, Barbell Plates & Karvonen Zone 2 Calculator

Calculate prescribed working load for a target `reps @ RPE` from a reference set (accounting for full bodyweight system load on `pull_up`, `chin_up`, and `dip`), exact gym barbell plate pairs per side, and Tanaka + Karvonen Heart Rate Reserve Zone 2 bpm. Stateless public calculator (no auth required). Use for session load/plate prescription and aerobic Zone 2 HR targets; to rank a lift against population strength tiers (`untrained` to `elite`), use `strength_benchmark` instead.

ParameterTypeDescription
ageintegerAthlete age in years (14–90) for Tanaka HRmax estimation (`208 - 0.7 * age`).
bar_weight_kgnumberEmpty Olympic barbell weight in kg (typically 20 kg standard or 15 kg women's bar).
bodyweight_kgnumberAthlete bodyweight in kg (>35 and <220), added to belt load on weighted calisthenics.
liftstringTarget compound lift (`pull_up`, `chin_up`, and `dip` include bodyweight in system load).
max_hrintegerOptional lab- or field-measured HRmax in bpm (overrides Tanaka age formula when set).
ref_repsintegerRepetitions completed in the reference set (1–20).
ref_rpenumberPerceived exertion RPE of the reference set (5.0–10.0, where 10.0 = 0 reps in reserve).
ref_weight_kgnumberReference set external load in kg (ADDED belt load for `pull_up`, `chin_up`, `dip`).
rest_hrintegerMorning resting heart rate in bpm (32–110) for Karvonen Heart Rate Reserve zones.
sexstringBiological sex (`male` or `female`) used for strength context.
target_repsintegerDesired repetitions per working set to prescribe load for (1–20).
target_rpenumberDesired effort RPE for the prescribed working set (5.0–10.0).

hyrox_autopsy Hyrox Post-Race Split & Station Variance Autopsy

Diagnose completed or simulated Hyrox race results by comparing actual `8x1 km` run splits and 8 functional station times against empirical compromised pacing targets and P25–P75 station variance benchmarks. Stateless public calculator (no auth required). Use post-race or post-sim when actual run or station splits exist; to project pre-race target splits from a 5K time alone, use `hyrox_splits` or `hyrox_pace` instead.

ParameterTypeDescription
standalone_5k_time *stringAthlete's standalone open 5 km run time as MM:SS (e.g. '22:30') anchoring expected pace.
actual_finish_timestringOptional official chip finish time as H:MM:SS.
run_timesarrayOptional 8 actual 1 km Hyrox run lap splits in race order as MM:SS strings.
station_timesobjectOptional actual station split times (MM:SS) keyed by station slug (`skierg`, `sled_push`, `sled_pull`, `burpees`, `row`, `farmers_carry`, `lunges`, `wall_balls`).
total_run_timestringOptional cumulative 8 km run split total as MM:SS or H:MM:SS when individual laps are unavailable.