optimize_recipe_macros
Adjust recipe ingredient grams and suggest nutrient-dense swaps to meet target protein and carb limits while reaching the 2.5g leucine threshold for muscle protein synthesis.
Instructions
Analyzes a recipe and suggests precise gram adjustments or nutrient-dense swaps
(e.g., swapping flour for lupin/almond flour, adding hemp seeds, paneer, nutritional yeast) to hit target macros and clear the 2.5g Leucine MPS threshold.
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": {
"ingredients": "<ingredients>"
},
"name": "optimize_recipe_macros"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| servings | No | ||
| ingredients | Yes | ||
| max_carbs_g | No | ||
| target_protein_g | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |