Skip to main content
Glama

MaCalculatriceEnLigne

Calculate Maternity Leave FR

calculate_maternity_leave_fr
Read-onlyIdempotent

Compute French maternity leave duration and IJSS allowance. Use for HR or expectant parents. Inputs: due date, prior children count, multiple birth. Returns pre/post-birth leave days and allowance estimate. See list_bundles for related 'finance-france' calculators.

Input Schema

NameRequiredDescriptionDefault
twinsNoMultiple birth
existing_childrenYesExisting children

Output 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

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world, so the safety profile is fully covered. The description adds only a return summary (pre/post-birth leave days and allowance estimate), which is largely redundant given an output schema exists, and no auth/rate/determinism context beyond the annotations.

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?

Purpose is front-loaded and the four short sentences are easy to scan. The list_bundles cross-reference is mildly extraneous but not wasteful.

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, an output schema, and complete annotations, the description is sufficient to call the tool correctly. The only shortfall is the phantom 'due date' input, which slightly undermines completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description claims inputs of 'due date, prior children count, multiple birth', but the schema only defines existing_children and twins — there is no due_date parameter. 'prior children count' and 'multiple birth' loosely map to the schema, but advertising a non-existent input can mislead an agent, even though schema coverage is 100%.

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?

States a specific verb and resource: 'Compute French maternity leave duration and IJSS allowance.' The France/HR domain and the two outputs (leave days, IJSS allowance) make it clearly distinguishable from the many other calculate_* tools, especially generic due-date and leave-day calculators.

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?

Names a target audience ('HR or expectant parents') and links to list_bundles for related 'finance-france' calculators, but never states when to prefer this over close siblings like calculate_due_date, calculate_pregnancy_due_date, or calculate_leave_days. Usage is implied rather than delimited.

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.