calculate_tdee
Calculate total daily energy expenditure: BMR (Mifflin-St Jeor or Harris-Benedict) × activity factor, plus a goal-adjusted calorie target (lose/maintain/gain).
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": {
"gender": "<gender>",
"age": "<age>",
"weight": "<weight>",
"height": "<height>",
"formula": "<formula>",
"activityFactor": "<activityFactor>",
"goal": "<goal>"
},
"name": "calculate_tdee"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| age | Yes | Age in years | |
| goal | Yes | Goal adjustment applied to maintenance calories | |
| gender | Yes | Biological sex: M (male) or F (female) | |
| height | Yes | Height in centimeters | |
| weight | Yes | Weight in kilograms | |
| formula | Yes | BMR equation to use as the base | |
| activityFactor | Yes | Activity multiplier: 1.2 sedentary … 1.9 very active |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bmr | Yes | Basal metabolic rate in kcal/day | |
| tdee | Yes | Total daily energy expenditure in kcal/day | |
| target | Yes | Goal-adjusted target calories in kcal/day |