Analyze a meal plan
analyze_planAnalyzes a multi-day meal plan and assesses its daily average.
Every ingredient is resolved and converted, then totaled by dish, meal, and day, up to 400 ingredients. The assessment is of the daily average, not the multi-day sum. per_day has each day's totals, shopping_list totals ingredients at full recipe quantities, and failed lists ingredients missing from the totals. The detail breakdown is large for a full week.
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": {
"days": "<days>"
},
"name": "analyze_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | Days, 1-14, each {"day": "Monday", "meals": [{"name": "dinner", "dishes": [...]}]}. A dish is {"name": "Moussaka", "servings": 6, "eaten": 1, "ingredients": [...]}, where servings is the recipe yield and eaten is how many of those servings this person has. | |
| detail | No | Include the per-dish, per-ingredient breakdown. Defaults to false. | |
| include_shopping_list | No | Include total ingredient quantities to buy. Defaults to true. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||