calculate_calorie_deficit
Calculate a calorie deficit (weight loss), surplus (weight gain) or maintenance target from the same inputs as TDEE (gender, age, weight, height, BMR formula, activity factor) plus a goal. Returns TDEE and target calories at three weight-change rate tiers (mild ~0.25%, moderate ~0.5%, aggressive ~0.75% of bodyweight per week) rather than a single number, plus the signed kg/week each implies. All three tiers equal TDEE when goal is maintain.
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_calorie_deficit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| age | Yes | Age in years | |
| goal | Yes | Direction of the adjustment applied at each rate tier | |
| 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 (same as /tdee) | |
| 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 | |
| mildRateKg | Yes | Signed bodyweight change, kg/week, mild tier | |
| mildSafety | Yes | Flags for the mild tier | |
| mildTarget | Yes | Target kcal/day at the mild rate tier (~0.25% bodyweight/week) | |
| moderateRateKg | Yes | Signed bodyweight change, kg/week, moderate tier | |
| moderateSafety | Yes | Flags for the moderate tier | |
| moderateTarget | Yes | Target kcal/day at the moderate rate tier (~0.5% bodyweight/week) | |
| intakeFloorKcal | Yes | Intake floor for the sex, kcal/day (1,200 F / 1,500 M) | |
| aggressiveRateKg | Yes | Signed bodyweight change, kg/week, aggressive tier | |
| aggressiveSafety | Yes | Flags for the aggressive tier | |
| aggressiveTarget | Yes | Target kcal/day at the aggressive rate tier (~0.75% bodyweight/week) |