compute_targets
Estimate daily calorie and protein targets for an adult using age, sex, height, weight, activity level, and goal, then apply a calorie floor. Use when asked how much someone should eat in a day.
Instructions
Estimated daily calorie and protein targets for an adult, from the Mifflin-St Jeor equation with an activity multiplier and a goal adjustment. Use it when asked how much someone should eat in a day. The result shows the formula and the inputs, applies a calorie floor, and is an estimate, not medical advice. Nothing is stored.
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": {
"sex": "<sex>",
"age": "<age>",
"height_cm": "<height_cm>",
"weight_kg": "<weight_kg>",
"activity": "<activity>",
"goal": "<goal>"
},
"name": "compute_targets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| age | Yes | ||
| sex | Yes | ||
| goal | Yes | ||
| activity | Yes | ||
| height_cm | Yes | ||
| weight_kg | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kcal | Yes | ||
| notes | Yes | ||
| inputs | Yes | ||
| formula | Yes | ||
| bmr_kcal | Yes | ||
| protein_g | Yes |