Skip to main content
Glama

FetologIA — calculadoras de medicina fetal

Descubra o percentil — biometria e peso fetal numa única chamada

calcular_percentil_fetal
Read-onlyIdempotent

Descubra o percentil — biometria e peso fetal numa única chamada. Percentil e escore Z de DBP, CC, CA e CF e do peso fetal estimado (Hadlock) para a idade gestacional, numa única chamada, pelas curvas INTERGROWTH-21st; só a idade gestacional é obrigatória. Faixa de validade: Biometria: 14+0 a 40+6 semanas (medidas em mm). Peso: INTERGROWTH-21st de 22 a 40 semanas; Hadlock 1991 em 14–21 e 41 semanas (em gramas). Peso calculado por Hadlock de 4 medidas; sem o DBP, por Hadlock de 3 medidas. A curva INTERGROWTH-21st de peso foi construída com a fórmula de 3 medidas — a resposta traz o comparativo. Percentil numérico entre p3 e p97; fora disso a resposta indica "<p3" ou ">p97" e o escore Z. Referências: Papageorghiou AT et al. (INTERGROWTH-21st). Lancet 2014;384:869-879 — padrões internacionais de biometria fetal (DBP, CC, CA, CF). Stirnemann J, Salomon LJ, Papageorghiou AT. Ultrasound Obstet Gynecol 2020;56:946-948 — curva INTERGROWTH-21st de peso fetal estimado, 22 a 40 semanas. Hadlock FP et al. Radiology 1991;181:129-133 — peso fetal estimado em 14–21 e 41 semanas. Hadlock FP et al. Am J Obstet Gynecol 1985;151:333-337 — fórmulas de peso fetal de 4 medidas (DBP, CC, CA, CF) e de 3 medidas (CC, CA, CF). Página para o médico conferir: https://fetologia.com/calculadoras/percentil-fetal Material de estudo (origem do método, técnica de medida, interpretação): https://fetologia.com/calculadoras/percentil-fetal/entenda

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": {
      "ig_semanas": "<ig_semanas>"
    },
    "name": "calcular_percentil_fetal"
  }
}

Input Schema

NameRequiredDescriptionDefault
ca_mmNoCircunferência abdominal, em mm.
cc_mmNoCircunferência cefálica, em mm.
cf_mmNoComprimento do fêmur, em mm.
dbp_mmNoDiâmetro biparietal, em mm.
ig_diasNoDias além das semanas completas (0 a 6). Padrão 0.
ig_semanasYesSemanas completas de idade gestacional (14 a 41).
peso_informado_gNoOpcional. Peso fetal estimado já calculado (g). Se informado, é este o peso classificado, no lugar do calculado pelas medidas.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the description adds genuinely new behavioral facts: which growth curve is selected by gestational age, that the tool internally compares a 3-measurement INTERGROWTH weight curve against the 4-measurement Hadlock result and reports the comparison, and that out-of-range results are returned as '<p3' or '>p97' plus a Z-score rather than an error.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Core operating facts are front-loaded, but the body carries a long bibliographic block and two URLs that add little to tool selection or invocation. The opening sentence also restates the title verbatim, spending text without new information.

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?

There is no output schema, and the description compensates by disclosing the shape of the answer (percentile, Z-score, '<p3'/'>p97' clipping, and the curve comparison). Combined with full schema descriptions and read-only annotations, an agent has enough to call it correctly; only the exact response field names remain unspecified.

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 coverage is 100%, so the baseline is 3. The description goes further by fixing units (mm for biometry, grams for weight), explaining that 4 measurements drive Hadlock and 3 suffice without DBP, and clarifying the override role of a pre-supplied weight — semantics an agent would not infer from the schema alone.

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?

The description states a specific action (compute percentile and Z-score) on specific resources (DBP, CC, CA, CF and estimated fetal weight, Hadlock) against INTERGROWTH-21st curves. The phrase 'numa única chamada' hints that this consolidates work a sibling like calcular_intergrowth or calcular_medidas_fetais might do separately, but no sibling is named, so differentiation stays implicit.

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?

It gives concrete operating conditions: only gestational age is required, biometry is optional, and if peso_informado_g is supplied that weight replaces the calculated one. Validity windows per curve (14+0–40+6 for biometry, 22–40 for INTERGROWTH weight, 14–21 and 41 for Hadlock) effectively tell the agent when this tool applies and when it falls back. No explicit 'not for X, use Y instead' exclusion is present.

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