omni_ideal_weight
Calculate clinical ideal body weight from height and biological sex using Devine, Robinson, Miller, and Hamwi formulas, returning deterministic results to prevent LLM arithmetic errors.
Instructions
Ideal Body Weight (IBW) Calculator. Calculate clinical ideal body weight using Devine, Robinson, Miller, and Hamwi pharmacological dosing equations. Discipline: HEALTH. Governing mathematical model / formula: Devine IBW (men) = 50.0 kg + 2.3 kg × (Height in inches - 60).
USAGE GUIDELINES:
WHEN TO USE: Invoke for deterministic calculation of devine_ibw (Devine Formula (Clinical Gold Standard)), robinson_ibw (Robinson Formula), miller_ibw (Miller Formula), hamwi_ibw (Hamwi Rule of Thumb) using height_in (Height in in), gender (Biological Sex (1 for Male, 0 for Female)). Guarantees exact machine floating-point precision, eliminating LLM arithmetic mistakes and formula hallucinations.
WHEN NOT TO USE: Do not use for qualitative evaluations or unquantified reasoning. All input parameters must be valid numerical values.
DISAMBIGUATION & BOUNDARIES:
Use this dedicated specialist tool for 'Ideal Body Weight (IBW) Calculator' rather than generic dispatchers like omni_universal_query.
For multi-calculation chained jobs, use 'omni_batch_calculate'.
To inspect schema fields, see 'omni_describe_solver'.
BEHAVIOR & SAFETY:
Pure deterministic computation with machine floating-point precision.
Read-only, idempotent, and stateless. Zero side effects or persistent state mutations.
Input validation: All arguments are validated against physical and domain bounds. Out-of-bounds inputs return a safe diagnostic error status without throwing runtime exceptions.
RETURNS:
Structured JSON object containing:
status (string): "success" on valid execution or "error" if validation fails
calculator (string): "ideal-weight"
category (string): "health"
name (string): "Ideal Body Weight (IBW) Calculator"
formula (string): Governing mathematical formula string
inputs (object): Echoed input parameter dictionary with applied defaults
metrics (object): Dictionary of computed outputs:
metrics.devine_ibw (Devine Formula (Clinical Gold Standard)): Formatted display string (e.g. '160.9 lbs (73.0 kg)')
metrics.robinson_ibw (Robinson Formula): Formatted display string (e.g. '160.7 lbs (72.9 kg)')
metrics.miller_ibw (Miller Formula): Formatted display string (e.g. '156.7 lbs (71.1 kg)')
metrics.hamwi_ibw (Hamwi Rule of Thumb): Formatted display string (e.g. '166.0 lbs (75.3 kg)')
execution_time_ms (number): Latency in milliseconds.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "omni_ideal_weight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gender | No | Biological Sex (1 for Male, 0 for Female). 1 for Male, 0 for Female. Default: 1. Min: 0. Max: 1. | |
| height_in | No | Height (in). Height in inches (5'10" = 70 in). Default: 70. Min: 60. Max: 84. |