garmin-connect-workouts-mcp
v1.1.3Turn plain language into real workouts on your Garmin watch: pace, HR, power, intervals, swim sets.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_garmin_workout
Create a new structured workout in Garmin Connect from typed steps: durations, pace/HR/power/cadence targets, repeat blocks for intervals, and swim-specific stroke/equipment/pool-length fields. Use to add a workout; to change one that exists, use update_garmin_workout instead. Returns the new workoutId and a Connect link. Returns a re-auth message, not an exception, if no valid session exists. Example: [{kind:'step', intensity:'warmup', duration:{type:'time', value:10, unit:'min'}}, {kind:'repeat', iterations:5, steps:[...]}].
| Parameter | Type | Description |
|---|---|---|
name * | string | Workout name, shown in Garmin Connect and on the device. |
steps * | array | The ordered list of steps and repeat blocks that make up the workout, in the order they should be performed. |
poolLength | number | Swimming only - pool length for this workout, e.g. 25. Only valid when sport is 'swimming'. |
poolLengthUnit | string | Swimming only - unit for poolLength. Defaults to 'm' when poolLength is given without a unit. |
sport | string | Sport for this workout: running, cycling, or swimming. Governs which target types apply and whether stroke/equipment/poolLength are used. Defaults to running. |
list_garmin_workouts
List workouts stored in the Garmin Connect account, most recent first, with each workout's name, sport, and workoutId. Use this to find a workoutId to pass to get_garmin_workout, update_garmin_workout, delete_garmin_workout, or schedule_garmin_workout. Read-only. If no valid session exists, returns a message asking you to run authenticate_garmin rather than throwing.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of workouts to return, most recent first. Defaults to 20, capped at 100. |
get_garmin_workout
Fetch the complete stored structure (all steps, targets, repeat blocks) of one workout by its workoutId, as raw JSON. Use this to inspect a workout, or to get its full contents before calling update_garmin_workout, which replaces the entire workout rather than patching it. Read-only. If no valid session exists, returns a message asking you to run authenticate_garmin rather than throwing.
| Parameter | Type | Description |
|---|---|---|
workoutId * | number | The numeric Garmin workout id, as returned by create_garmin_workout or listed by list_garmin_workouts. |
update_garmin_workout
Replace the entire contents (name, sport, steps, pool settings) of an existing workout, identified by workoutId, keeping its id. This is a full overwrite, not a partial patch - fields you omit are dropped. Call get_garmin_workout first to see the current contents before changing them. If no valid session exists, returns a message asking you to run authenticate_garmin rather than throwing.
| Parameter | Type | Description |
|---|---|---|
name * | string | Workout name, shown in Garmin Connect and on the device. |
sport * | string | Sport for this workout: running, cycling, or swimming. Governs which target types apply and whether stroke/equipment/poolLength are used. |
steps * | array | The ordered list of steps and repeat blocks that make up the workout, in the order they should be performed. |
workoutId * | number | The numeric Garmin workout id, as returned by create_garmin_workout or listed by list_garmin_workouts. |
poolLength | number | Swimming only - pool length for this workout, e.g. 25. Only valid when sport is 'swimming'. |
poolLengthUnit | string | Swimming only - unit for poolLength. Defaults to 'm' when poolLength is given without a unit. |
delete_garmin_workout
Permanently delete a workout from Garmin Connect by workoutId. This is irreversible - there is no undo or trash. Use list_garmin_workouts or get_garmin_workout first to confirm you have the right workoutId. If no valid session exists, returns a message asking you to run authenticate_garmin rather than throwing.
| Parameter | Type | Description |
|---|---|---|
workoutId * | number | The numeric Garmin workout id, as returned by create_garmin_workout or listed by list_garmin_workouts. |
schedule_garmin_workout
Put an existing workout on the Garmin Connect calendar for a specific date, so it appears as a planned session and can sync to a device. Requires a workoutId already created via create_garmin_workout or found via list_garmin_workouts - this tool does not create workouts. If no valid session exists, returns a message asking you to run authenticate_garmin rather than throwing.
| Parameter | Type | Description |
|---|---|---|
date * | string | Calendar date to schedule the workout on, in YYYY-MM-DD format, e.g. '2026-09-15'. |
workoutId * | number | The numeric Garmin workout id, as returned by create_garmin_workout or listed by list_garmin_workouts. |
check_garmin_auth
Probe whether the stored Garmin Connect session is still valid, using a cheap authenticated request rather than a local expiry check (Garmin's session cookie does not carry a reliable expiry). Use this first when unsure whether the other tools will work. Returns a message telling you to run authenticate_garmin if the session is missing or has expired; never throws.
authenticate_garmin
Authenticate with Garmin Connect by opening a real browser window at connect.garmin.com for you to log in normally, then capture and store only the resulting session cookies and CSRF token (never your password). Run this whenever check_garmin_auth reports no valid session, or any other tool returns its 'not authenticated' message. Requires a local display; will not work in a headless-only environment.