garmin_sync
Synchronize Garmin Connect data in the background. Then call again with refresh=False after ~2 minutes to get the final result and avoid client timeouts.
Instructions
Sync the latest data from Garmin Connect.
The sync runs in the background (~2 minutes). The first call returns immediately with status "started"; follow up with garmin_sync(refresh=False) after ~2 minutes to see the final result. This avoids MCP client timeouts (Claude Desktop ~60s) that previously made synchronous sync unusable.
Set refresh=False to just check the current state and last sync result without triggering a new sync.
Use this when:
You just finished a run/ride and want to see the new data
You want to make sure today's health data is loaded
The data looks outdated
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "garmin_sync"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |