Skip to main content
Glama

Nutricity calculators

calculate_growth_percentiles

Read-onlyIdempotent

Children's growth percentiles and z-scores from the CDC 2000 growth charts (LMS method): weight-for-age, length/stature-for-age and head circumference-for-age (to 36 months) from birth to 20 years, plus BMI-for-age from 2 years.

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

Input Schema

NameRequiredDescriptionDefault
genderYesBiological sex: M (male) or F (female)
heightNoRecumbent length under 24 months, standing height from 24 months (cm)
weightNoWeight in kg
ageMonthsYesAge in months (0-240)
headCircumferenceNoHead circumference in cm (up to 36 months)

Output Schema

NameRequiredDescriptionDefault
bmiYesFrom 24 months with weight and height
chartYesCDC birth-36 months charts below 24 months, 2-20 years charts from 24 months
heightYesLength (infant) or stature (child)
weightYes
ageMonthsYes
headCircumferenceYesUp to 36 months

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 and idempotent, so safety is covered. The description adds real value with the chart source, LMS method, and per-metric age validity limits, but says nothing about what happens when a requested metric is outside its valid age range or when optional measurements are omitted.

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 resource, source, and metric scope in priority order; no filler. It is dense but every clause carries information an agent needs.

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 explained, and the metric/age coverage is well specified. However, it never states that height, weight, and headCircumference are optional inputs whose presence determines which percentiles are computed, which is the main decision an agent faces for this 5-parameter tool.

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

Parameters4/5

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

Schema description coverage is 100%, so baseline is 3; the description still adds meaning by tying measurement applicability to age (head circumference only to 36 months, BMI-for-age only from 2 years), which the schema does not frame as a coupling between ageMonths and the other inputs.

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 (children's growth percentiles and z-scores) plus the source and method (CDC 2000 charts, LMS) and enumerates exactly which growth metrics are covered. It implicitly separates itself from BMI tools via the multi-metric scope, but never names or explicitly contrasts a sibling such as calculate_child_bmi.

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?

No explicit when-to-use / when-not statement and no named alternatives. Applicability is only implied by the embedded age windows (head circumference to 36 months, BMI-for-age from 2 years), which an agent must infer into selection 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