math_bmi_calculator
Calculate Body Mass Index from height and weight in metric or imperial units, and get WHO weight category and healthy weight range. Also reverse-calculate target weight for a desired BMI, or compare two bodies.
Instructions
BMI Calculator (Metric / Imperial). Compute Body Mass Index from height and weight in metric (cm, kg) or imperial (inches or feet+inches, lb) units, returning the BMI value, the WHO category (severe/moderate/mild thinness, normal, overweight, obese class I-III), and the healthy weight range for that height. Set operation to compute for a single BMI, target-weight to reverse a target BMI into the weight needed at a given height, or compare to diff two bodies. Use this for body-composition math; use math_unit_converter for plain length or mass unit conversion, or math_percentage_calculator for generic percentages. Runs locally on the values you provide: read-only, non-destructive, contacts no external service, and is rate-limited (60 requests/minute for anonymous callers). Returns BMI, category code and label, an interpretation string, the normalized weight and height in both unit systems, and the healthy weight range.
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": {
"operation": "<operation>"
},
"name": "math_bmi_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | Which calculation to run: compute for BMI from weight plus height, target-weight to reverse a target BMI into the weight needed at a height, or compare to diff two bodies supplied as a and b. | |
| unitSystem | No | Unit system for weight and height. Metric reads weight in kg and height in cm; imperial reads weight in lb and height in inches (or feet plus inches). Required for compute and target-weight. | |
| weight | No | Body weight. In metric it is kilograms (max 1000); in imperial it is pounds (max 2200). Must be greater than zero. Required for compute. | |
| height | No | Body height. In metric it is centimetres (max 300); in imperial it is total inches (max 120), or pass an object with feet and inches keys. Must be greater than zero. Required for compute and target-weight. | |
| targetBmi | No | Desired BMI to solve the matching weight for at the given height. Required only when operation is target-weight. | |
| a | No | First body for the compare operation: an object of unitSystem, weight, and height. Required only when operation is compare. | |
| b | No | Second body for the compare operation, same shape as a. Required only when operation is compare. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | No | The operation that was executed, echoed back. | |
| data | No | Result payload. Shape depends on the operation; the compute fields are listed here. |