Skip to main content
Glama

BMI calculator: body mass index and WHO category

calc_bmi
Read-only

Body mass index from weight and height in metric (kg, cm) or imperial (lb, in) units, its WHO adult category (underweight, normal weight, overweight, obesity class I-III) and the weight range that counts as normal for that height. For adults; a screening number, not a diagnosis. Use for health, fitness and nutrition apps. Example: weight=70, height=175. Price $0.01/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

Input Schema

NameRequiredDescriptionDefault
unitsNometric (default) or imperial
heightYesHeight in cm (or inches with units=imperial)
weightYesWeight in kg (or lb with units=imperial)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the read-only annotations, it discloses billing behavior: $0.01 per call, first 25 free, failed calls free, and repeats are not free. It also states that the tool only reads or computes and changes nothing, which aligns with and enriches the annotation profile.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose and outputs are front-loaded, followed by limitations, usage context, an example, and pricing. It is generally efficient, though the pricing and no-mutation sentences overlap slightly and one sentence reads more like product positioning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description carries the burden of explaining return values; it does so by naming BMI, WHO adult category, and the normal weight range. It also states the adult-only and screening-not-diagnosis constraints, making the definition complete for correct use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3 even with no additional detail. The description adds a concrete example (weight=70, height=175) and restates metric/imperial unit conventions, which lightly clarifies invocation but largely duplicates the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states that it computes body mass index from weight and height and returns the WHO adult category plus the normal weight range for that height. It is specific enough to distinguish from generic calculators, though it does not explicitly compare itself to siblings such as units_convert.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear usage context (health, fitness and nutrition apps) and an important limitation (for adults; screening, not diagnosis). It does not name alternatives or say when another sibling tool would be preferable, but the intended use case is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.