Skip to main content
Glama

Stress

get_stress
Read-onlyIdempotent

Retrieve day-by-day Garmin all-day stress data for a date range, including 0–100 scores and time spent in high, medium, low, and rest stress, to track daily stress patterns.

Instructions

Day-by-day all-day stress over a range, one row per day as Garmin returns it: calendarDate, then values with overallStressLevel (Garmin's 0-100 score) and highStressDuration, mediumStressDuration, lowStressDuration and restStressDuration in seconds. For trends over weeks or months, or 'which weekday am I most stressed', use summarize_wellness (stress per period, group_by='weekday'); stress during sleep is avg_stress in get_sleep_summaries. Up to 92 days per call: pass a period (e.g. last_7_days, last_30_days, this_month) or start_date/end_date.

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

Input Schema

NameRequiredDescriptionDefault
periodNoNamed period resolved in the user's time zone (weeks start Monday). Use instead of start_date/end_date.
end_dateNoLast day, YYYY-MM-DD, inclusive. Defaults to start_date. Max span 92 days.
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.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the description's job is to add operational detail — which it does by disclosing one-row-per-day granularity, inclusive date semantics, the 92-day cap, and seconds as the unit for duration fields. It does not mention behavior for days with no recorded stress data, which is the main remaining ambiguity for a read tool with a hard range limit.

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?

Two dense sentences, front-loaded with the return shape before the sibling routing and input-mode guidance. The metric enumeration is long but earns its place since there is no output schema; minor trimming of the repeated 92-day cap (also in the schema) would tighten it further.

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, the description carries the full burden of explaining return values and does so precisely (calendarDate, 0-100 overall score, four duration fields in seconds). Combined with the range limit and alternatives, nothing an agent needs to call this correctly is missing.

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 100% and the schema already documents the period enum, inclusive dates, defaults, and the 92-day span, so the description's restatement of 'pass a period or start_date/end_date' adds little. The 92-day cap and example period values duplicate rather than extend the schema; baseline 3 applies.

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 concrete verb and resource ('day-by-day all-day stress over a range, one row per day') with the exact shape of each row and the units of every metric. It explicitly separates itself from summarize_wellness (trends/weekday grouping) and get_sleep_summaries (stress during sleep), so an agent can choose without inspecting schemas.

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: use this tool for per-day values, use summarize_wellness for multi-week/month trends or weekday breakdowns, use get_sleep_summaries for sleep-time stress. It also states the two mutually exclusive input modes (period vs. start_date/end_date) and the 92-day ceiling, which bounds usage.

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