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.

Get weekly totals

garmlink_weekly_totals_get
Read-only

A year of WEEK-level totals in one payload — steps (total and daily average, distance, days the watch was worn), stress, and intensity minutes against the weekly goal. Garmin computes these week buckets itself, and they cover questions like 'how has this year gone' or 'which week was my biggest'; the same totals summed from daily rows take a long range and count partially-worn days as low ones. Single days and short spans are covered by the daily tools (garmlink_steps_get, garmlink_stress_get, garmlink_intensity_minutes_get). A series Garmin had nothing for is absent from the payload rather than present and empty.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax weekly-rollup snapshots, newest first (each carries a year of weeks).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false. The description adds genuinely new behavior: the buckets are computed by Garmin rather than derived locally, and a series with no data is omitted from the payload instead of appearing empty — important for interpreting results. It stops short of describing ordering/pagination beyond 'newest first' implied by the schema.

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 the payload scope, then usage questions, then the sibling routing, then the absence-semantics caveat. Dense but every clause carries information; the parenthetical '(total and daily average, distance, days the watch was worn)' is slightly listy but justified by three distinct sub-metrics.

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 takes on return-value disclosure and does so well (metrics included, absent-series behavior). An agent can call this correctly without further context; only the interaction between limit>1 and the year-per-snapshot structure is left to the schema.

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?

The single 'limit' parameter has 100% schema description coverage including default, min/max and the meaning of each snapshot carrying a year of weeks. The description says nothing about limit or how multiple snapshots relate, so it adds no parameter meaning beyond the schema — the baseline 3 applies.

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 — 'A year of WEEK-level totals in one payload' — and enumerates the metrics returned (steps with total/daily average/distance/wear days, stress, intensity minutes vs goal). The scope (weekly buckets, year each) separates it cleanly from the daily-step/stress/intensity siblings.

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

Usage Guidelines5/5

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

Gives explicit when-to-use cases ('how has this year gone', 'which week was my biggest') and explicitly routes single days and short spans to garmlink_steps_get, garmlink_stress_get and garmlink_intensity_minutes_get. It also explains why the week rollup beats summing daily rows (long range, partially-worn days counted as low).

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.