analyze_meal
Assess post-meal glucose response by locating the meal bolus, tracking glucose before, during, and after, and calculating peak, rise, and recovery metrics to determine bolus adequacy.
Instructions
Automatically analyze post-meal glucose response. Finds the meal bolus/carbs entry, tracks glucose before, during, and after the meal. Calculates: pre-meal glucose, peak value, time to peak, rise amount, time to return to range. Assesses bolus adequacy.
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_meal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meal_time | No | Meal time (ISO 8601 or 'YYYY-MM-DD HH:mm'). If omitted, finds the most recent meal bolus. | |
| hours_after | No | Hours to analyze after the meal (default 3) |