Skip to main content
Glama
This connector has been deprecated

Replaced by garmlink.

Duplicate listing of the same server (same endpoint, https://api.garmlink.ai/mcp). garmlink is maintained under ai.garmlink.api/garmlink.

Trigger a Garmin sync

garmlink_sync_refresh

Triggers an on-demand sync that fetches the freshest data from the user's Garmin account (it contacts Garmin; the only tool that does). Rate-limited to at most once per 15 minutes; if a sync ran recently it returns status:rate_limited with retry_after_s. Non-destructive — it only fetches and appends new data, never deletes anything. Returns {status:'started'} on success; {status:'queued', queued:true, resume_at, message} when the sync service has no free slot or Garmin asked it to pause: the request is kept and starts by itself as soon as a slot frees up (usually within a few minutes), or at resume_at (ISO) during a pause, and is not counted against the limit; {status:'already_running'} when a sync is already in progress. On success it also returns whatever the worker echoed back — sync_run_id is present only when the worker supplies it; garmlink_sync_status reports the sync's progress either way. Requires a connected account; returns {error:'not_connected'} otherwise. On the demo account there is nothing to fetch: it returns {status:'demo', message} and starts no sync. When the sync service cannot be reached it returns {error:'worker_unavailable', detail}.

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": "garmlink_sync_refresh"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Goes well beyond the annotations: discloses the 15-minute rate limit, the exact status payloads (rate_limited, queued, already_running, started, demo), the not_connected prerequisite, and worker_unavailable failure. It also clarifies that queued requests are not counted against the limit and resume automatically — behavioral detail an agent cannot infer from readOnlyHint=false / openWorldHint=true.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads purpose and the rate-limit constraint, and every clause is substantive rather than filler. However, the return-status enumeration is packed into a single dense paragraph and would be easier to scan as a list, and the 'whatever the worker echoed back' sentence is slightly convoluted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description carries the full burden of return values and does so for every branch (started, queued, already_running, rate_limited, demo, not_connected, worker_unavailable). For a zero-parameter, externally-calling tool, nothing an agent needs to call it or interpret the result is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there is no parameter meaning to convey; the baseline of 4 applies. The description correctly spends its space on outcomes instead of inventing parameter detail.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — 'triggers an on-demand sync that fetches the freshest data from the user's Garmin account' — and explicitly claims exclusivity ('the only tool that does' contact Garmin). That separates it cleanly from garmlink_sync_status, which is named later as the progress reporter.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear context for use (fresh data requires this tool because nothing else contacts Garmin) and routes the agent to garmlink_sync_status for progress rather than re-triggering. It does not spell out an explicit 'do not call when data was just synced' rule beyond the rate-limit consequence, so it falls short of full when/when-not guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.