Skip to main content
Glama

garmin_get_activity_stats

Read-onlyIdempotent

Aggregate Garmin activity totals, sport breakdowns, and weekly or monthly volume over a date range to track fitness trends and training load.

Instructions

Aggregated activity totals, sport breakdown, and weekly/monthly volume over a date range (default last 90 days).

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

Input Schema

NameRequiredDescriptionDefault
end_dateNoInclusive end date (YYYY-MM-DD). Defaults to local today.
group_byNoPeriod grouping: 'monthly' or 'weekly'.monthly
start_dateNoInclusive start date (YYYY-MM-DD). Defaults based on range window.
activity_typeNoOptional sport filter, e.g. 'running', 'cycling', 'walking'.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so safety is covered. The description adds that results are pre-aggregated and include sport and period breakdowns, which is useful beyond annotations, but it does not mention cost, pagination, or task limits. It also repeats the default window that the schema already partially documents.

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?

A single front-loaded sentence with no filler. It leads with the returned content and closes with the default window, packing scope, outputs, and defaults into minimal text.

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?

All four parameters are optional and fully documented in the schema, annotations cover the safety profile, and an output schema exists, so the description needn't explain returns. It is nearly complete, though it could have said whether groups aggregate across all sport types when activity_type is omitted.

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 baseline is 3. The description adds real value by pinning the effective default window to 'last 90 days', which the schema only vaguely calls 'Defaults based on range window'. That single clarification is what an agent most needs to reason about coverage when dates are omitted.

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-resource pair: aggregated activity totals, sport breakdown, and weekly/monthly volume over a date range. The word 'aggregated' implicitly distinguishes it from per-activity siblings like garmin_get_activity, but no sibling is named explicitly. An agent can still grasp the scope without opening the schema.

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?

Usage is only implied: the tool is for summary/rollup queries rather than single-activity lookups. There is no explicit when-to-use, when-not-to-use, or pointer to alternatives such as garmin_get_activity or garmin_search_activities for raw activity records.

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