query_nutrition
Calculate average daily nutrient intake over the last N days, with %RDA and deficiency or excess flags. Check if you're getting enough of a nutrient, noting that incomplete logging understates results.
Instructions
Average daily intake of every logged nutrient over the last N days, with %RDA and a flag: "deficient" (<70% of the norm) or "excess" (above the safe upper limit). Averages are per LOGGED day, so incomplete logging understates intake — check days_logged. Limit-only nutrients (sugar, added sugar, saturated fat, sodium, cholesterol) are never flagged as deficient. Use for "am I getting enough X"; for a ranked summary with food↔wellbeing associations use nutrition_report; for the meals themselves use query_food. days: look-back window (default 7).
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": "query_nutrition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |