Skip to main content
Glama

Menstrual cycle vs wellness and training

analyze_cycle_impact
Read-onlyIdempotent

Compare menstrual cycle phases with Garmin sleep, HRV, resting heart rate, stress, Body Battery, and training data to identify per-phase patterns and consistency across cycles.

Instructions

How does the user's menstrual cycle relate to their sleep, HRV, resting HR, stress, Body Battery, training or performance? One call: finds each cycle from Garmin's cycle tracking, puts every day in a phase (menstrual, follicular, ovulatory = Garmin's fertile window, luteal), and for each factor returns per-phase mean, median and day count against the user's own overall average. consistency says in how many complete cycles luteal was higher or lower than follicular (the main signal of a real pattern); confidence is low under 3 cycles or 5 days in a phase, moderate for 3-5 cycles, good for 6+. Factors: hrv, resting_hr, sleep, stress, body_battery, activities (sessions, minutes, training load, steps per day), performance (pace at the same heart rate, as analyze_recovery_impact). Set factors to what the question asks about. Returns quickly with a note when no cycle data is found (cycle tracking must be on in Garmin Connect). Patterns only, never medical advice. Defaults to the last 180 days; range up to 366 days, but a long range with many factors may be shortened from the oldest end to stay within the request limit (a note says so). detail='full' adds the per-day table.

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

Input Schema

NameRequiredDescriptionDefault
detailNocompact (default) keeps the meaningful fields in readable units; full returns Garmin's raw payload.compact
periodNoNamed period resolved in the user's time zone (weeks start Monday). Use instead of start_date/end_date.
factorsNoWhat to compare across phases. Defaults to all except performance. Pick only what's asked for a faster answer.
end_dateNoLast day, YYYY-MM-DD, inclusive. Defaults to today.
start_dateNoFirst day, YYYY-MM-DD, inclusive. Defaults to 180 days ago.
activity_typeNoFor performance: parent type key, e.g. running, cycling, walking.running

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.6.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description still adds substantive behavior: the consistency and confidence semantics with concrete thresholds (low under 3 cycles or 5 days in a phase, moderate 3-5, good 6+), the 180-day default and 366-day cap, and the truncation behavior that shortens a long range from the oldest end with an explanatory note. The 'patterns only, never medical advice' line is a useful scope boundary. It does not describe the actual response shape or field names, but the added behavioral context is well above the annotation baseline.

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 opening question front-loads the analytical purpose and the rest of the paragraph is dense with decision-relevant facts rather than filler. Some phrasing is padded ('One call:', the rhetorical question, the parenthetical on the fertile window), and the run-on sentence structure makes the confidence and factor details harder to scan than a short bulleted layout would.

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 multi-factor statistical tool with no output schema, the description supplies everything needed to call it correctly and interpret results: what is computed per phase, what the derived consistency and confidence fields mean, defaults and range limits, truncation behavior, and the empty-data case. Nothing material is left for the agent to guess.

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 the baseline is 3, and the description mostly restates rather than extends it. It does add meaning for a couple of fields, explaining what 'activities' covers (sessions, minutes, training load, steps per day) and that 'performance' is pace at the same heart rate. However, its claim that detail='full' adds the per-day table conflicts with the schema wording that full returns Garmin's raw payload, which muddies rather than clarifies that parameter.

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 a concrete analysis: it locates cycles from Garmin's cycle tracking, assigns every day a phase, and returns per-phase mean/median/day-count versus the user's own overall average. That is a specific verb-plus-resource statement that clearly separates it from raw-data siblings like get_menstrual_cycle or get_hrv, and it even cross-references analyze_recovery_impact as the model for the performance factor.

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?

It gives real usage conditions: set factors to what the question asks about, cycle tracking must be enabled in Garmin Connect, and results come back quickly with a note when no cycle data exists. It also explains how to read the consistency and confidence outputs. It stops short of explicitly routing the agent away from sibling tools (e.g. when to prefer get_menstrual_cycle for raw dates), so it is clear context rather than full when/when-not guidance.

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