Skip to main content
Glama

garmin_get_trends

Read-onlyIdempotent

Aggregate Garmin health and activity data into weekly or monthly trends for up to 366 days, returning compact, newest-first rollups for analysis.

Instructions

Server-side weekly or monthly trend rollups (newest-first) across up to 366 days, keeping context compact.

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

Input Schema

NameRequiredDescriptionDefault
metricsNoSubset of metrics to aggregate: daily, sleep, hrv, weight, vo2_max, activities. Omit for all.
end_dateNoInclusive end date (YYYY-MM-DD). Defaults to local today.
start_dateNoInclusive start date (YYYY-MM-DD). Defaults based on range window.
granularityNoAggregation period: 'weekly' (ISO week) or 'monthly' (YYYY-MM).weekly

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior, so the bar is lower; the description still adds real value by disclosing that rollups are computed server-side, ordered newest-first, and hard-capped at 366 days. It does not discuss rate limits or how partial/missing metric data is handled, leaving some behavioral gaps against a fully open-world hint.

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

Conciseness5/5

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

One sentence, front-loaded with the core purpose and followed immediately by the scoping constants (granularity options, 366-day cap, ordering). No filler, no restatement of the tool name.

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 a full output schema, complete parameter descriptions, and solid annotations, the description covers what an agent needs to call this correctly. The remaining shortfall is guidance on when to prefer this rollup over the many per-metric and summary siblings.

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 description coverage is 100%, so the schema already explains metrics, start_date, end_date, and granularity; the baseline would be 3. The description adds a constraint the schema does not state — the 366-day maximum window — which materially affects how an agent sets start_date/end_date, and it reiterates the weekly/monthly granularity in human terms.

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?

The description gives a specific verb+resource — server-side trend rollups — plus the granularity (weekly/monthly) and window (up to 366 days), which is enough to distinguish it from the per-metric sibling tools like garmin_get_steps or garmin_get_hrv. It stops short of naming any sibling explicitly, so the differentiation is inferential rather than stated.

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

Usage Guidelines3/5

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

The phrase 'keeping context compact' hints that this is the aggregated alternative to pulling raw daily data, but there is no explicit when-to-use or when-not-to-use statement and no named alternative such as garmin_get_daily_summaries or garmin_get_health_summary. Usage is implied rather than prescribed.

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