Skip to main content
Glama

FranceStack Tax & Payroll

France gross-to-net salary and employer cost calculator (salaire brut net)

france_gross_to_net_salary
Read-onlyIdempotent

French private-sector gross-to-net salary (salaire brut → net), mainland France, 2026 rules, CDI or CDD, full-time or part-time (temps partiel): employee contributions, net pay, net taxable pay, optional tax withholding (prélèvement à la source), RGDU reduction, employer cost (executive/cadre contributions included). For a CDD: end-of-contract bonus (prime de précarité), paid-leave indemnity, CPF-CDD, monthly average and contract total. Use when a user asks for the net salary from a gross salary in France (CDI or CDD, full-time or part-time), the total cost of an employee for the employer, the end-of-contract bonus of a fixed-term contract, or the amount of employer and employee social contributions. Deterministic code, no LLM: uses URSSAF's official payroll engine (modele-social). Official 2026 rates re-applied by hand in tests, official RGDU formula and example, and 30 cases checked on the official URSSAF salary simulator (15 full-time CDI, 15 CDD and part-time). Not supported (refused for free with HTTP 422): temporary agency work (intérim), CDD à objet défini, fixed-term contracts ended early, overtime, incomplete months, fixed-days (forfait jours), apprentices and interns, company officers (SAS president), Alsace-Moselle, overseas departments, salaries below the minimum wage (SMIC, prorated for part-time), years other than those listed. Price: 0.005 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": {
      "salaire_brut": "<salaire_brut>",
      "periode": "<periode>",
      "annee": "<annee>",
      "type_contrat": "<type_contrat>",
      "statut_cadre": "<statut_cadre>",
      "effectif": "<effectif>",
      "mutuelle_part_salariale": "<mutuelle_part_salariale>",
      "mutuelle_part_patronale": "<mutuelle_part_patronale>",
      "cas_particuliers": "<cas_particuliers>"
    },
    "name": "france_gross_to_net_salary"
  }
}

Input Schema

NameRequiredDescriptionDefault
moisNoRequired if periode = mois: payroll month 1 to 12.
anneeYesYear. Supported: 2026.
periodeYesmois (monthly gross salary) or annee (annual gross salary).
effectifYesCompany headcount band: moins_de_5 (under 5), de_5_a_10, de_11_a_19, de_20_a_49, de_50_a_149, de_150_a_249, 250_et_plus.
cdd_motifNoRequired for a CDD: reason for the fixed-term contract: accroissement_activite (temporary increase in activity), remplacement (replacing an absent employee), saisonnier (seasonal work: no end-of-contract bonus, no CPF-CDD), usage (CDD d’usage: no end-of-contract bonus).
salaire_brutYesGross salary in EUR for the period (monthly or annual, see periode), including bonuses paid in the period.
statut_cadreYestrue if the employee has executive status (cadre).
type_contratYesCDI (permanent contract) or CDD (fixed-term contract). A CDD requires periode = mois and the cdd_* fields.
cdd_duree_moisNoRequired for a CDD: total contract length in months (0.25 to 36, e.g. 1.5 for six weeks).
cas_particuliersYesRequired. Special situations that apply, or [] if none: interim (temporary agency work), cdd_objet_defini (CDD à objet défini), cdd_rupture_anticipee (CDD ended before its term), forfait_jours (fixed-days arrangement), heures_supplementaires (overtime this period), mois_incomplet (incomplete month, absence, sick leave), apprenti_stagiaire (apprentice or intern), dirigeant_assimile_salarie (company officer), alsace_moselle, outre_mer (overseas department), prevoyance_avec_part_salariale (provident scheme with employee share), avantages_en_nature (benefits in kind), exoneration_specifique (specific employer exemption), deduction_forfaitaire_specifique (specific flat-rate deduction). Any listed situation is refused for free (HTTP 422).
cdd_suivi_d_un_cdiNoRequired for a CDD: true if the CDD is immediately followed by a CDI with the same employer (no end-of-contract indemnities).
taux_atmp_pourcentNoOptional: workplace accident insurance rate (taux AT/MP) of the establishment, in percent. If omitted, the national average (2.08 %) is used; it only affects employer cost.
cdd_jours_conges_prisNoRequired for a CDD: paid-leave days taken during the contract, in working days (0 if none). Untaken leave is paid as a 10 % indemnity at the end.
cdd_job_vacances_jeuneNoRequired for a CDD: true for a school or university student’s holiday job (no end-of-contract bonus).
mutuelle_part_patronaleYesMonthly employer share of the company health insurance (mutuelle), in EUR (0 if none).
mutuelle_part_salarialeYesMonthly employee share of the company health insurance (mutuelle) on the payslip, in EUR (0 if none).
taux_prelevement_source_pourcentNoOptional: employee income tax withholding rate (taux de prélèvement à la source), in percent. If given, the withholding and net pay after tax are returned.
taux_versement_mobilite_pourcentNoRequired if the company has 11 or more employees: transport levy rate (versement mobilité) of the workplace municipality, in percent (0 if none).
temps_partiel_heures_par_semaineNoOptional: weekly hours for a part-time employee (1 to 34.99). Omit for full-time (35 h). The minimum wage check and the RGDU are prorated.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • changedInput schema / properties / cas_particuliers / description
      Previous value: -"Required. Special situations that apply, or [] if none: cdd (fixed-term or temporary contract), temps_partiel (part-time), heures_supplementaires (overtime this period), mois_incomplet (incomplete month, absence, sick leave), apprenti_stagiaire (apprentice or intern), dirigeant_assimile_salarie (company officer), alsace_moselle, outre_mer (overseas department), prevoyance_avec_part_salariale (provident scheme with employee share), avantages_en_nature (benefits in kind), exoneration_specifique (specific employer exemption), deduction_forfaitaire_specifique (specific flat-rate deduction). Any listed situation is refused for free (HTTP 422)."New value: +"Required. Special situations that apply, or [] if none: interim (temporary agency work), cdd_objet_defini (CDD à objet défini), cdd_rupture_anticipee (CDD ended before its term), forfait_jours (fixed-days arrangement), heures_supplementaires (overtime this period), mois_incomplet (incomplete month, absence, sick leave), apprenti_stagiaire (apprentice or intern), dirigeant_assimile_salarie (company officer), alsace_moselle, outre_mer (overseas department), prevoyance_avec_part_salariale (provident scheme with employee share), avantages_en_nature (benefits in kind), exoneration_specifique (specific employer exemption), deduction_forfaitaire_specifique (specific flat-rate deduction). Any listed situation is refused for free (HTTP 422)."
    • changedInput schema / properties / cas_particuliers / items / enum
      Previous value: -[
      -  "cdd",
      -  "temps_partiel",
      -  "heures_supplementaires",
      -  "mois_incomplet",
      -  "apprenti_stagiaire",
      -  "dirigeant_assimile_salarie",
      -  "alsace_moselle",
      -  "outre_mer",
      -  "prevoyance_avec_part_salariale",
      -  "avantages_en_nature",
      -  "exoneration_specifique",
      -  "deduction_forfaitaire_specifique"
      -]New value: +[
      +  "interim",
      +  "cdd_objet_defini",
      +  "cdd_rupture_anticipee",
      +  "forfait_jours",
      +  "heures_supplementaires",
      +  "mois_incomplet",
      +  "apprenti_stagiaire",
      +  "dirigeant_assimile_salarie",
      +  "alsace_moselle",
      +  "outre_mer",
      +  "prevoyance_avec_part_salariale",
      +  "avantages_en_nature",
      +  "exoneration_specifique",
      +  "deduction_forfaitaire_specifique"
      +]
    • changedInput schema / properties / cas_particuliers / maxItems
      Previous value: -12New value: +14
    • addedInput schema / properties / cdd_duree_mois
      Added value: +{
      +  "description": "Required for a CDD: total contract length in months (0.25 to 36, e.g. 1.5 for six weeks).",
      +  "maximum": 36,
      +  "minimum": 0.25,
      +  "type": "number"
      +}
    • addedInput schema / properties / cdd_job_vacances_jeune
      Added value: +{
      +  "description": "Required for a CDD: true for a school or university student’s holiday job (no end-of-contract bonus).",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / cdd_jours_conges_pris
      Added value: +{
      +  "description": "Required for a CDD: paid-leave days taken during the contract, in working days (0 if none). Untaken leave is paid as a 10 % indemnity at the end.",
      +  "maximum": 75,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / cdd_motif
      Added value: +{
      +  "description": "Required for a CDD: reason for the fixed-term contract: accroissement_activite (temporary increase in activity), remplacement (replacing an absent employee), saisonnier (seasonal work: no end-of-contract bonus, no CPF-CDD), usage (CDD d’usage: no end-of-contract bonus).",
      +  "enum": [
      +    "accroissement_activite",
      +    "remplacement",
      +    "saisonnier",
      +    "usage"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / cdd_suivi_d_un_cdi
      Added value: +{
      +  "description": "Required for a CDD: true if the CDD is immediately followed by a CDI with the same employer (no end-of-contract indemnities).",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / temps_partiel_heures_par_semaine
      Added value: +{
      +  "description": "Optional: weekly hours for a part-time employee (1 to 34.99). Omit for full-time (35 h). The minimum wage check and the RGDU are prorated.",
      +  "maximum": 34.99,
      +  "minimum": 1,
      +  "type": "number"
      +}
    • addedInput schema / properties / type_contrat
      Added value: +{
      +  "description": "CDI (permanent contract) or CDD (fixed-term contract). A CDD requires periode = mois and the cdd_* fields.",
      +  "enum": [
      +    "CDI",
      +    "CDD"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "salaire_brut",
      -  "periode",
      -  "annee",
      -  "statut_cadre",
      -  "effectif",
      -  "mutuelle_part_salariale",
      -  "mutuelle_part_patronale",
      -  "cas_particuliers"
      -]New value: +[
      +  "salaire_brut",
      +  "periode",
      +  "annee",
      +  "type_contrat",
      +  "statut_cadre",
      +  "effectif",
      +  "mutuelle_part_salariale",
      +  "mutuelle_part_patronale",
      +  "cas_particuliers"
      +]
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description goes well beyond them: per-call pricing (0.005 USDC via x402), free errors, deterministic URSSAF modele-social engine, and the fact that invalid fields return the questions to ask the user. It also enumerates the returned JSON keys. Full behavioral disclosure of output shape is deferred to a sibling tool rather than given inline, which keeps it short of a 5.

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?

The text is front-loaded with purpose, then usage, then exclusions, then pricing and return shape, which is a sensible order. It is dense and long, and the test-validation census (30 cases, 15 full-time CDI, 15 CDD/part-time) reads as credibility marketing rather than operational guidance an agent needs.

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 19-parameter domain calculator with no output schema, the description covers the contract types, supported/refused situations, cost-vs-net distinction, and itemizes the response keys. An agent knows what inputs are valid, what failures look like, and what comes back.

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 schema already documents every parameter including enums and CDD conditionals, making 3 the baseline. The description adds conceptual context (RGDU proration for part-time, executive contributions, end-of-contract bonus and 10% leave indemnity) but offers no syntax or interplay guidance for the 19 parameters beyond what the schema states.

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 chain (gross-to-net salary, employee contributions, net taxable pay, employer cost) plus exact jurisdiction and rule year (mainland France, 2026, CDI/CDD). It explicitly scopes what it is not (intérim, forfait jours, Alsace-Moselle, etc.), which lets an agent separate it from siblings like france_income_tax or france_micro_entrepreneur_contributions without opening a schema.

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?

Delivers an explicit 'Use when a user asks for...' trigger list covering net-from-gross, employer cost, end-of-contract bonus, and contribution amounts. It also supplies a concrete when-not-to-use list that is refused with HTTP 422, and points to list_france_calculators for output schema and examples.

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