Skip to main content
Glama

Get any daily metric

garmlink_daily_metric_get
Read-only

Generic escape hatch: any Garmin daily family by name over a date window, newest first. Returns the same compact per-day summary as the dedicated getters by default; full:true returns the RAW record (all intraday arrays), which is large. Every family except all_day_events has a dedicated getter (garmlink_sleep_get, garmlink_stress_get, …); this tool is the only one serving all_day_events, and serves the raw record of any family. Returns an error object listing valid families if the name is unknown.

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": {
      "family": "<family>"
    },
    "name": "garmlink_daily_metric_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoISO upper bound (YYYY-MM-DD), inclusive. A time part is ignored: the calendar day written is used, with no timezone conversion.
fromNoISO lower bound (YYYY-MM-DD), inclusive. A time part is ignored: the calendar day written is used, with no timezone conversion.
fullNofalse (default) = compact per-day summary; true = raw Garmin record with all intraday arrays (large).
limitNoMax days, newest first.
familyYesA daily family, one of: sleep,hrv,stress,body_battery,steps,heart_rate,training_readiness,user_summary,respiration,spo2,floors,intensity_minutes,hydration,blood_pressure,all_day_events,nutrition,menstrual

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / from / description
      Previous value: -"ISO lower bound (YYYY-MM-DD), inclusive."New value: +"ISO lower bound (YYYY-MM-DD), inclusive. A time part is ignored: the calendar day written is used, with no timezone conversion."
    • changedInput schema / properties / to / description
      Previous value: -"ISO upper bound (YYYY-MM-DD), inclusive."New value: +"ISO upper bound (YYYY-MM-DD), inclusive. A time part is ignored: the calendar day written is used, with no timezone conversion."
  2. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / required
      Previous value: -[
      -  "family",
      -  "limit",
      -  "full"
      -]New value: +[
      +  "family"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / full / description
      Previous value: -"false (default) = compact per-day summary; true = raw Garmin record with all intraday arrays (large — use a narrow window)."New value: +"false (default) = compact per-day summary; true = raw Garmin record with all intraday arrays (large)."
  4. 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 a read-only, non-destructive, closed-world read, so the burden is lower, yet the description adds real value: newest-first ordering, the size warning that full:true returns a large raw record with all intraday arrays, and the failure mode of an error object enumerating valid families. It stops short of describing pagination/truncation interaction with limit or what fields the compact summary contains.

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?

The front-loaded "Generic escape hatch" label immediately frames the tool, and the remaining sentences carry non-redundant facts about defaults, payload size, sibling coverage, and error behavior. There is mild repetition between the opening "full:true returns the RAW record" and the later "serves the raw record of any family," but nothing is wasted overall.

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 carries the return-value burden and does so: it states the default compact per-day summary, the raw alternative, ordering, and the unknown-family error. Complete enough to invoke correctly, though it never specifies what the compact summary actually contains per family, which matters given how heterogeneous the families are.

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 description coverage is 100%, so every parameter (family, from, to, limit, full) is already documented in structured form, including the family enumeration and the full:true semantics. The description reinforces the family/full distinction but adds no syntax, format, or edge-case detail beyond the schema, matching the baseline for fully-covered schemas.

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?

The description names the resource precisely ("any Garmin daily family by name over a date window") and frames the tool's role as a generic escape hatch with ordering stated ("newest first"). It explicitly distinguishes itself from the dedicated getters and carves out the one family (all_day_events) that only it serves, so an agent can place it among siblings without opening a schema.

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?

It states the condition that selects this tool versus alternatives: every family except all_day_events has a dedicated getter, and this tool is the one that serves all_day_events plus the raw record of any family. Both the default (compact summary) and the alternate mode (full:true raw) are tied to concrete situations.

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