Skip to main content
Glama

Body Fat Calculator

body_fat_calculator
Read-onlyIdempotent

A body fat calculator that works from a tape measure, using the US Navy method. General information only, not medical advice; say so, and suggest a health professional for decisions. A HelpySelf tool (helpyself.com).

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "sex": "male",
      "neck": 38,
      "waist": 85,
      "height": 180,
      "system": "metric"
    },
    "name": "body_fat_calculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
hipNoHip circumference at the widest point, in the unit named by system. Required when sex is female; ignored when male.
sexYesWhich of the two US Navy equations to use; they are not interchangeable. female needs a hip measurement and uses waist plus hip; male uses the waist alone.
neckYesNeck circumference measured just below the larynx, in the unit named by system. Must be smaller than the waist (or waist plus hip for female) or the request is refused.
waistYesWaist circumference, relaxed, in the unit named by system: at the navel for men, at the narrowest point for women.
heightYesStanding height, in the unit named by system.
systemNoThe unit every measurement is in. metric (the default) reads height, neck, waist and hip in centimetres and weight in kilograms; imperial reads lengths in inches and weight in pounds.metric
weightNoBody weight in kg (metric) or lb (imperial). Not part of the percentage; it is only used to also return fat mass and lean mass in the same unit. Omit it and those come back null.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "height": 180,
      +    "neck": 38,
      +    "sex": "male",
      +    "system": "metric",
      +    "waist": 85
      +  }
      +]
  2. Changed7 schema fields changed
    • addedInput schema / properties / height / description
      Added value: +"Standing height, in the unit named by system."
    • addedInput schema / properties / hip / description
      Added value: +"Hip circumference at the widest point, in the unit named by system. Required when sex is female; ignored when male."
    • addedInput schema / properties / neck / description
      Added value: +"Neck circumference measured just below the larynx, in the unit named by system. Must be smaller than the waist (or waist plus hip for female) or the request is refused."
    • addedInput schema / properties / sex / description
      Added value: +"Which of the two US Navy equations to use; they are not interchangeable. female needs a hip measurement and uses waist plus hip; male uses the waist alone."
    • addedInput schema / properties / system / description
      Added value: +"The unit every measurement is in. metric (the default) reads height, neck, waist and hip in centimetres and weight in kilograms; imperial reads lengths in inches and weight in pounds."
    • addedInput schema / properties / waist / description
      Added value: +"Waist circumference, relaxed, in the unit named by system: at the navel for men, at the narrowest point for women."
    • addedInput schema / properties / weight / description
      Added value: +"Body weight in kg (metric) or lb (imperial). Not part of the percentage; it is only used to also return fat mass and lean mass in the same unit. Omit it and those come back null."
  3. 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 readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds the computational method and the mandatory disclaimer framing, but says nothing about the return shape or what happens on rejected inputs (the neck<waist refusal is only in the schema).

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?

Purpose is front-loaded in the first clause and the disclaimer instruction is compact. The trailing 'A HelpySelf tool (helpyself.com)' is promotional padding that does not help an agent select or invoke the tool.

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?

With no output schema, the definition should hint at what comes back; it only implies a percentage and never mentions the optional fat-mass/lean-mass output driven by the weight parameter, which the schema does explain. Otherwise the combination of rich schema and stated method is sufficient for a simple calculation tool.

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 all seven parameters already carry precise meaning including units, ranges, and the sex-dependent hip requirement. The description's only added nuance is 'works from a tape measure', which is marginal; baseline 3 applies when the schema does the heavy lifting.

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?

States a specific verb and resource (body fat calculator) and pins down the method ('US Navy method' from tape measurements), which distinguishes it from a scale- or BMI-based tool. It stops short of naming a sibling such as bmi_calculator to route agents explicitly.

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?

The description tells the agent how to frame output ('General information only, not medical advice; say so, and suggest a health professional'), which is real usage guidance. It gives no when-to-use versus when-not guidance relative to the many other health/body calculators, and no prerequisites such as needing a tape measure in hand.

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