Garmin MCP Lite
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| garmin_statusA | Check whether the one-time logins are in place before using the other tools. Every other tool needs a Garmin token (one-time
|
| garmin_activitiesA | List recent activities filtered by date range and type. Args: start_date: Start date in YYYY-MM-DD format. Defaults to 7 days ago. end_date: End date in YYYY-MM-DD format. Defaults to today. activity_type: Filter by sport type. One of: running, cycling, swimming, diving, all. limit: Maximum number of activities to return. |
| garmin_activity_detailA | Get detailed metrics for a single activity by ID. Args: activity_id: The Garmin activity ID. fields: Optional list of extra data sections to include. Supported values: "splits", "hrZones", "laps". Omit to return the basic summary only. |
| garmin_training_planB | Get the scheduled training workout for a specific date. Args: date: Date in YYYY-MM-DD format. Defaults to today. |
| garmin_training_statusA | Get current training status summary. Returns training status label, VO2Max, acute training load, load focus distribution (aerobic_low / aerobic_high / anaerobic), recovery time, training readiness score, and sleep score. Cost: ~10 API requests — the readiness scan covers 7 days (in parallel) because Garmin exposes it one day at a time. |
| garmin_healthA | Get health metrics for a specific date. Args: metric: The health metric to retrieve. Options: - "sleep" : Sleep duration, stages (deep/REM/light), and quality score. - "hrv" : HRV status, weekly average, and last-night reading. - "stress" : Average and peak stress levels. - "body_battery" : Body battery charge/drain, peak, and current level. - "spo2" : Blood oxygen saturation (average, lowest, latest). - "respiration" : Respiration rate (average, min, max). - "intensity" : Weekly intensity minutes vs. goal (moderate + vigorous). - "steps" : Daily step count vs. goal, floors climbed, and resting HR. - "all" : All of the above combined (default). date: Date in YYYY-MM-DD format. Defaults to today. |
| garmin_gearB | Get the gear library (shoes, bikes, etc.) with real cumulative mileage for each item. |
| garmin_deviceB | Get connected device information including firmware version, update availability, primary tracker role, and registration date. |
| garmin_hr_trendA | Get resting heart rate historical trend data. Args: period: Time window. One of: "7d" (7 days), "30d" (30 days), "90d" (90 days). Cost: one API request per day in the window (plus one more for days without a readiness entry), fetched six at a time — a 90d scan takes seconds, not minutes, but is still ~90 requests. |
| garmin_weekly_statsA | Get aggregated training volume statistics for a given period. Args: period: Time period. One of: "week" (7 days), "month" (30 days), "year" (365 days). |
| garmin_coachB | List active Garmin Coach training plans. |
| garmin_eventsA | Get upcoming race events from the Garmin calendar, including target distance and goal finish time. Events before today are dropped and the rest are returned soonest first. An event whose date cannot be parsed is kept at the end rather than silently lost. |
| garmin_add_eventB | Add a calendar race or event to Garmin Connect. Args: name: Event name (required). date: Event date in YYYY-MM-DD format (required). distance_km: Event distance in kilometers (e.g. 21.0975 for half marathon, 42.195 for marathon). goal_time: Target finish time in H:MM:SS or MM:SS format (e.g. "1:32:05", "3:00:00"). is_race: Whether this event is a race (defaults to True). is_primary: Whether this is the primary focus event in Garmin (defaults to False). event_type: Sport type (defaults to "running"). start_time: Start time in HH:MM format (optional). time_zone_id: Timezone string if start_time is given (defaults to "Asia/Shanghai"). location: City or venue location name (optional). note: Description or note (optional). |
| garmin_delete_eventB | Delete a calendar event from Garmin Connect by its event ID. Args: event_id: The numeric event ID (from garmin_events). |
| garmin_schedule_running_workoutB | Create a structured running workout and schedule it to Garmin Connect calendar. Args: name: Workout name (e.g. 'W1D2-E有氧跑10K'). date: Schedule date in YYYY-MM-DD format. description: Description of the workout. steady_km: Distance in km for a simple steady run (e.g. 10.0). pace_min: Faster pace bound (e.g. '5:20'). pace_max: Slower pace bound (e.g. '5:35'). warmup_km: Warmup distance in km (optional). warmup_pace_min: Warmup faster pace bound (optional). warmup_pace_max: Warmup slower pace bound (optional). intervals: List of interval dicts, each with keys like: {'distance_km': 6.0, 'pace_min': '4:25', 'pace_max': '4:30', 'description': 'Tempo'} or {'duration_min': 30.0, ...}. cooldown_km: Cooldown distance in km (optional). cooldown_pace_min: Cooldown faster pace bound (optional). cooldown_pace_max: Cooldown slower pace bound (optional). |
| garmin_schedule_cycling_workoutB | Create a structured cycling workout with power/FTP targets and schedule it to Garmin Connect calendar. Args: name: Workout name (e.g. 'FTP 75% 有氧骑行'). date: Schedule date in YYYY-MM-DD format. description: Description of the workout. steady_min: Duration in minutes for a steady state ride (e.g. 45.0). target_watts_min: Lower power target in watts (e.g. 140.0). target_watts_max: Upper power target in watts (e.g. 155.0). target_ftp_pct_min: Lower power target as % of FTP (e.g. 70 for 70% FTP). target_ftp_pct_max: Upper power target as % of FTP (e.g. 80 for 80% FTP). warmup_min: Warmup duration in minutes (optional). warmup_watts: Warmup target watts (optional). intervals: List of interval dicts, each with keys like: {'duration_min': 5.0, 'watts_min': 180, 'watts_max': 200, 'description': 'Z4 Interval'} or {'ftp_pct_min': 100, 'ftp_pct_max': 105, ...}. cooldown_min: Cooldown duration in minutes (optional). |
| garmin_cycling_powerA | Get cycling FTP, power load (NP, IF, TSS), cadence, and recent rides metrics. Args: activity_id: Specific cycling activity ID to inspect details for (optional). limit: Maximum number of recent cycling rides to return when activity_id is omitted (default: 5, max: 20). |
| garmin_strength_analysisA | Get strength training analysis (active sets, reps, volume load, muscle groups, and runner fatigue advice). Args: activity_id: Specific strength training activity ID to inspect details for (optional). limit: Number of recent strength activities to summarize when activity_id is omitted (default: 5, max: 20). |
| garmin_challengesA | Get in-progress challenges and badge completion status, including virtual challenges and monthly badges. |
| garmin_race_predictionA | Predict finish times for the 5K, 10K, half marathon and marathon. Garmin derives these from recent running activities, so an account with no recent runs returns nothing. Args: period: "today" returns the current prediction only. "90d" or "1y" also reports how each prediction moved across that window (change_s is negative when the athlete got faster). |
| garmin_personal_recordsB | Get personal records (PRs) with the activity each one was set in. Args: sport: Restrict to one discipline. One of: all, running, cycling, swimming, steps. |
| garmin_zonesA | Get heart rate zone boundaries and threshold values for one sport. Use this to interpret the heart-rate-zone durations returned by
Args: sport: Which zone configuration to return. One of: running, cycling, swimming, default (Garmin's account-wide default). |
| garmin_body_compositionA | Read weight and body-composition history from Garmin Connect. Use this before Mass fields are converted to kilograms and null fields are omitted, so a
record only carries the metrics that were actually measured. Most accounts
only ever have Args: days: How many days back to look. Defaults to 90, capped at 730. limit: Maximum number of records to return, newest first. Defaults to 60. |
| garmin_add_body_compositionA | Write one weight / body-composition measurement to Garmin Connect. THIS WRITES TO YOUR GARMIN ACCOUNT. Garmin stores it as a FIT body-composition file, the same channel its own Index scale uses, so the entry shows up in the Garmin Connect app's weight chart. Confirm the numbers with the user before calling this: there is no undo through this tool. Garmin keeps every entry, so calling twice for the same day can leave two
weigh-ins. The response includes a Args:
weight: Body weight in KILOGRAMS (e.g. 70.5). Values above 500 are
rejected as an accidental gram value.
date: When the measurement was taken. |
| garmin_sync_weightA | Copy recent weigh-ins from the Xiaomi scale into Garmin Connect. Use this instead of Every weighing becomes its own entry, with the time it was taken: morning fasted and evening before bed are two measurements, ten weighings make ten entries. Only the scale's double upload — a weight-only row followed by the full row seconds later — is folded into one, keeping the richer row. A weighing Garmin already holds (same moment within three minutes) is skipped, so re-running writes nothing. Matching is by moment rather than by day, which is what lets a second weighing on the same day through while still recognising the first. Weights that look wrong are refused, because Garmin keeps every entry and
there is no undo: with ≥3 Garmin weigh-ins in the window, anything more
than ±40% off their median is skipped (a 斤 mis-read is exactly 2× kg);
without Garmin history, weights outside 30–250 kg are skipped. Skips are
listed with the reason — override one manually with
Deleting a weigh-in in the Mi Fitness app does NOT remove it from Garmin: this tool has no delete path. Remove stray entries in the Garmin Connect app itself. THIS WRITES TO YOUR GARMIN ACCOUNT unless Requires a one-time interactive login ( Args: days: How far back to look, in days. Defaults to 7, capped at 90. dry_run: Report what would be written without writing anything. |
| garmin_sync_healthkitA | Copy weigh-ins bridged from Apple Health into Garmin Connect. Use this when the measurement came from a scale that is NOT bound to Mi Fitness but whose app writes to Apple Health. Not every app does: 蚂蚁阿福 writes nothing at all, which is what the README's Step 0 check exists for. Requires the one-time iPhone Shortcut described in the README's "Apple Health bridge" section; the file it appends to is the only input. The same guarantees as THIS WRITES TO YOUR GARMIN ACCOUNT unless Args: days: How far back to look, in days. Defaults to 30, capped at 90. dry_run: Report what would be written without writing anything. |
| garmin_hrv_statusA | Get overnight HRV (Heart Rate Variability) status, baseline, and recovery guidance. Args: date: Date in YYYY-MM-DD format (defaults to today). |
| garmin_dive_logsA | Get freediving and scuba diving logs and metrics (depth, bottom time, water temperature, dive reflex HR). Args: limit: Number of recent dive activities to return (default: 5, max: 20). activity_id: Specific dive activity ID to fetch details for (optional). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 28 tools
Most tools map cleanly to a distinct data domain (activities, gear, events, challenges, dive logs, device), and descriptions explicitly cross-reference each other (zones ↔ activity_detail, body_composition → add_body_composition). Real overlaps exist though: `garmin_health` with metric="hrv" duplicates `garmin_hrv_status`, the default metric="all" overlaps `garmin_training_status` and `garmin_weekly_stats`, and `garmin_status` (auth check) versus `garmin_training_status` invites misselection by name alone. The three weigh-in writers are well differentiated by data source, so the ambiguity is limited rather than systemic.
All names use a `garmin_` prefix with snake_case, following a sensible read=noun (garmin_activities, garmin_gear) / write=verb (garmin_add_event, garmin_delete_event, garmin_sync_weight) pattern. Minor deviations: `garmin_status` is a bare noun for an auth check and reads confusingly next to `garmin_training_status`, and mutations mix `add_`, `schedule_`, and `sync_` prefixes.
At 28 tools the surface is heavy for a 'lite' server, and a few could be consolidated (garmin_health's catch-all metric overlaps dedicated HRV/training-status tools; three separate weigh-in write paths). However, the breadth is genuinely driven by the fitness domain — sports, workouts, body composition, coaching, events — so each tool is at least plausibly earning its place rather than padding.
Read coverage is excellent across activities, health metrics, training status, PRs, zones, events, gear, dives, and body composition, and calendar events have full create/read/delete plus structured workout scheduling. The notable gaps are deliberate and documented: no delete/undo for weigh-ins or body-composition entries and no workout deletion or editing, which forces agents to tell users to fix things in the Garmin Connect app.