Tools used
- get_user_preferences
- search_meals
- create_meal
- get_food
- find_food_candidates
- get_user_history
Procedure
Procedure
-
Assess User Profile and Constraints
- Call
get_user_preferencesto identify regional dietary leanings (e.g., South Asian, Mediterranean, Latin American) and current macro targets. - Confirm if the user follows a Lacto-Ovo vegetarian or a "limited meat" approach.
- If no targets exist, use
get_user_historyto estimate caloric needs based on recent activity.
- Call
-
Define Protein Quality Strategy
- For vegetarian meals, apply Amino Acid Complementarity: combine Legumes (high lysine) with Grains (high methionine) to ensure a complete protein profile.
- Prioritize staples with high DIAAS/PDCAAS scores:
- Soy: Tofu, TVP (Textured Vegetable Protein), and Tempeh.
- Lacto-Ovo: Eggs and Greek yogurt for high bioavailability.
- Pulses: Lentils, chickpeas, and beans as the primary cost-effective protein source.
-
Optimize for Budget
- Select dried pulses over canned versions when using
find_food_candidatesto minimize cost-per-serving. - Incorporate frozen vegetables for micronutrient density at lower price points.
- Utilize whole grains (oats, brown rice, barley) to add 5โ8g of protein per serving compared to refined grains.
- Select dried pulses over canned versions when using
-
Integrate Limited Non-Vegetarian Options
- If the user consumes meat, use
create_mealto structure animal proteins as "condiments" or flavoring agents (50โ100g portions). - Prioritize nutrient-dense, low-cost options: small indigenous fish (sardines/mussels) or poultry to fill gaps in Vitamin B12, Heme-Iron, and Zinc.
- If the user consumes meat, use
-
Build Regional Meal Rows
- Use
search_mealsorcreate_mealto populate the user's plan based on identified regional frameworks:- South Asian: Red lentils (Masoor Dal), chickpeas, and curd.
- Mediterranean: Cannellini beans, chickpeas, and tinned fish.
- Latin American: Black/Pinto beans with corn or quinoa and eggs.
- East Asian: Soybeans (Tofu/Edamame) and fermented soy.
- Use
-
Finalize and Monitor
- Use
update_user_macro_targetsif necessary to align with high-protein goals (aiming for balanced distribution across all meals). - Instruct the user to purchase staples in bulk to maintain the budget-conscious nature of the plan.
- Use