Skip to main content
Glama

MaCalculatriceEnLigne

Calculate Overtime FR

calculate_overtime_fr
Read-onlyIdempotent

Compute French overtime pay (heures supplémentaires) per labor code. Use for HR or employee verification. Inputs: hourly rate, normal hours, overtime hours. Returns gross overtime pay with 25%/50% premiums. See list_bundles for related 'finance-france' calculators.

Input Schema

NameRequiredDescriptionDefault
base_hoursNoBase weekly hours
hourly_rateYesHourly rate EUR
actual_hoursYesActual weekly hours

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.5/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 openWorldHint=false, so the safety profile is covered. The description adds real value by disclosing the computation model (25%/50% premiums, gross pay per labor code), but says nothing about rounding, caps/exonérations, or country-specific thresholds beyond the flat premium tiers.

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?

Four short sentences with purpose first, then usage, inputs, and return value; nothing is padded. The closing bundle pointer is the only sentence that adds little directly actionable value.

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 an output schema present, the return-value sentence is somewhat redundant, and the safety profile is handled by annotations, so the description only needs purpose plus inputs. It covers those adequately; the one residual gap is that it does not help an agent choose between this tool and the similarly named calculate_overtime_pay_fr.

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 the baseline is 3 regardless. The description's input list ('hourly rate, normal hours, overtime hours') does not map cleanly onto the actual parameters (hourly_rate, base_hours with default 35, actual_hours), since overtime hours are derived rather than supplied; this is mildly confusing but the schema itself is unambiguous.

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 resource ('Compute French overtime pay (heures supplémentaires) per labor code'), which is clearly more than a tautology. However, it never distinguishes itself from the near-identical sibling calculate_overtime_pay_fr, so an agent cannot tell which of the two to pick from the description alone.

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?

'Use for HR or employee verification' gives an implied audience/context but no when-not conditions and no alternatives. It points to list_bundles for related 'finance-france' calculators, which is a weak cross-reference rather than selection guidance, and it ignores the obvious competing tool calculate_overtime_pay_fr.

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.