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.
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) |