Skip to main content
Glama

Waist-to-Height Ratio (WHtR) Calculator

calculate_waist_height
Read-onlyIdempotent

Compute Waist-to-Height Ratio (waist_cm / height_cm) to evaluate central adiposity and cardiometabolic risk (healthy threshold <0.50). Informational estimate only — not medical advice, diagnosis, or treatment. Consult a qualified healthcare professional.

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": "calculate_waist_height"
  }
}

Input Schema

NameRequiredDescriptionDefault
feetNoFeet component when heightUnit="ft".
waistNoWaist circumference in waistUnit (40-250 cm equivalent). Omit if waistUnit="ft" and provide waistFt/waistIn.
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).
waistFtNo
waistInNo
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

A3.7/5.0
Behavior4/5

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

Annotations already establish readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds value beyond that by disclosing the interpretive threshold (<0.50) and a liability/scope disclaimer, which an agent would not otherwise know. It still does not describe how conflicting unit inputs are resolved.

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: the formula is front-loaded, the clinical interpretation follows, and the disclaimer closes. Every element is purposeful for a health calculator, though the disclaimer consumes roughly half the text.

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

Completeness3/5

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

An output schema exists, so return values need not be described, and the annotations cover the safety profile. But with 8 optional parameters and no required fields, the agent needs guidance on the legal parameter combinations, which the description omits entirely.

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 coverage is 63% and three parameters (waistFt, waistIn, waistUnit) carry no schema descriptions at all, so the description should compensate — it does not. It mentions only waist_cm/height_cm, leaving the two mutually exclusive unit modes (heightUnit='ft' requiring feet/inches vs waistUnit='ft' requiring waistFt/waistIn) unexplained, which is exactly the ambiguity most likely to cause a bad call.

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

Purpose5/5

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

States a specific verb and computed resource, gives the exact formula (waist_cm / height_cm), and names the clinical interpretation (central adiposity, cardiometabolic risk, healthy threshold <0.50). The formula alone distinguishes it from the sibling calculate_waist_hip without opening either schema.

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 frames the tool's purpose (evaluating central adiposity) and adds a scope-of-use caveat ('informational estimate only — not medical advice'), which implies when it is appropriate. However, it never states when to choose this over the closely related calculate_waist_hip or calculate_bmi, and offers no prerequisites or exclusions.

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