score_recipes
Score saved recipes against current deals to find the cheapest meals, optionally optimizing a weekly plan and showing deal coverage and cost.
Instructions
Score all saved recipes against current deals, optionally optimize a weekly meal plan. USE WHEN: deciding what to cook based on current deals ('what's cheapest this week'), comparing recipe costs. NOT FOR: generating a shopping list (use generate_shopping_list or plan_and_shop). Shows deal coverage %, estimated cost, and confidence levels per ingredient.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Days to plan (default 7) | |
| optimize | No | Also generate optimal weekly plan | |
| maxSlowDays | No | Max slow-cook days in plan (default 2) | |
| maxPerCuisine | No | Max same cuisine in plan (default 2) | |
| maxPerProtein | No | Max same protein in plan (default 2) | |
| preferCuisines | No | Soft cuisine preferences: {"asian": 3} = prefer at least 3 Asian dishes. Best-effort, won't fail if impossible. | |
| slowOnlyOnDays | No | Restrict slow recipes to these days only (1-indexed). E.g. [6, 7] for weekends | |
| excludeProteins | No | Dietary exclusions. Checks both recipe type and individual ingredients. E.g. ["pork"] also catches bacon in vegetarian recipes. Options: pork, beef, lamb, fish, shellfish, dairy, gluten, beans, nuts, egg | |
| allowProteinOnDays | No | Per-day exceptions for excluded proteins (1-indexed). E.g. {"pork": [2]} = allow pork on day 2 (Tuesday) |