Skip to main content
Glama

Get any snapshot by kind

garmlink_snapshot_get
Read-only

Any stored snapshot by its kind, so every synced snapshot type is reachable, even those without a dedicated tool. Returns the most recent snapshots for that kind first. Catch-all for snapshot kinds that have no dedicated tool.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "kind": "<kind>"
    },
    "name": "garmlink_snapshot_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesA snapshot kind, e.g. training_status, max_metrics, race_predictions, gear, devices, badges, goals, golf_summary, endurance_score, hill_score, personal_records, body_composition, hr_zones, power_zones, cycling_ftp, fitness_age, profile
limitNoMax snapshots

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / required
      Previous value: -[
      -  "kind",
      -  "limit"
      -]New value: +[
      +  "kind"
      +]
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, non-destructive and closed-world, so safety is covered. The description adds genuine value with the ordering contract ('most recent snapshots for that kind first'), but says nothing about the limit default of 10, the maximum of 200, or what a snapshot record contains — details an agent needs when it decides how much data to pull.

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

Conciseness3/5

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

Three sentences, but the first and third say the same thing — 'even those without a dedicated tool' and 'Catch-all for snapshot kinds that have no dedicated tool' are near-duplicates. Tightening to two sentences would front-load the catch-all routing rule and drop the restatement.

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

Completeness4/5

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

For a simple two-parameter read with full schema coverage and annotations carrying the safety profile, the description covers purpose, routing and ordering adequately. The remaining gap is minor: no hint about how many results come back by default or that a higher limit costs more, which matters for an agent deciding between this and a per-kind tool.

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

Parameters3/5

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

Schema description coverage is 100%: the 'kind' field already enumerates example values (training_status, max_metrics, gear, golf_summary, etc.) and 'limit' documents default 10, min 1, max 200. The description adds only the recency ordering, which is a modest supplement rather than new meaning for either parameter.

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

Purpose4/5

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

States a specific verb and resource ('get ... snapshot by its kind') and clarifies it is the generic retrieval path for snapshot kinds, which separates it from the many per-kind siblings such as garmlink_body_composition_get. The opening clause largely restates the title, so the real differentiation comes from the later 'catch-all' sentence rather than the lead.

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?

It establishes the selection condition clearly: use this when a snapshot kind has no dedicated tool, so every synced type stays reachable. It stops short of explicitly telling the agent to prefer the dedicated tool when one exists (e.g. garmlink_goals_get for 'goals'), leaving that routing inference to the reader.

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.

Resources