Skip to main content
Glama

BRAINIAC Pay, Tax & Employment Calendars

Calculate UK statutory pay (SSP, SMP, SAP, SPP, ShPP, SPBP, SNCP)

labour-tax_uk-statutory-pay-calculate
Read-onlyIdempotent

Calculate Statutory Sick Pay and statutory maternity, adoption, paternity, shared parental, parental bereavement and neonatal care pay for tax year 2026-27 from caller-supplied average weekly earnings. Docs: https://www.brainiac.software/api/labour-tax/uk-statutory-pay-calculate Keywords: before you run payroll or withhold tax, type, averageWeeklyEarnings, startDate, weeks, ssp, smpEligibility, weeklyRate, schedule, total, eligible, reasons, taxYear, uk statutory pay calculate.

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": {
      "type": "<type>",
      "averageWeeklyEarnings": "<averageWeeklyEarnings>",
      "startDate": "<startDate>"
    },
    "name": "labour-tax_uk-statutory-pay-calculate"
  }
}

Input Schema

NameRequiredDescriptionDefault
sspNossp, object. Optional.
typeYestype, string, one of SSP, SMP, SAP, SPP, ShPP, SPBP. Required.
weeksNoweeks, number, from any to 52. Optional.
startDateYesstartDate, string. Required.
smpEligibilityNosmpEligibility, object. Optional.
averageWeeklyEarningsYesaverageWeeklyEarnings, number, from 0 to 1000000. Required.

Output Schema

NameRequiredDescriptionDefault
typeNotype. String.
totalNototal. Number.
reasonsNoreasons. Array.
sourcesNosources. Array.
taxYearNotaxYear. String.
eligibleNoeligible. Boolean.
scheduleNoschedule. Array.
weeklyRateNoweeklyRate. Number.
limitationsNolimitations. Array.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / limitations / items / description
      Previous value: -"Item. String."New value: +"item. String."
  2. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds genuine context beyond that: the result is scoped to tax year 2026-27 and computed from caller-supplied average weekly earnings rather than an external lookup. It says nothing about how eligibility objects affect the outcome or how rates are sourced, so the added value is real but modest.

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 first sentence is well-formed, front-loaded and dense with real information. However, the trailing 'Docs:' link plus a long comma-separated keyword dump ('type, averageWeeklyEarnings, startDate, weeks, ssp, smpEligibility, weeklyRate, schedule, total, eligible, reasons, taxYear') is largely noise that dilutes the signal, even though a couple of those phrases hint at usage.

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?

With six parameters, nested objects (ssp, smpEligibility) and an output schema present, the description is only partially complete. It correctly omits return-value explanation since an output schema exists, but it never explains what the nested ssp and smpEligibility objects do or how eligibility results affect the computed pay, leaving the most complex part of the call unexplained.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents all six parameters and the enum. The description only restates averageWeeklyEarnings and echoes parameter names (type, ssp, smpEligibility) in the keyword tail without explaining their meaning or interaction. Baseline 3 is appropriate when the schema carries the semantics.

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 opening sentence names a specific verb (calculate) and enumerates every statutory pay type covered (SSP, SMP, SAP, SPP, ShPP, SPBP, SNCP), plus the tax year and the input basis (caller-supplied average weekly earnings). An agent can tell this is the statutory-pay calculator rather than a PAYE/NI or minimum-wage tool. It stops short of explicitly naming the nearest sibling (labour-tax_uk-paye-ni-estimate), so it is not a 5.

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 context is only implied, via the buried phrase 'before you run payroll or withhold tax' inside the keyword list. There is no explicit statement of when to choose this over the PAYE/NI estimate or the holiday-entitlement calculator, and no exclusions or prerequisites. An agent must infer the routing decision.

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