Skip to main content
Glama

BRAINIAC Pay, Tax & Employment Calendars

Estimate UK PAYE income tax and National Insurance

labour-tax_uk-paye-ni-estimate
Read-onlyIdempotent

Estimate income tax and Class 1 employee and employer National Insurance for one pay period at constant pay in tax year 2026-27 (rUK, Scotland and Wales bands). Docs: https://www.brainiac.software/api/labour-tax/uk-paye-ni-estimate Keywords: before you run payroll or withhold tax, grossPay, period, taxCode, niCategory, taxYear, region, allowanceAnnual, incomeTaxPeriod, employeeNiPeriod, employerNiPeriod, bands, assumptions, uk paye ni estimate.

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": {
      "grossPay": "<grossPay>",
      "period": "<period>"
    },
    "name": "labour-tax_uk-paye-ni-estimate"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodYesperiod, string, one of weekly, monthly, annual. Required.
taxCodeNotaxCode, string, length 2 to 16. Optional.
grossPayYesgrossPay, number, from 0 to 100000000. Required.
niCategoryNoniCategory, string, one of A, B, C, D, E, F. Required.A

Output Schema

NameRequiredDescriptionDefault
bandsNobands. Array.
regionNoregion. String.
sourcesNosources. Array.
taxYearNotaxYear. String.
assumptionsNoassumptions. Array.
limitationsNolimitations. Array.
allowanceAnnualNoallowanceAnnual. Number.
incomeTaxPeriodNoincomeTaxPeriod. Number.
employeeNiPeriodNoemployeeNiPeriod. Number.
employerNiPeriodNoemployerNiPeriod. Number.

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

A3.8/5.0
Behavior4/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 calculation is pinned to tax year 2026-27 only, applies rUK/Scotland/Wales bands, and assumes constant pay across the period — a material caveat for anyone interpreting the result. It stops short of stating precision or rounding behaviour.

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 opening sentence is well-formed and front-loaded, but the trailing 'Keywords:' block is SEO-style stuffing that repeats the tool name and enumerates non-existent parameters, adding length without adding meaning. A documentation URL is fine; the keyword tail is not.

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?

An output schema exists, so return values need not be described, and the description covers the dimensions that matter for correct invocation: jurisdiction, tax year, pay-period assumption, and a docs link. The main residual gap is that it never frames the output as a non-authoritative estimate, which for a payroll-tax calculation is worth one explicit sentence.

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% and all four parameters (grossPay, period, taxCode, niCategory) carry their own descriptions, so the baseline is 3. The description does explain implicitly why no taxYear or region parameter exists by fixing them in prose, but its keyword list also names parameters that are absent from the schema (allowanceAnnual, incomeTaxPeriod, employeeNiPeriod, employerNiPeriod), which risks an agent trying to supply them.

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+resource ('Estimate income tax and Class 1 employee and employer National Insurance'), plus the scope that makes it distinct: one pay period, constant pay, tax year 2026-27, and rUK/Scotland/Wales bands. That is enough for an agent to separate it from labour-tax_us-federal-withholding-estimate and from the statutory-pay or holiday-entitlement siblings without opening any schema.

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 phrase 'before you run payroll or withhold tax' implies a usage context, but it is buried inside a comma-separated keyword dump rather than presented as guidance. There is no statement of when NOT to use it, no mention of the US withholding sibling, and no note that it returns an estimate rather than a filing-ready figure.

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