Skip to main content
Glama

Human Body Calculator MCP

Menstrual Cycle Next Period & Ovulation Predictor

calculate_menstrual_cycle
Read-onlyIdempotent

Predict next period date and estimated ovulation date (cycleLength - 14 day luteal phase) from lastPeriodDate (YYYY-MM-DD) and cycle length per ACOG guidance. 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_menstrual_cycle"
  }
}

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.7/5.0
Behavior4/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 genuine context beyond that: the luteal-phase assumption behind the ovulation estimate, the ACOG basis, and the explicit 'informational estimate only — not medical advice' framing that shapes how an agent should present results.

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 prediction statement and formula are front-loaded in the first sentence, with the disclaimer following in a compact sentence. No filler, though the disclaimer is slightly padded with a triple of near-synonyms (advice, diagnosis, treatment).

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-value explanation is not needed, and annotations carry the safety profile. The description covers derivation, inputs, and a medical disclaimer, leaving only sibling differentiation and out-of-range behavior unaddressed for this simple two-parameter calculator.

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 both parameters are already documented including the 21-45 day range and the YYYY-MM-DD format. The description repeats lastPeriodDate's format and ties cycleLength to a luteal-phase calculation, but adds no range, edge-case, or format detail beyond the schema; 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?

States a specific verb and two concrete outputs (next period date and estimated ovulation date) plus the exact derivation used (cycleLength - 14 day luteal phase), which an agent can match against the inputs. It does not explicitly differentiate itself from the sibling calculate_ovulation, so an agent must infer the overlap.

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 implied through the required inputs and the stated formula, and the disclaimer frames it as an informational estimate. However, there is no explicit when-to-use / when-not-to-use guidance and no routing to or away from calculate_ovulation or calculate_bbt.

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