Annual Training Plan periodization
New icu_get_annual_training_plan tool reads Annual Training Plan (ATP) periodization straight from the calendar: weekly load targets (TSS), Base/Build/Peak phase blocks, and per-week ATP notes as structured week_note objects — only ATP-generated notes are attached, so an overlapping personal calendar note never masquerades as a plan note. Defaults to a 365-day forward window; narrow with days_ahead/days_back. Contributed by @jorge-huxley.
Activities by date window
New icu_get_activities_by_date tool lists activities in an explicit historical window (oldest/newest, YYYY-MM-DD, both inclusive), bounded only by limit (default 500, newest-first). Previously icu_get_recent_activities — anchored to today and capped at 100 — made windows like "all my runs from June to November" unreachable. Contributed by @rfrancica.
Fixes
icu_get_activities_aroundfailed with HTTP 422 on every call: the client sent query paramsid/countwhere the API requiresactivity_id/limit. Fixed by @rfrancica.- The
intervals-icu://workout-syntaxresource now documents meters asmtrand yards asyrd. Intervals.icu parses a baremas minutes, so the previous docs led LLMs to write400mfor a 400 m swim step — parsed as 400 minutes, inflating a 2500 m swim into ~417 km. A note now spells out them-means-minutes rule.
Notes
client.get_activities()now passeslimitto the API as a query param instead of fetching the entire date range and truncating client-side — identical results, far less data over the wire for wide windows.- First release under the narrowed SemVer contract (see the CHANGELOG header): only integration-breaking changes — removing/renaming tools or parameters, config env var semantics, default tool registration, removing information from responses — force a major bump. Information-preserving response-shape changes now ship as minor.
- Default (safe-mode) tool count goes 55 → 57 (58 → 60 in full mode).
Full Changelog: v4.0.0...v4.1.0