Compare two days
nourish_compare_daysCompare two days of nutrition to reveal per-nutrient differences, including protein, carbs, fat, fiber, sugar, sodium, and changes by meal type. Identify what shifted between dates to guide coaching decisions.
Instructions
Compute a per-nutrient diff between two days' summaries. Returns deltas (date_b - date_a) for calories, protein, carbs, fat, fiber, sugar, sodium plus what changed by meal type. Useful for 'how was today vs yesterday?' coaching.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"date_a": "<date_a>",
"date_b": "<date_b>"
},
"name": "nourish_compare_days"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_a | Yes | First date (the 'baseline' to compare against). | |
| date_b | Yes | Second date (the 'newer' / comparison date). | |
| response_format | No | json |