compare_periods
Compare health metrics across two time periods, like this week vs last week, and view side-by-side results with percentage changes.
Instructions
Compare health metrics between two time periods. Great for answering questions like 'How did I sleep this week vs last week?' or 'Was my HRV better last month?'. Returns side-by-side comparison with percentage changes.
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": {
"period1_start": "<period1_start>",
"period1_end": "<period1_end>",
"period2_start": "<period2_start>",
"period2_end": "<period2_end>"
},
"name": "compare_periods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period1_start | Yes | Start date of first period (YYYY-MM-DD) | |
| period1_end | Yes | End date of first period (YYYY-MM-DD) | |
| period2_start | Yes | Start date of second period (YYYY-MM-DD) | |
| period2_end | Yes | End date of second period (YYYY-MM-DD) | |
| metrics | No | Which metrics to compare (default: all available) |