Calorie calculator
calorie_calculatorDaily calories for an adult to maintain weight, lose body fat or build muscle. Works out maintenance from age, sex, height, weight and how active a normal day is, not counting exercise, then the daily target and its range for the goal. Returns kcal a day, the range and a link to the method. Height (height_cm, or height_ft with height_in) and weight (weight_kg or weight_lb) are also required.
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": {
"age": "<age>",
"sex": "<sex>",
"day": "<day>"
},
"name": "calorie_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| age | Yes | Age in years. The calculator is for adults; under 18 it says so instead of a number | |
| day | Yes | A normal day, not counting exercise: seated (desk, driving), walking (errands, stairs, a commute on foot), on_feet (teaching, a shop, housework), physical (lifting, building, farm work) | |
| sex | Yes | female or male; the equations and reference values differ by sex | |
| goal | No | Optional. Without it, the answer is maintenance | |
| height_cm | No | Height in centimetres, 100 to 250 | |
| height_ft | No | Height in feet, with height_in, instead of height_cm | |
| height_in | No | The inches part of the height, 0 to 11 | |
| weight_kg | No | Weight in kilograms, 25 to 400 | |
| weight_lb | No | Weight in pounds, instead of weight_kg |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | A line instead of a number, when no number applies | |
| page | Yes | ||
| tool | Yes | ||
| inputs | Yes | The inputs as understood, in metric units | |
| method | Yes | How the answer is worked out | |
| result | No | ||
| disclaimer | Yes |