Skip to main content
Glama

UK Statutory Sick Pay and Maternity Pay

Check UK statutory pay eligibility

check_eligibility
Read-onlyIdempotent

Checks the qualifying conditions for UK Statutory Sick Pay, Maternity, Paternity, Adoption or Shared Parental Pay and returns each condition as met, not met or not checkable, plus the weekly amounts. Knows that from 6 April 2026 SSP has no earnings threshold and no waiting days, and applies the 26 weeks' continuous employment test into the qualifying week (15th week before the due week, or the matching week for adoption) and the lower earnings limit (£125 in 2025/26, £129 in 2026/27). Data from gov.uk and legislation.gov.uk, fetched 2026-11-02.

Input Schema

NameRequiredDescriptionDefault
due_dateNoExpected due date of the baby, yyyy-mm-dd (maternity, paternity, shared parental).
is_employeeYesTrue if the person is an employee with an employment contract.
matched_dateNoDate matched with the child, yyyy-mm-dd (adoption).
payment_typeYesWhich statutory payment to check.
employment_startNoDate employment with this employer started, yyyy-mm-dd. Needed for family payments.
sickness_start_dateNoFirst day of sickness, yyyy-mm-dd (sick pay). Default today.
average_weekly_earningsYesAverage weekly earnings in pounds, before tax, over the 8-week relevant period.
has_done_work_under_contractNoSick pay: has the employee done some work under the contract?

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), yet the description still adds substantial behavior: tri-state results including a 'not checkable' outcome, the qualifying-week rule for the 26-week test, the 2026 SSP changes, the applicable lower earnings limits, and data provenance with a fetch 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?

Front-loaded with purpose and return shape, and the dense rule detail (dates, thresholds, SSP 2026 changes) is genuinely useful context rather than filler. It runs long as a single sprawling sentence and could be split for scanability.

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 an 8-parameter tool with no output schema, the description does the necessary work: it names the decision output, the rule set applied, and the data vintage. The return value is only loosely characterized ('the weekly amounts'), leaving the agent to infer exact fields.

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; the description earns above that by explaining the logic behind key inputs — the 26 weeks into the qualifying week for employment_start and due_date, and the LEL threshold applied to average_weekly_earnings. It still doesn't clarify what the returned 'weekly amounts' are relative to.

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 (checks qualifying conditions) and a precisely scoped resource (five named UK statutory pay types), and describes the return shape (per-condition tri-state plus weekly amounts). This is clearly distinguishable from the calculate_* siblings, which compute amounts rather than eligibility.

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?

The description makes the eligibility-checking purpose clear but never says when to prefer this over calculate_statutory_sick_pay or calculate_statutory_maternity_pay, even though it also returns weekly amounts, which creates overlap ambiguity. Usage is implied by the payment_type enum rather than stated.

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.