Skip to main content
Glama

Free Tool Directory

due-date-calculator

Due Date Calculator — Free due date calculator: enter the first day of your last menstrual period to get your estimated due date, current pregnancy week and trimester milestones.

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": "due-date-calculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
lmpYesFirst day of the last menstrual period, YYYY-MM-DD.
todayNoReference date for the gestational age, YYYY-MM-DD. Default: today (server date, UTC).
cycle_daysNoAverage cycle length in days. Range 20-45.

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?

No annotations are supplied, so the description carries the full burden. It does usefully disclose the three returned values (due date, pregnancy week, trimester milestones), which substitutes for the missing output schema, but it says nothing about how the optional reference date or cycle length alter results, nor that outputs are estimates only.

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 core value proposition first. The only waste is the redundant 'Free due date calculator' phrase that merely echoes the tool name before the substantive clause.

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?

For a simple three-parameter pure-computation tool with no annotations and no output schema, the definition covers the required input and enumerates the outputs, which is most of what an agent needs. The remaining gap is behavioral nuance around the optional date and cycle-length parameters.

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%, so all three parameters are already documented with formats, defaults, and the 20-45 cycle-day range. The description only restates the meaning of 'lmp' and adds no syntax or semantics for 'today' or 'cycle_days' beyond the schema, so the baseline 3 applies.

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 verb and resource: compute an estimated due date, current pregnancy week, and trimester milestones from the first day of the last menstrual period. It is unambiguous about what the tool does, though it never distinguishes itself from the nearby ovulation-calculator sibling.

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?

Usage is only implied by the input instruction ('enter the first day of your last menstrual period'); there is no explicit when-to-use framing, no statement of when another calculator (e.g. ovulation) would be the better choice, and no exclusions.

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