Skip to main content
Glama

Mutterschutzfristen-Rechner

hr_mutterschutz
Read-onlyIdempotent

Nur Deutschland. Berechnet Beginn und Ende der Mutterschutzfristen nach § 3 MuSchG aus dem errechneten Geburtstermin, optional mit tatsächlichem Geburtsdatum und Sonderfall (Frühgeburt, Mehrlinge, Behinderung des Kindes, Fehlgeburt ab der 13. Woche). English: Start and end of the maternity protection periods from the expected due date.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sswNoLaufende Schwangerschaftswoche der Fehlgeburt, nur bei fall=fehlgeburt. Die ärztliche Angabe 12+3 (zwölf volle Wochen und drei Tage) ist …
fallNoFall nach § 3 Abs. 2 oder Abs. 5 MuSchG. Standard: standard
geburtNoTatsächliches Geburtsdatum, höchstens 120 Tage vom Termin entfernt. Bei fall=fehlgeburt der Tag der Fehlgeburt, ab 01.06.2025 (optional)
terminNoErrechneter Geburtstermin. Pflicht, außer bei fall=fehlgeburt

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / properties / geburt / pattern
      Removed value: -"^\\d{4}-\\d{2}-\\d{2}$"
    • changedInput schema / properties / ssw / description
      Previous value: -"Laufende Schwangerschaftswoche der Fehlgeburt, nur bei fall=fehlgeburt. Die ärztliche Angabe 12+3 (zwölf volle Wochen und drei Tage) ist die 13. Woche, also ssw=13; die Schreibweise 12+3 nimmt die API auch direkt an."New value: +"Laufende Schwangerschaftswoche der Fehlgeburt, nur bei fall=fehlgeburt. Die ärztliche Angabe 12+3 (zwölf volle Wochen und drei Tage) ist …"
    • removedInput schema / properties / termin / pattern
      Removed value: -"^\\d{4}-\\d{2}-\\d{2}$"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "properties": {
      -    "beginn": {
      -      "description": "Erster Tag der Schutzfrist (Datum)"
      -    },
      -    "datensatz": {
      -      "description": "Kennung des Datensatzes (Text)"
      -    },
      -    "datenstand": {
      -      "description": "Kennung des Datenstands: Datum und laufende Nummer der letzten Änderung im Änderungsprotokoll (/v1/aenderungen), die diesen Datensatz betrifft. Gleicher Datenstand heißt unveränderter Inhalt, praktisch für Prüfer und zum Vergleich zweier Abfragen (Text)"
      -    },
      -    "dauer_tage": {
      -      "description": "Gesamtdauer in Kalendertagen (Ganzzahl)"
      -    },
      -    "ende": {
      -      "description": "Letzter Tag der Schutzfrist (Datum)"
      -    },
      -    "fall": {
      -      "description": "standard, fruehgeburt, mehrlinge, behinderung oder fehlgeburt (Text)"
      -    },
      -    "geburt": {
      -      "description": "Tatsächliches Geburtsdatum oder Tag der Fehlgeburt (Datum oder null)"
      -    },
      -    "hinweise": {
      -      "description": "Grenzen der Werte oder der Berechnung, in Sätzen (Liste)"
      -    },
      -    "lizenz": {
      -      "description": "Nutzungsbedingungen der Werte (Text)"
      -    },
      -    "quelle": {
      -      "description": "Titel und URL der Quelle, auf der der Wert beruht (Objekt)"
      -    },
      -    "quellen": {
      -      "description": "Alle Normen, auf denen die Antwort beruht, mit Titel und URL (Liste)"
      -    },
      -    "rechtsgrundlage": {
      -      "description": "Paragraf (Text)"
      -    },
      -    "stand": {
      -      "description": "Tag der letzten Prüfung gegen die Quelle (Datum)"
      -    },
      -    "termin": {
      -      "description": "Errechneter Geburtstermin (Datum oder null)"
      -    },
      -    "verlaengerung_tage": {
      -      "description": "Angehängte Tage bei vorzeitiger Entbindung (Ganzzahl)"
      -    },
      -    "wochen_nach_entbindung": {
      -      "description": "8 oder 12 (Ganzzahl)"
      -    },
      -    "zitat": {
      -      "description": "Fertiger Satz mit Wert, Gültigkeit, Rechtsgrundlage und Quelle zum Zitieren (Text)"
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  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 mark the tool as read-only and idempotent, and the description adds meaningful domain context beyond them: the legal basis (§ 3 MuSchG), the Germany-only limitation, and the special-case threshold 'Fehlgeburt ab der 13. Woche'. No contradiction with the annotations; it could only be improved by stating expected output format or behavior when required inputs are missing.

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 German sentence is compact and front-loaded with the scope ('Nur Deutschland') before the action. The English restatement is slightly redundant, but it is short and useful for cross-language agent comprehension; there is no vague filler.

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 four-parameter calculator with fully described schema entries and safe, read-only annotations, the description covers what is computed, from which inputs, and for which jurisdiction. Since there is no output schema, the phrase 'Beginn und Ende der Mutterschutzfristen' sufficiently signals the return semantics.

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 the baseline is 3, but the description adds meaning by grouping the inputs into a calculation narrative: expected due date, optional actual birth date, and optional special case. It also introduces the 13-week Fehlgeburt boundary, which is not directly visible in the parameter 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?

The description states a specific verb ('Berechnet') and a precise legal resource ('Beginn und Ende der Mutterschutzfristen nach § 3 MuSchG'), so it is immediately clear what the tool computes. The Germany-only scope and the named special cases make it unmistakably distinct from the other HR calculator siblings.

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?

It gives clear usage context: only for Germany, based on the expected due date, with optional actual birth date and special cases such as Frühgeburt, Mehrlinge, Behinderung, and Fehlgeburt ab der 13. Woche. It does not explicitly name an alternative tool or say 'use X instead', but the scope and input conditions are clear enough for an agent.

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.