Skip to main content
Glama

Human Body Calculator MCP

Body Fat Percentage Calculator (U.S. Navy Method)

calculate_body_fat
Read-onlyIdempotent

Estimate body fat percentage using the U.S. Navy circumference equations (Hodgdon & Beckett). Conditional: "hip" is required when gender is "female" or "other". 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_body_fat"
  }
}

Input Schema

NameRequiredDescriptionDefault
hipNoHip circumference in hipUnit (40-250 cm equivalent). Required in calculate_body_fat when gender is "female" or "other".
feetNoFeet component when heightUnit="ft".
neckNoNeck circumference in neckUnit (20-80 cm equivalent). Omit if neckUnit="ft" and provide neckFt/neckIn.
hipFtNo
hipInNo
waistNoWaist circumference in waistUnit (40-250 cm equivalent). Omit if waistUnit="ft" and provide waistFt/waistIn.
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).
neckFtNo
neckInNo
hipUnitNo
waistFtNo
waistInNo
neckUnitNo
waistUnitNo
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

B3.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered. The description adds real value on top: the formula provenance, the gender-conditional input requirement, and an explicit scope-limiting disclaimer (informational only, not medical advice). It does not mention validation behavior or how inconsistent unit combinations are handled.

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?

Three short sentences, front-loaded with method and then the conditional rule. The medical disclaimer is arguably boilerplate but is a legitimate scope boundary; little else is wasted.

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

Completeness2/5

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

For a 17-parameter tool with mixed height/neck/waist unit representations and cm/m/ft enums, the description does not explain the alternate measurement forms at all — the main source of invocation error. An output schema exists so return values need no explanation, but the input complexity is left almost entirely undocumented.

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

Parameters2/5

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

Schema description coverage is 47%, below the threshold where the schema carries the load, and the description only addresses one parameter (hip) — and that requirement is already documented verbatim in the hip field's schema description. Nothing is said about the ft/in decomposition, unit enums, or conversion expectations for the other 16 parameters.

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 ("Estimate body fat percentage") and pins down the method (U.S. Navy circumference equations, Hodgdon & Beckett), which separates it in spirit from siblings like calculate_bmi or calculate_lean_body_mass. It never names an alternative explicitly, so it falls short of full sibling differentiation.

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 is only implied: it is a body-fat estimator, and it states one conditional rule (hip required for female/other gender). There is no guidance on when to prefer this over calculate_bai or calculate_lean_body_mass, nor any prerequisites or data-quality caveats an agent would need to route correctly.

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