Skip to main content
Glama

FranceStack Tax & Payroll

France working days and public holidays (jours ouvrés, jours fériés)

france_working_days
Read-onlyIdempotent

French public holidays (jours fériés) and working days for mainland France and Alsace-Moselle, 2000-2027: list a year's holidays, count calendar, working (jours ouvrés) and business days (jours ouvrables) between two dates, or add N working days to a date (start date not counted). Labour Code rules (L3133-1, L3134-13), Easter-based dates, holidays worked by the company and extra days off taken into account. Use when a user needs the French public holidays of a year, the number of working days (jours ouvrés or ouvrables) in a period, for example for payroll, paid leave or a fixed-term contract, or the date reached after N working days. Deterministic code, no LLM. Every holiday date 2000-2027 for mainland France and Alsace-Moselle matches the official government calendar (calendrier.api.gouv.fr) and the service-public.fr tables; counts are cross-checked by an independent day-by-day enumeration. Not supported (refused for free with HTTP 422): overseas departments and territories (outre-mer), years outside the covered range, periods over 10 years, legal or court deadlines (procedural deadline rules differ). Price: 0.001 USDC per successful call, paid with x402 over MCP. Missing or invalid fields are reported for free with the questions to ask the user; you never pay for an error. Returns JSON (also in structuredContent): calculateur, resultat, detail (step by step), hypotheses, bareme (version, effective date, sources), estimation_indicative, avertissement, lien_verification. Full output schema and a real example: list_france_calculators.

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": {
      "operation": "<operation>",
      "zone": "<zone>"
    },
    "name": "france_working_days"
  }
}

Input Schema

NameRequiredDescriptionDefault
zoneYesWorkplace location: metropole (mainland France outside Alsace-Moselle), alsace_moselle (Bas-Rhin, Haut-Rhin, Moselle), or outre_mer (overseas, refused for free).
anneeNoRequired for liste_feries: year, 2000 to 2027.
date_finNoRequired for compter_jours: end date YYYY-MM-DD (included).
operationYesliste_feries (public holidays of a year), compter_jours (count days between two dates), or ajouter_jours (date reached after adding N working or business days).
date_debutNoRequired for compter_jours: start date YYYY-MM-DD (included).
type_joursNoRequired for ajouter_jours: ouvres (working days, the days normally worked, Monday to Friday by default) or ouvrables (Monday to Saturday).
date_departNoRequired for ajouter_jours: starting date YYYY-MM-DD (not counted; counting starts the next day).
nombre_joursNoRequired for ajouter_jours: number of days to add, 1 to 1000.
jours_travaillesNoOptional (working days only): weekdays normally worked, in French (lundi, mardi, mercredi, jeudi, vendredi, samedi, dimanche). Default Monday to Friday.
feries_travaillesNoOptional: public holidays worked in the company (e.g. lundi_pentecote for the solidarity day). Codes: jour_an, vendredi_saint, lundi_paques, victoire_1945, ascension, lundi_pentecote, fete_nationale, assomption, toussaint, armistice_1918, noel, saint_etienne. May 1st is always a day off. Default: none.
vendredi_saint_chomeNoRequired for alsace_moselle: true if Good Friday (Vendredi saint) is a holiday in the workplace town (by law, towns with a Protestant church or a mixed church).
autres_jours_non_travaillesNoOptional (working days only): other days off to exclude, YYYY-MM-DD (bridge days, collective-agreement holidays).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint true, openWorldHint false and non-destructive, so safety is covered. The description goes well beyond them by disclosing pricing (0.001 USDC via x402), the free-error policy (invalid or missing fields cost nothing), the 422 refusal list, deterministic non-LLM execution, and the two independent verification sources for the dates and counts. The only gap is that the returned fields are named but not explained.

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?

It is a single dense block, but it is front-loaded correctly: purpose, operations, use conditions, refusals, pricing, then return shape. Most sentences earn their place by carrying constraints an agent needs (price, free errors, limits), though the verification claims and long output-field enumeration are slightly heavy for the space they occupy.

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

Completeness5/5

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

For a 12-parameter, three-operation calculator with no output schema, the description covers the missing pieces: which operation uses which parameters, the refusal boundaries, the cost model, the error behaviour, and the list of returned JSON fields plus a pointer to list_france_calculators for the full schema and a worked example. An agent has enough to call this correctly without further lookups.

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% and the enum descriptions already spell out zone, operation, type_jours, feries_travailles codes and the Alsace-Moselle vendredi_saint_chome law, so the baseline of 3 applies. The description adds only light framing, such as 'start date not counted' and that holidays worked by the company and extra days off are taken into account, which mostly repeats the schema's own wording.

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?

The opening sentence names a specific verb and resource (list a year's holidays, count jours ouvrés/ouvrables between dates, add N working days) and pins the scope to mainland France and Alsace-Moselle for 2000-2027. The three operations map one-to-one onto the operation enum, so an agent can tell instantly this is the French working-day calculator rather than a payroll or tax sibling.

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

Usage Guidelines5/5

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

Explicit when-to-use is given ('payroll, paid leave or a fixed-term contract'), along with concrete when-not cases enumerated as refused-for-free HTTP 422: outre-mer, out-of-range years, periods over 10 years, and legal/court deadlines. It also points to list_france_calculators for the output schema and example, which is the right routing for a sibling concern.

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.

Resources