get_anomalies
Compares recent health marker values against your personal history to detect anomalies and list deviations worth repeating or discussing with a clinician.
Instructions
Personal-baseline anomalies: for each marker whose latest approved value is within the
last days (default 90), compares it with that marker's own earlier values (mean ± SD of up
to 90 previous values) and lists those beyond z_threshold (default 2), largest first. Skips
markers with fewer than 5 earlier values. Useful for wearables (HRV, resting HR, sleep) and
long lab histories. type_code: limit to one marker. A deviation from the user's own history
is not a diagnosis — present it as "worth repeating / discussing", never as alarming.
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_anomalies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| type_code | No | ||
| z_threshold | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |