Skip to main content
Glama

calculate fr labor exit

calculate_fr_labor_exit
Read-onlyIdempotent

France indemnité légale de licenciement (8 months' service needed; 1/4 month per year up to 10 years, 1/3 beyond; Code du travail R1234-2), statutory notice (6 months to 2 years: 1 month, 2+ years: 2 months, doubled for disabled workers up to 3; L1234-1, L5213-9), SMIC check (12.31 EUR an hour, 1,867.02 EUR a month from 2026-01-01), rupture conventionnelle 15-day retraction date, deadlines to contest the dismissal (12 months) and to claim wages (3 years). Post-April 2025 ARE rules are not verified. France (service-public.gouv.fr, Légifrance), as of 2026-11-21. General information and estimates only: no legal advice, no representation, no filing; values that could not be verified are flagged in the result, not computed.

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": {
      "start": "<start>",
      "end": "<end>",
      "monthlyReference": "<monthlyReference>"
    },
    "name": "calculate_fr_labor_exit"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYesEnd of the contract (end of notice)
modeNoDismissal or rupture conventionnelle
startYesEmployment start date
signedNoRupture conventionnelle signing date
disabledNoWorker has a recognised disability (notice doubled, at most 3 months)
notifiedNoDate the dismissal was notified
hourlyGrossNoHourly gross pay (EUR)
monthlyReferenceYesReference monthly gross salary (EUR)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / disabled
      Added value: +{
      +  "description": "Worker has a recognised disability (notice doubled, at most 3 months)",
      +  "type": "boolean"
      +}
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already declare a safe, idempotent, closed-world read, and the description is consistent with that while adding real context: jurisdiction, legal sources (service-public.gouv.fr, Légifrance), an as-of date of 2026-11-21, and explicit disclaimers that this is estimates-only with no filing or representation. It also warns that unverified figures are flagged in the result instead of being computed. It does not describe the shape of the returned result, which is the main remaining gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Everything is packed into a single run-on sentence mixing legal formulas, deadlines, disclaimers and source citations, so it is dense and hard to scan despite being front-loaded with the core purpose. Each clause carries substantive information, so little is wasted, but structure (separate scope, caveats, and rules) would markedly improve it.

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 no output schema, the description must convey what comes back, and it does so only partially: it states that unverifiable values are flagged in the result but never says the output contains indemnity amount, notice duration and deadline dates. It also omits conditional requirements such as 'signed' being needed for rupture mode. Given 8 parameters and no output schema, it is substantially but not fully complete.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description adds genuine meaning: it ties seniority (start/end) to the 1/4 vs 1/3 month formula and 8-month eligibility threshold, explains that disability doubles notice up to 3 months (the 'disabled' flag), and situates 'signed' within rupture conventionnelle retraction. 'monthlyReference' is connected to the SMIC floor check. The 'mode' enum values are still not explicitly explained as licenciement vs rupture selection.

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 names a specific domain and resource set: French indemnité légale de licenciement, statutory notice, SMIC verification, rupture conventionnelle retraction and contest deadlines, with statute citations (R1234-2, L1234-1, L5213-9). An agent can tell this is the France labor-exit calculator versus calculate_cn_labor_exit or calculate_fr_depreciation. It does not, however, distinguish itself from the sibling calculate_fr_claim_deadline even though it computes contest/wage-claim deadlines, leaving boundary ambiguity.

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 by jurisdiction and topic rather than stated: nothing says when to pick this over calculate_fr_claim_deadline or when the 'mode' should be licenciement versus rupture. The scope caveats ('Post-April 2025 ARE rules are not verified', unverified values flagged rather than computed) do give a useful boundary on what will and will not be answered. That is partial guidance, not explicit when/when-not routing.

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.