Skip to main content
Glama

Summarize wellness trends

summarize_wellness
Read-onlyIdempotent

Summarizes wellness trends over weeks or months, returning per-period averages for sleep, resting heart rate, stress, Body Battery, intensity minutes, respiration, and HRV, with weekday grouping.

Instructions

Best tool for wellness trends over weeks or months ('has my sleep improved', 'resting HR trend this year', 'stress lately'). Returns per-period averages only: steps, resting HR, stress, Body Battery high/low, intensity minutes (totals), respiration, sleep hours/deep/REM/score, overnight HRV, with min-max ranges for key metrics and day counts where data is missing. group_by='weekday' answers 'which days do I sleep worst / most stressed'. Range up to 366 days; fetches and aggregates in the server.

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

Input Schema

NameRequiredDescriptionDefault
periodNoNamed period resolved in the user's time zone (weeks start Monday). Use instead of start_date/end_date.
includeNoData sources to include. Drop ones the question doesn't need for a faster answer.
end_dateNoLast day, YYYY-MM-DD, inclusive. Defaults to today.
group_byNomonth
start_dateNoFirst day, YYYY-MM-DD, inclusive. Required unless period is given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.4.1
    • changedInput schema / properties / period / enum
      Previous value: -[
      -  "today",
      -  "yesterday",
      -  "last_7_days",
      -  "last_28_days",
      -  "last_30_days",
      -  "last_90_days",
      -  "last_365_days",
      -  "this_week",
      -  "last_week",
      -  "this_month",
      -  "last_month",
      -  "this_year",
      -  "last_year"
      -]New value: +[
      +  "today",
      +  "yesterday",
      +  "last_7_days",
      +  "last_28_days",
      +  "last_30_days",
      +  "last_90_days",
      +  "last_180_days",
      +  "last_365_days",
      +  "this_week",
      +  "last_week",
      +  "this_month",
      +  "last_month",
      +  "this_year",
      +  "last_year"
      +]
  2. First observedv1.1.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantial behavior beyond them: results are per-period averages only, min-max ranges accompany key metrics, missing data is reported as day counts, the range caps at 366 days, and aggregation happens server-side. For a read-only summarizer with no output schema, that is exactly the extra context an agent needs.

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-loaded with the capability and example questions, then the return shape and constraints — no filler sentences. The metric enumeration is dense but justified because no output schema exists; the quoted example phrasing in parentheses is slightly heavy but each one carries routing value.

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?

With no output schema and 5 optional parameters, the description covers the return contents, the averaging caveat, missing-data handling, the time-range limit, and server-side aggregation. An agent can decide to call it and interpret the response without further information.

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 80%, so baseline is 3, but the description adds real meaning the schema lacks: it explains what group_by='weekday' is for and states the 366-day ceiling that governs period vs start_date/end_date. It does not explain the include array or week/month/total grouping, keeping it short of a 5.

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?

'Summarize wellness trends over weeks or months' is a specific verb+resource+horizon, and the parenthetical example questions ('has my sleep improved', 'resting HR trend this year') pin down the scope. It falls short of a 5 because it never names a sibling it is not — an agent comparing it to get_sleep_summaries, get_hrv_summaries or get_daily_summaries still has to infer the boundary from 'trends over weeks or months' alone.

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?

The description gives concrete when-to-use signals: multi-week/month trend questions, and a specific routing rule that group_by='weekday' answers day-of-week questions. It does not state exclusions or say what to use instead for single-day or single-metric lookups, so the alternative-selection guidance is implied rather than explicit.

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