get_statistics
Calculate key glucose metrics including time in range, average glucose, estimated HbA1c, variability, and time in ranges to assess overall glucose control.
Instructions
Calculate glucose statistics: Time in Range (TIR), average glucose, estimated HbA1c, standard deviation (SD), coefficient of variation (CV), and time in various ranges. Essential for understanding overall glucose control quality.
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_statistics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | Hours to analyze (default 24, max 720 = 30 days) | |
| dateTo | No | End date (ISO 8601) | |
| dateFrom | No | Start date (ISO 8601) | |
| targetLow | No | Low target in mg/dL (default 70) | |
| targetHigh | No | High target in mg/dL (default 180) |