Skip to main content
Glama

MaCalculatriceEnLigne

calculate_menstrual_cycle

Calculate next period, fertile window, and ovulation date. Returns: {next_period, ovulation_date, fertile_window_start, fertile_window_end}. See list_bundles for related 'sante' calculators.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cycle_lengthNoAverage cycle length days
last_period_dateYesLast period start date YYYY-MM-DD

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultNoComputed result. Object whose fields depend on the tool (e.g. {tax, marginal_rate, brackets} for tax tools, {volume_l, gallons} for volume tools).
sourceNoAuthoritative source for the rule or formula (e.g. "Article 197 CGI", "NF DTU 21").
formulaNoHuman-readable formula or method used (e.g. "I=P·r·t", "Magnus formula").
reference_urlNoLink to a calcul2 page documenting the calculation in detail.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided; the description merely states the operation and return format without disclosing assumptions (e.g., average luteal phase length), edge cases, or precision. This is insufficient for a calculation tool.

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 two sentences, each serving a clear purpose: stating the calculation and pointing to related tools. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations and no explicit output schema, the description lacks details on calculation methodology, assumptions, and error handling. For a menstrual cycle calculator, this is incomplete.

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?

The schema covers both parameters with descriptions. The description adds value by specifying the output structure, but does not enhance parameter meaning beyond what the schema already provides.

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 clearly states the tool calculates next period, fertile window, and ovulation date, and lists the return fields. This distinguishes it from many sibling calculators, though it doesn't explicitly differentiate from the similar 'calculate_ovulation' tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Only a brief reference to 'see list_bundles for related calculators' is provided, with no explicit guidance on when to use this tool versus alternatives like 'calculate_ovulation' or other fertility-related tools.

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.