Skip to main content
Glama

due_date_calc

Calculate estimated due date and pregnancy milestones from last menstrual period, conception date, or cycle length.

Instructions

Calculate estimated due date and pregnancy milestones.

Parameters:
    last_period — First day of last menstrual period (ISO date).
    conception — Conception date (ISO date, optional).
    cycle_days — Average cycle length in days (default: 28).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
last_periodNo
conceptionNo
cycle_daysNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description bears the full burden of behavioral disclosure. It fails to describe key behaviors such as how multiple parameters interact (e.g., if both last_period and conception are provided), what happens with missing inputs, or what specific milestones are returned. The description is minimal and lacks transparency beyond parameter descriptions.

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

Conciseness5/5

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

The description is extremely concise: a single sentence summarizing the purpose followed by a bullet list of parameters. Every sentence is necessary, and the structure is clear and easy to scan. No wasted words.

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?

Given the tool's moderate complexity (3 parameters, no required fields, output schema exists), the description is mostly sufficient. It defines inputs clearly. However, it could be improved by noting that the due date calculation follows a standard rule (e.g., Naegele's rule) or by mentioning the return structure. Despite this, the presence of an output schema partially reduces the need for return value documentation.

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 0%, so the description must compensate. It provides brief explanations for each parameter (e.g., 'First day of last menstrual period (ISO date)'), adding meaning beyond the schema's titles and types. However, the explanations are minimal and lack detail on formatting constraints or edge cases.

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 clearly states the tool calculates 'estimated due date and pregnancy milestones,' which is a specific verb+resource. It is distinct from sibling tools like ovulation_calc or calculate_age, as it focuses on pregnancy due dates and milestones.

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 description does not explicitly state when to use this tool versus alternatives. However, the parameter list and title imply its use for pregnancy due dates, providing implied context but no exclusion criteria or alternative suggestions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/scotia1973-bot/api-hub'

If you have feedback or need assistance with the MCP directory API, please join our Discord server