Skip to main content
Glama

Pregnancy Weight Gain Guidelines Calculator (IOM)

calculate_pregnancy_weight
Read-onlyIdempotent

Calculate recommended total and week-by-week pregnancy weight gain targets from pre-pregnancy BMI and gestation week per IOM 2009 guidelines. Informational estimate only — not medical advice, diagnosis, or treatment. Consult a qualified healthcare professional.

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": {
      "bmi": "<bmi>",
      "week": "<week>"
    },
    "name": "calculate_pregnancy_weight"
  }
}

Input Schema

NameRequiredDescriptionDefault
bmiYes
weekYes

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
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds useful domain context — the IOM 2009 standard being applied and the informational-only nature of the result — but says nothing about input validity handling (e.g., weeks beyond term) or how results are framed. Credit for the standard and disclaimer, but the added behavior disclosure is modest.

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?

The core capability and its inputs are front-loaded in the first sentence, with the disclaimer trailing. Three sentences with no fluff, though the medical disclaimer, while defensible for a health tool, is somewhat formulaic and takes a third of the text.

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?

An output schema exists, so return values need not be explained, and the two-parameter input is semantically mapped. What is missing is narrow: how multiple gestations or out-of-range BMI categories are treated, which an agent might want to know before calling.

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 coverage is 0%, but with only two parameters and bounds of 10–80 and 1–42 the description still contributes real meaning: it clarifies that bmi is PRE-PREGNANCY BMI (not current) and that week is the gestation week. That disambiguation matters clinically, though units and edge-case handling remain unstated.

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?

The description names a specific verb (calculate) and resource (pregnancy weight gain targets), plus the exact scope: total and week-by-week targets from pre-pregnancy BMI and gestation week under IOM 2009. The pregnancy-specific framing separates it from generic siblings like calculate_bmi or calculate_healthy_weight_range without needing to name them.

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 definition implies when it applies (pregnancy, using pre-pregnancy BMI and gestation week) but never states when to prefer it over an alternative such as a general BMI or healthy-weight-range calculator. The closing sentence is a liability disclaimer rather than a routing rule, so usage is only implied.

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