Skip to main content
Glama

Human Body Calculator MCP

Ovulation Date & 6-Day Fertile Window Calculator

calculate_ovulation
Read-onlyIdempotent

Estimate ovulation date and the 6-day fertile window (5 days prior through ovulation day) from lastPeriodDate (YYYY-MM-DD) and cycle length. 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": {
      "lastPeriodDate": "<lastPeriodDate>",
      "cycleLength": "<cycleLength>"
    },
    "name": "calculate_ovulation"
  }
}

Input Schema

NameRequiredDescriptionDefault
cycleLengthYesAverage menstrual cycle length in days (21-45).
lastPeriodDateYesFirst day of last menstrual period in YYYY-MM-DD format.

Output Schema

NameRequiredDescriptionDefault
dataYes
typeYes
disclaimerYesNon-diagnostic medical or wellness disclaimer

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so safety is covered. The description adds real value beyond them by defining the exact computation (6-day window, 5 days prior through ovulation day) and by scoping the output as a non-diagnostic estimate requiring professional consultation. It does not discuss assumptions or edge cases such as irregular cycles, but the annotation coverage lowers that burden.

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?

Two sentences: the first front-loads the computation and its inputs, the second delivers the necessary safety scope. No redundancy, no filler, and nothing important is buried.

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 full schema coverage and an output schema that documents return values, the description only needs to cover purpose, inputs, and safety, which it does. The one meaningful gap is the underlying assumption (that ovulation is derived from cycle length, which presumes a regular cycle) and whether extreme or inconsistent inputs degrade the estimate.

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%, with both parameters documented including the YYYY-MM-DD format and the 21-45 day range on cycleLength, so the schema does the heavy lifting. The description restates the date format and the role of cycle length but adds no interpretation, such as whether cycle length is a self-reported average or how variability affects the estimate. 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 uses a specific verb ('Estimate') and names both outputs precisely: the ovulation date and the 6-day fertile window, including how that window is defined (5 days prior through ovulation day). It is clearly distinguishable from the sibling calculators by the resource it computes, though it never explicitly contrasts itself with the generic 'run_health_calculator' entry point.

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: the mention of lastPeriodDate and cycle length signals the tool is for people tracking a menstrual cycle, and the disclaimer sets a boundary that results are informational only. There is no explicit when-to-use versus when-to-use-a-sibling statement, no stated assumptions (e.g., regular cycles), and no guidance on what to do when the inputs are unavailable.

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