Skip to main content
Glama

Get activity time series

garmlink_activity_timeseries
Read-only

Downsampled sample-by-sample series for an activity. The field names are the FIT ones, and pace is not among them. The series an activity can carry: heart_rate (bpm), enhanced_speed/speed (m/s, from which pace follows), enhanced_altitude/altitude (m), power (W), cadence (rpm, or steps per minute per leg when running), temperature (°C), distance (m, cumulative), position_lat/position_long (degrees — the worker converts Garmin's semicircles before storing), plus running dynamics (vertical_oscillation, vertical_ratio, stance_time, stance_time_percent, step_length) and respiration_rate. Buckets to <= points samples with per-bucket averages, and always reports the true global min/max/avg per field. Full 1 Hz data lives in the raw FIT; this is LLM-sized.

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_activity_timeseries"
  }
}

Input Schema

NameRequiredDescriptionDefault
pointsNoTarget number of downsampled points (<=1000).
metricsNoThe fields to return, e.g. ['heart_rate','power']. All fields when omitted.
activity_idYesThe garmin_activity_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / required
      Previous value: -[
      -  "activity_id",
      -  "points"
      -]New value: +[
      +  "activity_id"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / metrics / description
      Previous value: -"Restrict to these fields, e.g. ['heart_rate','power']. Omit for all."New value: +"The fields to return, e.g. ['heart_rate','power']. All fields when omitted."
  3. First observed

TDQS

A4.3/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), yet the description adds genuine behavior: bucketing to <= `points` with per-bucket averages, guaranteed true global min/max/avg per field, and semicircle-to-degree conversion of positions before storage. Missing only operational details such as auth or rate limits, which are low-stakes for a read.

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 sentence and the remaining detail is substantive rather than filler. The long field enumeration makes it a dense paragraph, but each field name/unit earns its place by defining the metrics domain.

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 explaining returns, and it does: series of buckets, averaged values, plus global min/max/avg always reported. It leaves the shape of each returned sample (time axis key, container structure) unspecified, a modest gap for an otherwise well-described tool.

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?

Schema coverage is 100%, so the baseline is 3, but the description materially enriches it: it defines the valid domain of `metrics` (the FIT field names, with units), explicitly excludes `pace` while showing pace derives from speed, and explains that `points` produces per-bucket averages rather than raw samples. That is meaning the schema's bare example cannot convey.

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?

A specific verb and resource – 'Downsampled sample-by-sample series for an activity' – with the scope made explicit (downsampled vs. the raw 1 Hz FIT). It also enumerates exactly which fields the series can carry, so an agent knows it is not the activity-summary tool.

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 line 'Full 1 Hz data lives in the raw FIT; this is LLM-sized' establishes when this tool is the right choice over full-resolution data. It stops short of naming a sibling tool or stating exclusions, so usage is clear but not fully routed.

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