Skip to main content
Glama

Assistant maternel (assmat) end of contract — retrait d'enfant, démission, préavis, indemnité (CCN 3239)

calculate_assistant_maternel_end_of_contract
Read-only

End of an assistant maternel (assmat) contract with a parent-employer: retrait d'enfant or resignation, notice, indemnity, Pajemploi documents, for the parent or the assistant maternel. · Fin de contrat d'assistant maternel (assmat) avec un parent employeur : retrait d'enfant ou démission, préavis, indemnité de rupture, documents Pajemploi, pour le parent comme pour l'assistant maternel. — Same engine as calculate_home_employment_end_of_contract with regime pre-set to assistant_maternel (socle spécifique): notice by length of care (art. 120: 8 days / 15 days / 1 month, outside the trial period), withdrawal indemnity (art. 121.1: 1/80 of gross salaries excluding entretien/repas/km, from 9 months of care), rupture conventionnelle NOT available (CASF L.423-2), unfitness (art. 119.5) and the approval suspended or withdrawn (art. 119.3), last Pajemploi declaration, 6-month settlement contest window (from the receipt's signature — earliest end shown), documents with who produces and who receives each; départ volontaire à la retraite (art. 63.2.2, notice art. 120; the annex-4 indemnity of art. 121.2 computed on the periods given, PAID BY THE INSURER, not the employer). With no date given the seniority is taken today (Europe/Paris) and the result says so. NOT for a garde d'enfant à domicile (nounou at the family's home) — that is regime garde_domicile on the generic tool. Applies the Convention collective IDCC 3239 (verified on Légifrance 2026). Deterministic formulas — no AI, no assessment of any person or motif.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
partyYesWho is asking: 'employer' (particulier employeur) or 'employee' (salarié / assistant maternel). Wording only — the figures are identical for both.
sent_dateNoISO date the ending letter was SENT (registered post) or handed over. The notice tier is set by the seniority on that day (CCN art. 162.1 / 120); for faute grave/lourde and unfitness the contract ends on it (art. 64.3 / 64.4). When omitted the tier is taken at the first presentation and notice.tierDependsOnSentDate says whether a threshold lies in the 7 days before it.
as_of_dateNoSeniority reference date when the letter has not been sent yet (planning). Ignored when notification_date is given. Defaults to today (Europe/Paris) when no date at all is given, as on the web calculator and the documents.
cdd_reasonNocontract_type 'cdd' only: the motif (C. trav. art. L.1242-2) — 'seasonal' has no end-of-contract indemnity (L.1243-10, 1°).
end_reasonYesClosed category matching the letter: 'cdd_term_end' (a fixed-term contract ending at its term — C. trav. art. L.1243-5 « cesse de plein droit à l'échéance du terme »: no letter, no notice, no rupture indemnity; the end-of-contract indemnity of L.1243-8 except in the cases of L.1243-10; every figure taken at the term; needs contract_type 'cdd' and cdd_end_date; not when the work went on after the term — then a permanent contract, L.1243-11), 'employer_termination' (licenciement / retrait d'enfant), 'resignation' (démission), 'mutual_termination' (rupture conventionnelle — not available for assistants maternels), 'unfitness' (inaptitude, CCN art. 161.1.3 / 119.5: no notice; needs unfitness_origin and unfitness_opinion_date), 'approval_withdrawn' (assistant maternel only, art. 119.3: approval suspended, changed or withdrawn; needs approval_decision and approval_notified_date), 'retirement_by_employer' (mise à la retraite, home employee only, art. 161.1.2: the dismissal's notice, art. 162.5; an indemnity whatever the seniority, computed like art. 163.1, art. 163.2 — for an assistant maternel the employer's ending is the withdrawal of the child, blocked with code retirement_by_employer_is_withdrawal_am), 'retirement_departure' (départ volontaire à la retraite, art. 63.2.2: home employee notice art. 162.5, assistant maternel art. 120; the voluntary-retirement indemnity of annex 4 — art. 163.3 / 121.2 — is computed from annex 4 on sector_months / sector_months_last_84 / avg_60_months_gross when given, else on this contract alone, with payer 'insurer' (annex 4, art. 4.2); reason annex4_conditions_not_met when the periods known do not reach 120 months, 60 of them in the last 84).
start_dateYesContract start (ISO).
cdd_end_dateNocontract_type 'cdd' only: the term of the contract with its renewals (the L.1243-2 notice counts on the total length).
contract_typeNo'cdi' (permanent) or 'cdd' (fixed-term). Omitted = the rules of a permanent contract. A CDD ends before its term only in the cases of C. trav. art. L.1243-1 / L.1243-2 (CCN 3239 art. 62): agreement of the parties (no official form, no homologation), faute grave, unfitness (L.1226-4-3 / L.1226-20), the employee's resignation on a CDI hire (notice one day per week of the total length, two weeks at most) — any other ending is answered status 'blocked', code cdd_early_end_not_provided. Judged after its term (cdd_end_date), the relationship still running, the CDD is a CDI (L.1243-11).
sector_monthsNoretirement_departure only: the months of employment in the branch over the whole career, ALL household employers together (CCN 3239 annex 4, art. 2.2: 120 months needed; 1 month of salary from 10 years, 1.5 from 15, 2 from 20, 2.5 from 30). Defaults to this contract's months — a floor.
entretien_dateNoHome employee dismissal / unfitness: the day the preliminary interview was held — the notification window (4th–30th jour ouvrable, art. 161.1.1.1) is computed from it.
leave_pay_modeNoHome employee: how paid leave is paid — 'on_leave' (when taken) or 'cesu_10pct' (the CESU hourly wage raised by 10 %: « les congés payés sont rémunérés au moment du versement du salaire mensuel », CCN 3239 art. 140.1.2 — then no compensatory paid-leave indemnity at the end). Omitted = unknown: the answer states the rule with its exception.
agreed_end_dateNoRupture conventionnelle only: the end date the parties agreed — the minimum indemnity (art. 161.3 → 163.1) is computed with the seniority reached on that day.
am_monthly_grossNoAssistant maternel: monthly gross (mensualisation), EXCLUDING indemnités d'entretien, repas, kilométriques.
unfitness_originNoUnfitness only: 'occupational' (work accident or occupational disease — the indemnity is doubled, art. 161.1.3 / 2/80 art. 119.5) or 'non_occupational'.
approval_decisionNoApproval ending only (assistant maternel): the conseil départemental's decision.
notification_dateNoISO date of the FIRST PRESENTATION (or handover) of the letter that ends the contract — the notice runs from it. For a rupture conventionnelle: the day both parties sign the OFFICIAL form (the withdrawal period runs from it). When omitted (with sent_date and as_of_date), the seniority is taken TODAY (Europe/Paris) and the result says so (seniority.as_of_default: 'today') — never zero seniority.
serious_misconductNoThe letter states faute grave or faute lourde (a category chosen by the user — the tool does not assess it). Removes the notice and the indemnity by rule.
am_total_gross_paidNoAssistant maternel: optional total gross salaries paid since the start (art. 121.1 base). Defaults to mensualisation × complete months.
avg_60_months_grossNoretirement_departure only: the monthly average of the gross salaries of the last 60 calendar months in the branch (annex 4, art. 4.1 takes the most favourable of the 60-, 12- and 3-month averages). The indemnity is PAID BY THE INSURER, not by the employer (art. 4.2).
sector_months_last_84Noretirement_departure only: of those, the months within the 84 months before the end of the contract (annex 4, art. 2.2: 60 needed). Defaults to this contract's.
approval_notified_dateNoApproval ending only: the day the conseil départemental notified the decision — the contract ends on it (art. 119.3).
unfitness_opinion_dateNoUnfitness only: the date of the occupational physician's final opinion; the rupture takes place within one month of it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • changedInput schema / properties / as_of_date / description
      Previous value: -"Seniority reference date when the letter has not been sent yet (planning). Ignored when notification_date is given."New value: +"Seniority reference date when the letter has not been sent yet (planning). Ignored when notification_date is given. Defaults to today (Europe/Paris) when no date at all is given, as on the web calculator and the documents."
    • addedInput schema / properties / avg_60_months_gross
      Added value: +{
      +  "description": "retirement_departure only: the monthly average of the gross salaries of the last 60 calendar months in the branch (annex 4, art. 4.1 takes the most favourable of the 60-, 12- and 3-month averages). The indemnity is PAID BY THE INSURER, not by the employer (art. 4.2).",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / cdd_end_date
      Added value: +{
      +  "description": "contract_type 'cdd' only: the term of the contract with its renewals (the L.1243-2 notice counts on the total length).",
      +  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / cdd_reason
      Added value: +{
      +  "description": "contract_type 'cdd' only: the motif (C. trav. art. L.1242-2) — 'seasonal' has no end-of-contract indemnity (L.1243-10, 1°).",
      +  "enum": [
      +    "replacement_absence",
      +    "replacement_part_time",
      +    "replacement_suspension",
      +    "replacement_before_removal",
      +    "awaiting_cdi",
      +    "temporary_increase",
      +    "seasonal"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / contract_type
      Added value: +{
      +  "description": "'cdi' (permanent) or 'cdd' (fixed-term). Omitted = the rules of a permanent contract. A CDD ends before its term only in the cases of C. trav. art. L.1243-1 / L.1243-2 (CCN 3239 art. 62): agreement of the parties (no official form, no homologation), faute grave, unfitness (L.1226-4-3 / L.1226-20), the employee's resignation on a CDI hire (notice one day per week of the total length, two weeks at most) — any other ending is answered status 'blocked', code cdd_early_end_not_provided. Judged after its term (cdd_end_date), the relationship still running, the CDD is a CDI (L.1243-11).",
      +  "enum": [
      +    "cdi",
      +    "cdd"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / end_reason / description
      Previous value: -"Closed category matching the letter: 'employer_termination' (licenciement / retrait d'enfant), 'resignation' (démission), 'mutual_termination' (rupture conventionnelle — not available for assistants maternels), 'unfitness' (inaptitude, CCN art. 161.1.3 / 119.5: no notice; needs unfitness_origin and unfitness_opinion_date), 'approval_withdrawn' (assistant maternel only, art. 119.3: approval suspended, changed or withdrawn; needs approval_decision and approval_notified_date)."New value: +"Closed category matching the letter: 'cdd_term_end' (a fixed-term contract ending at its term — C. trav. art. L.1243-5 « cesse de plein droit à l'échéance du terme »: no letter, no notice, no rupture indemnity; the end-of-contract indemnity of L.1243-8 except in the cases of L.1243-10; every figure taken at the term; needs contract_type 'cdd' and cdd_end_date; not when the work went on after the term — then a permanent contract, L.1243-11), 'employer_termination' (licenciement / retrait d'enfant), 'resignation' (démission), 'mutual_termination' (rupture conventionnelle — not available for assistants maternels), 'unfitness' (inaptitude, CCN art. 161.1.3 / 119.5: no notice; needs unfitness_origin and unfitness_opinion_date), 'approval_withdrawn' (assistant maternel only, art. 119.3: approval suspended, changed or withdrawn; needs approval_decision and approval_notified_date), 'retirement_by_employer' (mise à la retraite, home employee only, art. 161.1.2: the dismissal's notice, art. 162.5; an indemnity whatever the seniority, computed like art. 163.1, art. 163.2 — for an assistant maternel the employer's ending is the withdrawal of the child, blocked with code retirement_by_employer_is_withdrawal_am), 'retirement_departure' (départ volontaire à la retraite, art. 63.2.2: home employee notice art. 162.5, assistant maternel art. 120; the voluntary-retirement indemnity of annex 4 — art. 163.3 / 121.2 — is computed from annex 4 on sector_months / sector_months_last_84 / avg_60_months_gross when given, else on this contract alone, with payer 'insurer' (annex 4, art. 4.2); reason annex4_conditions_not_met when the periods known do not reach 120 months, 60 of them in the last 84)."
    • changedInput schema / properties / end_reason / enum
      Previous value: -[
      -  "employer_termination",
      -  "resignation",
      -  "mutual_termination",
      -  "unfitness",
      -  "approval_withdrawn"
      -]New value: +[
      +  "employer_termination",
      +  "resignation",
      +  "mutual_termination",
      +  "unfitness",
      +  "approval_withdrawn",
      +  "retirement_by_employer",
      +  "retirement_departure",
      +  "cdd_term_end"
      +]
    • addedInput schema / properties / leave_pay_mode
      Added value: +{
      +  "description": "Home employee: how paid leave is paid — 'on_leave' (when taken) or 'cesu_10pct' (the CESU hourly wage raised by 10 %: « les congés payés sont rémunérés au moment du versement du salaire mensuel », CCN 3239 art. 140.1.2 — then no compensatory paid-leave indemnity at the end). Omitted = unknown: the answer states the rule with its exception.",
      +  "enum": [
      +    "on_leave",
      +    "cesu_10pct"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / notification_date / description
      Previous value: -"ISO date of the FIRST PRESENTATION (or handover) of the letter that ends the contract — the notice runs from it. For a rupture conventionnelle: the day both parties sign the OFFICIAL form (the withdrawal period runs from it). Omit for durations only."New value: +"ISO date of the FIRST PRESENTATION (or handover) of the letter that ends the contract — the notice runs from it. For a rupture conventionnelle: the day both parties sign the OFFICIAL form (the withdrawal period runs from it). When omitted (with sent_date and as_of_date), the seniority is taken TODAY (Europe/Paris) and the result says so (seniority.as_of_default: 'today') — never zero seniority."
    • addedInput schema / properties / sector_months
      Added value: +{
      +  "description": "retirement_departure only: the months of employment in the branch over the whole career, ALL household employers together (CCN 3239 annex 4, art. 2.2: 120 months needed; 1 month of salary from 10 years, 1.5 from 15, 2 from 20, 2.5 from 30). Defaults to this contract's months — a floor.",
      +  "maximum": 720,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / sector_months_last_84
      Added value: +{
      +  "description": "retirement_departure only: of those, the months within the 84 months before the end of the contract (annex 4, art. 2.2: 60 needed). Defaults to this contract's.",
      +  "maximum": 84,
      +  "minimum": 0,
      +  "type": "number"
      +}
  2. Changed10 schema fields changed
    • addedInput schema / properties / agreed_end_date
      Added value: +{
      +  "description": "Rupture conventionnelle only: the end date the parties agreed — the minimum indemnity (art. 161.3 → 163.1) is computed with the seniority reached on that day.",
      +  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / approval_decision
      Added value: +{
      +  "description": "Approval ending only (assistant maternel): the conseil départemental's decision.",
      +  "enum": [
      +    "suspension",
      +    "modification",
      +    "retrait"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / approval_notified_date
      Added value: +{
      +  "description": "Approval ending only: the day the conseil départemental notified the decision — the contract ends on it (art. 119.3).",
      +  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +  "type": "string"
      +}
    • changedInput schema / properties / end_reason / description
      Previous value: -"Closed category matching the letter: 'employer_termination' (licenciement / retrait d'enfant), 'resignation' (démission), 'mutual_termination' (rupture conventionnelle — not available for assistants maternels)."New value: +"Closed category matching the letter: 'employer_termination' (licenciement / retrait d'enfant), 'resignation' (démission), 'mutual_termination' (rupture conventionnelle — not available for assistants maternels), 'unfitness' (inaptitude, CCN art. 161.1.3 / 119.5: no notice; needs unfitness_origin and unfitness_opinion_date), 'approval_withdrawn' (assistant maternel only, art. 119.3: approval suspended, changed or withdrawn; needs approval_decision and approval_notified_date)."
    • changedInput schema / properties / end_reason / enum
      Previous value: -[
      -  "employer_termination",
      -  "resignation",
      -  "mutual_termination"
      -]New value: +[
      +  "employer_termination",
      +  "resignation",
      +  "mutual_termination",
      +  "unfitness",
      +  "approval_withdrawn"
      +]
    • addedInput schema / properties / entretien_date
      Added value: +{
      +  "description": "Home employee dismissal / unfitness: the day the preliminary interview was held — the notification window (4th–30th jour ouvrable, art. 161.1.1.1) is computed from it.",
      +  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +  "type": "string"
      +}
    • changedInput schema / properties / notification_date / description
      Previous value: -"ISO date of the FIRST PRESENTATION (or handover) of the letter that ends the contract — the notice runs from it. For a rupture conventionnelle: the signature date. Omit for durations only."New value: +"ISO date of the FIRST PRESENTATION (or handover) of the letter that ends the contract — the notice runs from it. For a rupture conventionnelle: the day both parties sign the OFFICIAL form (the withdrawal period runs from it). Omit for durations only."
    • addedInput schema / properties / sent_date
      Added value: +{
      +  "description": "ISO date the ending letter was SENT (registered post) or handed over. The notice tier is set by the seniority on that day (CCN art. 162.1 / 120); for faute grave/lourde and unfitness the contract ends on it (art. 64.3 / 64.4). When omitted the tier is taken at the first presentation and notice.tierDependsOnSentDate says whether a threshold lies in the 7 days before it.",
      +  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / unfitness_opinion_date
      Added value: +{
      +  "description": "Unfitness only: the date of the occupational physician's final opinion; the rupture takes place within one month of it.",
      +  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / unfitness_origin
      Added value: +{
      +  "description": "Unfitness only: 'occupational' (work accident or occupational disease — the indemnity is doubled, art. 161.1.3 / 2/80 art. 119.5) or 'non_occupational'.",
      +  "enum": [
      +    "occupational",
      +    "non_occupational"
      +  ],
      +  "type": "string"
      +}
  3. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only carry readOnlyHint/openWorldHint; the description adds substantial behavioral context: rupture conventionnelle is unavailable (CASF L.423-2), the annex-4 retirement indemnity is PAID BY THE INSURER not the employer, formulas are deterministic with no AI assessment, and with no date seniority defaults to today (Europe/Paris) with the result stating so.

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?

Front-loads the purpose well, but the opening sentence is duplicated in French and English, adding redundant length, and the run-on clauses about legal articles are dense. It earns most of its space but wastes some on bilingual repetition.

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?

For a 22-parameter, rule-heavy tool with no output schema and thin annotations, the description covers the regime, the reason categories, the key thresholds and the date-defaulting behavior. Return shape is not explained, but with deterministic output that is a minor gap.

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 each of the 22 parameters is already documented in the schema. The description supplies legal rules (art. 120 notice tiers, 1/80 art. 121.1, 9-month threshold) but little parameter syntax beyond what the schema already states, so the baseline 3 is appropriate.

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 (end of an assistant maternel contract) with the exact reasons handled (retrait d'enfant, démission, préavis, indemnité, Pajemploi). It explicitly distinguishes itself from calculate_home_employment_end_of_contract (same engine, regime pre-set) and from the garde d'enfant à domicile case.

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?

Gives explicit when-to-use (parent-employer or assistant maternel), when-not ('NOT for a garde d'enfant à domicile — that is regime garde_domicile on the generic tool'), and names the sibling alternative. Nothing is left to inference.

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