Skip to main content
Glama

AGOS European Compliance & Operations

Pan-European & Swiss Statutory Deadlines, Late-Payment Interest & Notice-Period Calculator

calculate_eu_statutory_deadlines
Read-onlyIdempotent

Computes deterministic legal calendar, interest, and termination rules across CH (26 cantons), DE (16 Bundesländer), FR (+ Alsace-Moselle), BE, IT, AT, UK (EAW/SCT/NIR), and EU: (1) sub-national public holidays (exact Gauss Easter math, Buß- und Bettag, Jeûne genevois, Fronleichnam, Bank Holidays), business-day arithmetic, and procedural roll-forward; (2) statutory B2B/B2C late-payment interest & recovery fees (EU Dir. 2011/7/EU ECB+8%+€40, FR L.441-10 ECB+10% & 3× legal floor, DE BGB §288 +9%, CH OR Art. 104 5%, UK LPCD 1998 BoE+8%+£40/£70/£100); and (3) statutory employment & Swiss cantonal lease notice periods including Swiss OR Art. 336c Sperrfrist (NICHTIG void dismissals vs. sickness suspension + EOM roll) and German BGB §622.

Input Schema

NameRequiredDescriptionDefault
dateNoISO YYYY-MM-DD date for holiday/business-day check.
modeNoCalculation module (auto-inferred from payload fields when omitted).
yearNo
regionNoSub-national region (26 CH cantons ZH/GE/VD/..., 16 DE Länder BY/NW/..., FR-AM, UK-EAW/UK-SCT/UK-NIR).
countryNoJurisdiction ISO code (CH, DE, FR, BE, IT, AT, UK, EU).
dueDateNoInvoice due date (YYYY-MM-DD).
endDateNoISO YYYY-MM-DD end date.
asOfDateNoAlias for paymentDate.
inclusiveNo
leaseTypeNo
operationNo
principalNoOverdue invoice principal for late_payment mode.
startDateNoISO YYYY-MM-DD start date.
isPregnantNo
ratePeriodNo
strictNextNo
inProbationNo
invoiceDateNo
paymentDateNoPayment or calculation date (YYYY-MM-DD).
serviceYearNo
tenureYearsNo
businessDaysNoBusiness days to add (negative subtracts).
contractTypeNo
invoiceCountNo
sicknessDaysNo
tenureMonthsNo
terminatedByNo
dayCountBasisNoACT/365
noticeGivenDateNoDate notice is received (Zugangsdatum, YYYY-MM-DD).
postpartumWeeksNo
transactionTypeNoB2B
employeeCategoryNo
referenceRatePctNo
foreignAidServiceNo
contractualRatePctNo
latePaymentRequestNoPan-European B2B/B2C statutory late-payment interest & recovery fee request (Directive 2011/7/EU, BGB §288, L.441-10, OR Art. 104, UK LPCD 1998).
businessDaysRequestNoPublic holiday calendar, business-day addition/counting, or deadline roll-forward request.
noticePeriodRequestNoStatutory employment termination & Swiss cantonal lease notice period request (incl. Swiss OR Art. 336c Sperrfrist & BGB §622).
sicknessAtNoticeDateNo
sicknessDuringNoticeNo
priorSicknessDaysUsedNo
militaryOrCivilServiceNo
incapacitatedAtNoticeDateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered; the description instead adds substantive computation behavior: determinism, exact Easter-based holiday derivation, sub-national overrides, and the legally consequential distinction between NICHTIG void dismissals and sickness suspension with end-of-month roll. It does not disclose what happens when multiple request payloads are supplied simultaneously or how conflicts with the auto-inferred 'mode' are resolved.

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?

The verb and scope are front-loaded and the (1)/(2)/(3) enumeration provides real structure, but the single dense block is heavy with citation-level detail ('exact Gauss Easter math', 'Jeûne genevois', 'Fronleichnam') that crowds out the payload-selection guidance an agent needs. Nothing is off-topic, yet the density makes it harder to parse than necessary.

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

Completeness3/5

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

For a 43-parameter, nested, read-only calculator with no output schema, the description covers the domain thoroughly but omits how results are shaped and how the mutually exclusive request objects interact. It tells the agent what the tool knows, not what it returns or which inputs must be combined, leaving a meaningful gap for a tool this complex.

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

Parameters2/5

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

With 43 parameters and only 35% schema description coverage, the description must carry parameter meaning and largely does not. It cites statutory rates and recovery fee amounts (€40, £40/£70/£100, ECB+8%) that hint at invoiceCount and rate logic, but leaves fields like inProbation, priorSicknessDaysUsed, strictNext, dayCountBasis, inclusive, tenureMonths and the anyOf required-payload structure unexplained beyond the schema.

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?

Opens with a specific verb-plus-resource ('Computes deterministic legal calendar, interest, and termination rules') and enumerates the three computational modules and the covered jurisdictions (CH cantons, DE Länder, FR/AM, BE, IT, AT, UK, EU). No sibling tool in the catalog performs statutory deadline math, so the agent can distinguish it on the first clause alone.

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

Usage Guidelines4/5

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

The numbered (1)/(2)/(3) breakdown effectively describes the three modes an agent can request, which maps onto the businessDaysRequest / latePaymentRequest / noticePeriodRequest payloads, giving clear situational context. It never states exclusions or names an alternative tool for adjacent needs (e.g. payroll or tax validation), so it stops short of explicit when-not guidance.

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