Skip to main content
Glama

Size at birth for gestational age

birth_size_percentile
Read-onlyIdempotent

Where a birth measurement sits on the Olsen 2010 intrauterine curves, for the number of completed weeks of pregnancy. This answers a different question from the growth charts: not how a child grows over time, but how big they were on the day they were born given how long the pregnancy ran. A 2.2 kg baby at 34 weeks and a 2.2 kg baby at 40 weeks are not the same situation, and the WHO charts cannot tell them apart. Returns the percentile, the z-score and the SGA/AGA/LGA category, which is a statistical classification and not a diagnosis.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sexYesBiological sex, as the growth charts are published separately for each.
valueYesThe measurement. Birth weight in GRAMS (3400, not 3.4) as the published tables and delivery rooms both quote it; length and head circumference in centimetres.
localeNoLanguage for the disclaimer and any clinician note. Pass the language you will answer the user in: these are clinical safety texts written by a paediatrician, and they should reach the reader as written rather than translated by the model.en
measureYesBirth weight, birth length, or head circumference at birth.
gestationalWeeksYesCompleted weeks of pregnancy at delivery, 23-41. Use the obstetric gestational age, not corrected age.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds genuinely new behavioral context: what is returned (percentile, z-score, SGA/AGA/LGA), the caveat that this is a statistical classification not a diagnosis, and the locale behavior for paediatrician-authored disclaimer text. That is real disclosure beyond the structured fields.

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 and every sentence does work — the growth-chart contrast and the 2.2 kg example both earn their place. It runs slightly long for a single-purpose lookup tool, but nothing is filler.

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 read-only annotations covering safety, a fully documented schema, and the description naming the returned quantities, an agent has nearly everything needed. The absence of an output schema leaves the exact result structure only described rather than specified, which is the one remaining gap.

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% and the schema itself carries the important semantics (grams not kilograms, obstetric vs corrected age, 23-41 weeks, sex-specific charts). The description adds no parameter syntax beyond the schema, so a baseline of 3 is appropriate even though the underlying schema is excellent.

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 resource — where a birth measurement sits on the Olsen 2010 intrauterine curves — and explicitly distinguishes itself from the growth charts ('not how a child grows over time, but how big they were on the day they were born'). The 34-week vs 40-week example makes the distinct question concrete, so an agent can separate it from growth_percentile and growth_reference_range.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives a clear when-to-use rule and names the conceptual alternative (the growth chart tools), including why WHO charts cannot answer this question. It does not name the sibling tools directly or state explicit exclusion conditions, so it stops just short of a 5.

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