Skip to main content
Glama

calculate de notice period

calculate_de_notice_period
Read-onlyIdempotent

Germany Kündigungsfrist under § 622 BGB: 4 weeks to the 15th or month end; employer notice 1 to 7 months to month end after 2 to 20 years; 2 weeks in a probation period of up to 6 months. Gives the last day of employment. Kündigungsschutzgesetz and collective agreements are not checked. Germany (§ 622 BGB), as of 2026-11-22. General information only: not tax or legal advice.

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": {
      "noticeDate": "<noticeDate>",
      "by": "<by>"
    },
    "name": "calculate_de_notice_period"
  }
}

Input Schema

NameRequiredDescriptionDefault
byYesWho gives notice
probationNoWithin an agreed probation period
startDateNoStart of employment
noticeDateYesDate the notice is received

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety burden is covered. The description adds material context beyond them: which statutes are excluded from the check, the as-of date (2026-11-22) fixing the legal version, and that the return value is an employment end date.

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?

Dense and front-loaded: the statutory rule comes first, then the output, then exclusions and disclaimer. The semicolon-chained clause listing employer notice tiers is compact but readable; nothing extraneous, though the single paragraph is packed tight.

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 rule-based legal calculator with no output schema, the description does well: it names the output and the unchecked statutes. It does not address edge cases the schema permits, such as omitting startDate while 'by' is employer, or what happens outside the 2–20 year band, which an agent would need to reason about.

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 baseline is 3, but the description adds real semantic weight: it explains how 'by' changes the rule (4 weeks for employee vs. 1–7 months for employer by tenure), how probation maps to 2 weeks, and that tenure comes from the start date. The mapping from inputs to statutory branches is genuinely useful beyond the terse schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a concrete computation — the German Kündigungsfrist under § 622 BGB — and names the output, 'the last day of employment.' Jurisdiction ('Germany') implicitly distinguishes it from calculate_sg_notice_period, though no sibling is named explicitly.

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

Usage Guidelines3/5

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

Scope limits are given ('Kündigungsschutzgesetz and collective agreements are not checked', 'not tax or legal advice'), which tells the agent when the answer is incomplete. However there is no positive when-to-use framing or explicit routing to an alternative tool for other jurisdictions or for dismissal-protection cases.

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.