Skip to main content
Glama

list_metrics

Read-only

List health metrics available for this user. Metrics are grouped under a Source: <name> header per connected source; each line gives the metric name, record count, date range, unit, and the devices that wrote it. Metrics flagged [raw available] carry a full JSON payload (per-exercise sets, hypnograms) that can be fetched via query_metrics with include_raw: true. Metrics flagged [raw-only — fetch with include_raw] are intra-day sample bundles (e.g. activity_HR_samples for Suunto); the data lives in the raw payload, not in numValue. For these, request include_raw to get the ts/v arrays. For a daily figure of per-reading data, pass granularity to query_metrics: freddy computes it from the readings on request. Older days can also hold _avg/_min/_max rows that freddy stored before. For Apple Health cumulative metrics (steps, energy, distance, …) and Health Connect activity metrics (steps, distance, energy, floors, elevation, wheelchair pushes) the <metric>_total twin under device "Merged" is the hub's own de-duplicated daily total across every app that writes into it; it is NOT the sum of the per-app rows. Prefer it for a daily figure, and never add the per-app rows of the bare metric together. Health Connect does not de-duplicate hydration or nutrition, so those have no twin. (Suunto's _total names are plain daily sums.) Lines may show "device: " (or "devices: …" with per-device counts) when a source reports data from more than one device; pass that device to query_metrics to filter. Pass provider to list one source only — worth doing when the response says a source was not fully listed, or to keep the response small on an account with many sources. When you present Garmin data to the user, attribute it as "Garmin [device model]" (or just "Garmin" when no device is shown), per Garmin's brand requirements.

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": "list_metrics"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNoContinue a truncated listing: return only metrics after this name. Pass the value the previous response's continuation hint gave you, together with the same `provider`.
providerNoList only this source (e.g. 'garmin', 'oura', 'apple-health'). Omit to list every connected source. Use it to follow up when a response reports that a source was not fully listed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changed
    • changedInput schema / properties / after / maxLength
      Previous value: -128New value: +200
  3. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, non-destructive), and the description adds substantial behavior beyond them: response grouping under `Source: <name>` headers, per-line fields (name, record count, date range, unit, devices), continuation/truncation behavior, de-duplication semantics of `_total` twins, and Garmin attribution requirements.

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 purpose is front-loaded, but the body is a dense wall of parenthetical asides, with some material (granularity, include_raw, freddy's `_avg` rows) arguably belonging to query_metrics documentation. Nearly every sentence carries information, yet readability and scannability suffer from the lack of structure.

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

Completeness5/5

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

There is no output schema, and the description compensates thoroughly by describing the return format, headers, per-line fields, flags, and truncation/continuation, which is exactly what an agent needs to interpret results from this zero-required-parameter 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 baseline would be 3, but the description adds the practical motivation for `provider` (smaller responses on many-source accounts, following up on partial listings) and explains how the device info surfaced in results maps back to a query_metrics filter — a connection the schema does not make.

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 — 'List health metrics available for this user' — and immediately distinguishes itself from the sibling query_metrics by framing itself as discovery of what exists rather than retrieval of values.

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 routing rules: use query_metrics with include_raw for [raw available] and [raw-only] metrics, pass granularity for daily figures from per-reading data, pass provider to narrow one source or when a source was truncated, and pass device to filter multi-device sources. It also states a clear prohibition — never sum per-app rows of the bare metric.

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