Skip to main content
Glama
garmin-everything-mcp

garmin-everything-mcp

by dlekdns08

get_max_metrics_range

Read-only

Retrieve maximum metric data for a specified date range, with optional aggregation and sport filters, to analyze peak health and activity trends.

Instructions

[read-only] Return max metric data for a date range ('start'/'end' format 'YYYY-MM-DD'). Signature: get_max_metrics_range(start: str, end: str, aggregation: str = 'daily', sport: str | None = None) -> dict[str, Any] Dates are YYYY-MM-DD.

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": {
      "start": "<start>",
      "end": "<end>"
    },
    "name": "get_max_metrics_range"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYesDate as YYYY-MM-DD.
sportNo
startYesDate as YYYY-MM-DD.
aggregationNodaily

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so '[read-only]' in the description is pure duplication. Beyond that, the description only adds the date format convention; it says nothing about what 'max metrics' are, whether results are scoped to a user/sport by default, or how the aggregation affects the response.

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

Conciseness3/5

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

The date format rule is stated twice ('YYYY-MM-DD' in the first line and again in the last), and the full signature line largely duplicates the input schema. Purpose is front-loaded, but there is noticeable redundancy for such a short description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With four parameters, 50% schema coverage, and no output schema, the description should explain the aggregation options and at least characterize the returned dict. Instead it offers an opaque 'dict[str, Any]' signature, leaving an agent unable to predict what the metric keys or values will be.

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 coverage is 50%: start and end are documented in the schema, while aggregation and sport are not. The description restates the signature, showing aggregation defaults to 'daily' and sport is optional, but it never states valid aggregation values (no enum exists) or what a sport string should look like, so it only partially compensates.

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 and resource: 'Return max metric data for a date range' with explicit start/end. It is clear what the tool does, but it never differentiates itself from the sibling get_max_metrics_latest, and 'max metric data' remains an undefined concept.

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

Usage Guidelines2/5

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

No when-to-use, when-not-to-use, or alternative is mentioned. The presence of get_max_metrics_latest as a sibling makes the missing 'use this for ranges, that one for the current value' guidance a real gap, especially since the description never references it.

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

Deploy Server

Other Tools