Skip to main content
Glama

Human Body Calculator MCP

Ideal Body Weight (Devine Formula) Calculator

calculate_ideal_weight
Read-onlyIdempotent

Calculate Ideal Body Weight in kg using the clinical Devine (1974) pharmacology formula based on sex and height (>=152 cm / 60 in). Informational estimate only — not medical advice, diagnosis, or treatment. Consult a qualified healthcare professional.

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>"
    },
    "name": "calculate_ideal_weight"
  }
}

Input Schema

NameRequiredDescriptionDefault
feetNoFeet component when heightUnit="ft".
genderYesBiological sex / gender category used by formula ("male", "female", or "other").
heightNoBody height in heightUnit (50-300 cm equivalent). Omit when heightUnit="ft" and supply feet/inches instead.
inchesNoInches component when heightUnit="ft" (0-11.99).
heightUnitNoHeight unit: "cm" (default), "m", or "ft".

Output Schema

NameRequiredDescriptionDefault
dataYes
typeYes
disclaimerYesNon-diagnostic medical or wellness disclaimer

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds valuable non-structured context — formula provenance, a validity threshold, and a 'not medical advice' disclaimer — but it never says what happens if height is below 152 cm even though the schema permits heights from 50 cm, leaving a real behavioral ambiguity.

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?

Two sentences, front-loaded with the core action and method before the disclaimer. Every sentence carries weight, though the closing 'Consult a qualified healthcare professional' is boilerplate that could be trimmed.

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

Completeness4/5

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

For a simple single-formula calculator with an output schema and full annotation coverage, the definition supplies method, unit/height domain, and safety framing. The only meaningful omission is the behavior when the supplied height falls below the stated 152 cm threshold.

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

Parameters3/5

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

Schema description coverage is 100%, so the baseline is 3. The description adds the validity threshold of 152 cm and confirms that sex and height are the driving inputs, but it adds nothing about unit handling or the 'other' gender category that the schema does not already spell out.

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 names a specific verb and resource ('Calculate Ideal Body Weight in kg') and pins down the exact method ('clinical Devine (1974) pharmacology formula'), which distinguishes it from siblings like calculate_bmi or calculate_healthy_weight_range. It does not explicitly name those alternatives, so sibling differentiation is implied through the formula rather than stated.

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

Usage Guidelines3/5

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

Usage context is implied by the stated input domain ('based on sex and height >= 152 cm / 60 in') and the informational disclaimer, but there is no explicit guidance on when to pick this over calculate_healthy_weight_range or calculate_lean_body_mass, nor any when-not guidance.

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.

Resources