Skip to main content
Glama

health_pregnancy_dates

Read-only

Pregnancy Due Date & Milestones — Offline pregnancy dating calculator following ACOG conventions: due date, gestational age (weeks+days), trimester, term status, days to go, percent complete, term windows and dated milestones (NIPT, NT scan, anatomy scan, glucose screen, Tdap, Rh immune globulin, RSV vaccine window, GBS screen) with past/now/upcoming status. Dates from one of: lmp= (with optional cycle_length=), conception=, transfer= (IVF, embryo_day=3|5|6), edd=, or ultrasound_date= + ga= (e.g. 8w3d; also compares to lmp= using ACOG redating thresholds). Optional as_of=. All dates YYYY-MM-DD. Informational, not medical advice. Price: $0.002 USDC (Base, via x402).

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": {
      "lmp": "<lmp>"
    },
    "name": "health_pregnancy_dates"
  }
}

Input Schema

NameRequiredDescriptionDefault
lmpYes2026-05-10

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, yet the description still adds real behavioral context: the calculation follows ACOG conventions, it is 'offline', it is informational rather than medical advice, and — importantly for an agent — each call costs $0.002 USDC via x402 on Base. The payment requirement is exactly the kind of pre-invocation fact annotations cannot express. It stops short of describing output volume or failure modes.

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?

Front-loaded with the purpose and the computed outputs, then the input modes, then the cost and disclaimer — a sensible ordering with little filler. It is dense to the point of being a run-on, and the milestone list is long, but nearly 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.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description does the work of naming the returned fields (gestational age in weeks+days, term windows, dated milestones with past/now/upcoming status), and it covers cost and the medical disclaimer. The residual gap is the mismatch between the five advertised input modes and the single required lmp property, which leaves a real ambiguity an agent must resolve by trial.

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 100%, so the baseline is 3, and the description genuinely enriches semantics beyond the bare schema: cycle_length is optional with lmp, ga accepts '8w3d' notation, embryo_day is 3|5|6, and all dates are YYYY-MM-DD. The problem is a conflict: the description says dates come from 'one of' five sources, while the schema requires lmp and defines no other property, leaving an agent unsure whether the alternative modes are actually callable. That ambiguity offsets the added detail.

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+resource ('pregnancy dating calculator') and enumerates exactly what it computes: due date, gestational age, trimester, term status, days to go, percent complete, term windows and dated milestones. An agent can tell this is a computation tool rather than the data-lookup health_* siblings without opening the schema.

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?

It enumerates the accepted input modes (lmp, conception, transfer, edd, ultrasound_date+ga) and mentions ACOG redating thresholds, which is useful invocation context. However, it never says when to prefer one dating mode over another (e.g. ultrasound vs LMP), and gives no explicit routing against alternatives — usage is implied rather than guided.

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