Skip to main content
Glama

Nutricity calculators

calculate_child_bmi

Read-onlyIdempotent

Child and teen BMI-for-age percentile (CDC 2000, ages 2-20) with the CDC category: underweight < 5th, healthy 5th to < 85th, overweight 85th to < 95th, obesity >= 95th, severe obesity >= 120% of the 95th or BMI >= 35.

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>",
      "ageMonths": "<ageMonths>",
      "weight": "<weight>",
      "height": "<height>"
    },
    "name": "calculate_child_bmi"
  }
}

Input Schema

NameRequiredDescriptionDefault
genderYesBiological sex: M (male) or F (female)
heightYesHeight in cm
weightYesWeight in kg
ageMonthsYesAge in months (24-240)

Output Schema

NameRequiredDescriptionDefault
bmiYes
p5BmiYes
p85BmiYes
p95BmiYes
zScoreYes
categoryYes
percentileYesBMI-for-age percentile
percentOfP95Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint, so safety is covered. The description adds real value by naming the reference dataset (CDC 2000) and the exact percentile cut-points used for categorization, including the severe-obesity definition. It does not mention edge-case behavior (e.g., out-of-range ages, very high BMI) or that results depend on the gender parameter.

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?

A single front-loaded sentence with the tool's identity first and thresholds second; nothing is wasted. The full category enumeration is arguably redundant with the output schema, which is the only reason it falls short of 5.

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?

With annotations carrying the safety profile, a 100%-covered input schema, and an output schema handling return values, the description supplies exactly the missing piece: which growth reference and which category cut-offs are used. An agent has everything needed to call and interpret the result.

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%, with units, ranges, and the gender enum all documented in the schema, so the baseline is 3. The description's age band (2-20) corroborates the ageMonths bounds but adds no new parameter-level meaning, such as how gender affects the percentile lookup.

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+resource: BMI-for-age percentile for children/teens with the reference standard (CDC 2000) and age band (2-20). The pediatric scope implicitly separates it from calculate_bmi (adult BMI) and calculate_growth_percentiles, but no sibling is named 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?

Usage is only implied by the age range (2-20 years). There is no statement of when to pick this over calculate_bmi or calculate_growth_percentiles, and no exclusions such as 'not for adults' or 'not for children under 2'.

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