Skip to main content
Glama

calculate uk labor exit

calculate_uk_labor_exit
Read-onlyIdempotent

UK statutory redundancy pay (0.5/1/1.5 weeks per year by age, weekly pay capped at 751 GBP, at most 20 years, 2 years' service needed; ERA 1996 s.162), statutory notice (1 week per year up to 12), statutory holiday (5.6 weeks capped at 28 days), National Minimum Wage check (12.71 GBP at 21+, 10.85 at 18-20, 8.00 under 18, April 2026), SSP (lower of 123.25 GBP a week or 80% of average weekly earnings), and the employment tribunal claim deadline (3 months, 6 months for incidents from 2026-10-01 under the Employment Rights Act 2025). United Kingdom (gov.uk), as of 2026-11-21. General information and estimates only: no legal advice, no representation, no filing; values that could not be verified are flagged in the result, not computed.

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": {
      "start": "<start>",
      "end": "<end>",
      "age": "<age>",
      "weeklyPay": "<weeklyPay>"
    },
    "name": "calculate_uk_labor_exit"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageYesAge on the last day
endYesLast day of employment
startYesEmployment start date
incidentNoDate of the incident or dismissal for the tribunal deadline
hourlyPayNoHourly pay (GBP)
weeklyPayYesGross weekly pay (GBP)
daysPerWeekNoDays worked per week
averageWeeklyEarningsNoAverage weekly earnings for Statutory Sick Pay (GBP)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, closed-world behavior, so the safety profile needs no restating. The description adds real value beyond them: the jurisdiction source (gov.uk), the effective date (2026-11-21), and the notable behavior that unverifiable values are flagged in the result rather than computed. It does not describe the shape of the returned result, which is a gap given the absence of an output schema.

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?

It is a single very dense run-on sentence packing six calculation domains and a dozen statutory constants, which makes it hard to scan even though it is front-loaded with the most prominent item (redundancy pay). The large statutory figures are useful transparency for the agent but sit inline with no structure. A short lead sentence plus the constants would read far better.

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 an eight-parameter, multi-component calculator with no output schema, the description should say what the response contains. Instead it covers inputs and statutory rules thoroughly but only gestures at outputs via the flagging note. An agent knows what will be computed but not how results are labeled, which components appear, or what a flagged value looks like.

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?

With 100% schema coverage the baseline is 3, and the description earns above it by tying parameters to rules: age drives the 0.5/1/1.5 week bands, weeklyPay is bounded by the 751 GBP cap and 20-year limit, averageWeeklyEarnings feeds SSP, and the incident date drives the 3- or 6-month tribunal deadline. It does not clarify how start and end interact with the 2-year service threshold, or the fallback from weeklyPay to hourlyPay and daysPerWeek.

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 enumerates exactly what the tool computes: statutory redundancy pay, notice, holiday, NMW check, SSP, and tribunal deadlines for the UK. That is specific enough to separate it from the country siblings and from the unrelated UK tax calculators. It never states the verb directly ("calculates X for a UK employment exit"), relying on the name and title to supply it.

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?

Usage is implied rather than stated: the agent must infer that this applies when an employment is ending in the UK and statutory entitlements need estimating. The disclaimer ("no legal advice, no representation, no filing") usefully sets a boundary on what the tool is not. There is no explicit signal about when to prefer a sibling such as calculate_annual_leave or the other country variants.

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.