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.

Analyse one session (derived facts)

garmlink_session_analysis
Read-only

The derived facts for one activity, computed server-side: pace in the sport's own unit (per km, per 100 m, per 500 m, km/h), the session's detected structure (continuous vs an interval set, from the watch's own typed splits when it recorded them), rest time hiding between elapsed and moving duration, first-half vs second-half pace and heart-rate drift, time-in-zone shares, running mechanics (cadence, ground contact, stride, vertical ratio) start-to-finish, swim length statistics with misdetected lengths flagged, and a comparison against the athlete's most recent comparable session of the SAME sport at a similar distance. The numbers are computed rather than estimated; garmlink_activity_get returns the underlying raw summary, splits and HR zones.

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": {
      "activity_id": "<activity_id>"
    },
    "name": "garmlink_session_analysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
activity_idYesThe Garmin activity id to analyse.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), so the description is free to add real behavioral context: values are computed rather than estimated, interval structure depends on the watch having recorded typed splits, and the comparison is scoped to the most recent comparable session of the same sport at a similar distance. That dependency disclosure is genuinely useful. It does not mention failure modes (missing activity id, unsupported sport, no comparable session) or cost/latency, which keeps it at 4.

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?

Purpose is front-loaded in the first clause, and the routing note about garmlink_activity_get closes the passage cleanly. The middle is one very long enumerated sentence, which is dense but each listed metric corresponds to a distinct returned fact. Slightly more segmentation would improve scanability without losing content.

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?

With no output schema, the description carries the burden of describing return values, and it does so thoroughly by naming every derived metric family. For a single-parameter read-only tool that is close to sufficient. The remaining gap is edge-case behavior when data is absent or the sport lacks a metric family.

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% for the single activity_id parameter, so the schema already carries the meaning. The description only implies 'one activity' and adds no format, sourcing, or validity guidance beyond that. Baseline 3 applies when the schema does the heavy lifting.

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 ('derived facts for one activity, computed server-side') and then enumerates the concrete outputs (pace unit, interval detection, HR drift, time-in-zone, running mechanics, swim lengths, same-sport comparison). It explicitly contrasts itself with garmlink_activity_get, so the agent can distinguish it from the closest sibling without opening either schema.

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?

The closing sentence routes the agent: use this for computed facts, use garmlink_activity_get for the underlying raw summary, splits and HR zones. That is a clear alternative-and-condition pairing. It stops short of explicit exclusions (e.g. what to do when no comparable session exists or for sports without these metrics), so it is strong but not fully enumerated.

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.