Skip to main content
Glama

List health metrics

list_health_metrics
Read-onlyIdempotent

List the authenticated user's daily health metrics (sleep, HRV, resting HR, body battery, VO2max, body composition, blood pressure, steps, etc.), merged across Garmin and Apple into one record per day. Supports from/to date filters, an optional single source, and a metrics whitelist. The metrics values are exact field ids, enumerated in this tool's input schema — restingHR, hrvMs, sleepDurationSec, sleepScore, bodyBatteryCharged, vo2max and so on — not prose names like restingHeartRate or sleepDuration. Omit metrics entirely to get everything recorded that day, which is the right default when you don't know what the user has. Each value reports which source it came from. When from is omitted, only the last 90 days are returned; pass from to reach further back.

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

Input Schema

NameRequiredDescriptionDefault
toNoOnly return days on or before this calendar day (YYYY-MM-DD).
fromNoOnly return days on or after this calendar day (YYYY-MM-DD). Defaults to 90 days ago.
sourceNo
metricsNoOnly return these metrics. Names must match exactly (`restingHR`, not `restingHeartRate`). Omit to get every metric recorded that day.

Output Schema

NameRequiredDescriptionDefault
daysYes
totalYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput 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 / source / enum
      Previous value: -[
      -  "oura",
      -  "whoop",
      -  "garmin",
      -  "polar",
      -  "intervals",
      -  "apple"
      -]New value: +[
      +  "oura",
      +  "whoop",
      +  "garmin",
      +  "polar",
      +  "intervals",
      +  "apple",
      +  "health_connect"
      +]
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations (which only declare read-only/idempotent/non-destructive): it discloses merge semantics across Garmin and Apple, per-value source attribution, and a silent 90-day default window that would otherwise cause an agent to under-query. Auth scope ('authenticated user') is also stated.

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 purpose, then constraints, then the default-window caveat at the end where it is most needed. Slightly long, and the field-id warning partly duplicates the `metrics` schema description, but every sentence carries actionable information.

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?

For a read-only, zero-required-parameter listing tool with an output schema, the description covers everything an agent needs: scope, date windowing behavior, field-name discipline, and provenance of each value. No important calling decision is left to inference.

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?

Adds real meaning over the schema: exact field-id naming with a counterexample (`restingHeartRate` is wrong), `metrics` omission meaning 'everything', and `from` gating the lookback window. Minor gap: it describes merging only 'Garmin and Apple' while the `source` enum supports seven providers, which could leave an agent unsure which single-source filters are valid.

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 the authenticated user's daily health metrics'), enumerates the metric families covered, and adds the key semantic detail that records are merged across sources into one row per day. This is unmistakably distinct from the sibling activity CRUD tools.

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

Usage Guidelines4/5

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

Gives concrete calling guidance: omit `metrics` when you don't know what the user records, pass `from` to reach beyond the default 90-day window, and use at most one `source`. It does not name an alternative tool or state an explicit when-not-to-use condition, but the siblings are unrelated activity operations so ambiguity is 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.

Resources