omni_ovulation
Calculates ovulation day, fertile window, peak fertility, and next period from cycle length and luteal phase to prevent arithmetic mistakes in reproductive health estimates.
Instructions
Ovulation & Fertile Window Calculator. Calculate ovulation peak day, fertile window (5 days prior + ovulation day), and luteal phase timeline based on cycle length. Discipline: HEALTH. Governing mathematical model / formula: Ovulation Day = Cycle Length - Luteal Phase Length (Typically 14 Days).
USAGE GUIDELINES:
WHEN TO USE: Invoke for deterministic calculation of ovulation_day (Estimated Ovulation Day), fertile_window (High-Fertility Conception Window), peak_fertility (Peak LH Surge Window), next_period_day (Expected Next Menstruation) using cycle_length (Average Cycle Length in days), luteal_phase (Luteal Phase Duration in days). Guarantees exact machine floating-point precision, eliminating LLM arithmetic mistakes and formula hallucinations.
WHEN NOT TO USE: Do not use for qualitative evaluations or unquantified reasoning. All input parameters must be valid numerical values.
SIBLING ROUTING: Use this dedicated specialist tool for 'Ovulation & Fertile Window Calculator' rather than generic dispatchers like omni_universal_query. For cross-discipline dynamic dispatch, see omni_universal_query.
BEHAVIOR & SAFETY:
Pure deterministic computation with machine floating-point precision.
Read-only, idempotent, and stateless. Zero side effects or persistent state mutations.
Input validation: All arguments are validated against physical and domain bounds. Out-of-bounds inputs return a safe diagnostic error status without throwing runtime exceptions.
RETURNS:
Structured JSON object containing:
status (string): "success" on valid execution or "error" if validation fails
calculator (string): "ovulation"
category (string): "health"
name (string): "Ovulation & Fertile Window Calculator"
formula (string): Governing mathematical formula string
inputs (object): Echoed input parameter dictionary with applied defaults
metrics (object): Dictionary of computed outputs:
metrics.ovulation_day (Estimated Ovulation Day): Formatted display string (e.g. 'Day 14 of Cycle')
metrics.fertile_window (High-Fertility Conception Window): Formatted display string (e.g. 'Days 9 through 14 of Cycle')
metrics.peak_fertility (Peak LH Surge Window): Formatted display string (e.g. 'Days 12 and 13')
metrics.next_period_day (Expected Next Menstruation): Formatted display string (e.g. 'Day 29 of Cycle')
execution_time_ms (number): Latency in milliseconds.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "omni_ovulation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cycle_length | No | Average Cycle Length (days). Typical range is 26 to 32 days. Default: 28. Min: 21. Max: 40. | |
| luteal_phase | No | Luteal Phase Duration (days). Standard luteal phase is consistently 14 days. Default: 14. Min: 10. Max: 16. |