Skip to main content
Glama

UK Income Tax and Salary

Compare UK salaries after tax

compare_salaries
Read-onlyIdempotent

Compares 1 to 5 UK gross salaries after income tax, National Insurance, student loan and pension for 2025/26 or 2026/27, with the same region, tax code and options for each. Shows net pay a year, month and week, effective and marginal rates, and how much of each pay rise you keep compared with the first salary. Shows when a rise lands in the £100,000 to £125,140 Personal Allowance taper (60% in England, 69.5% in Scotland in 2026/27 with NI). Uses HMRC 2025/26 and 2026/27 rates fetched in Oct 2026.

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": {
      "salaries": "<salaries>"
    },
    "name": "compare_salaries"
  }
}

Input Schema

NameRequiredDescriptionDefault
regionNoWhere you live for tax. england, wales, northern_ireland (same bands) or scotland (six Scottish bands). Default england, or taken from an S or C tax code.
salariesYes1 to 5 annual gross salaries in pounds. The first is the baseline.
tax_codeNoPAYE tax code, default 1257L. Supports nnnnL/M/N/T, S and C prefixes, K codes, BR, D0, D1, SBR, SD0-SD3, 0T, NT and W1/M1/X suffixes.
tax_yearNoUK tax year, 6 April to 5 April. 2025/26 or 2026/27 (default 2026/27).
ni_categoryNoNational Insurance category letter, default A. C = over State Pension age (no employee NI).
pension_amountNoEmployee pension contribution in pounds a year (gross). Use this OR pension_percent.
pension_methodNorelief_at_source (you pay 80%, provider adds 20%, higher-rate relief claimed back) or salary_sacrifice (cuts pay before tax, NI and student loan). Default salary_sacrifice if a pension is given.
pension_percentNoEmployee pension contribution as a percent of gross salary, e.g. 5. For relief at source this is the gross (grossed-up) contribution.
student_loan_plansNoStudent loan plans you repay: plan_1, plan_2, plan_4 (Scotland), plan_5, postgraduate. Several are allowed, as gov.uk describes.

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 the safety profile (readOnly, idempotent, closed-world), yet the description still adds substantive context: the modelled deductions, the break-down of returned figures (net pay per year/month/week, effective and marginal rates, pay-rise retention), taper detection, and the data vintage ('HMRC 2025/26 and 2026/27 rates fetched in Oct 2026'). That vintage disclosure is unusually valuable for a tax tool where rate freshness affects trust.

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 the core capability, then the outputs, then the taper edge case and data source. Dense but each sentence carries information; the specific 60%/69.5% taper figures are borderline detail but do signal a headline feature of the tool.

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?

With 9 parameters, no output schema and no nested objects, the description does the heavy lifting well: it names the deductions modelled and the main returned figures. It stops short of describing the response structure or error behaviour, but an agent has enough to call it and read results correctly.

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 the baseline is 3, but the description adds a genuine cross-parameter semantic: region, tax code and all options apply uniformly to every salary in the array, and the first salary is the baseline for the 'how much of each pay rise you keep' calculation. That interpretation is not obvious from the schema alone.

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 and resource ('compares 1 to 5 UK gross salaries after tax') with the exact deductions modelled. The multi-salary, shared-options framing clearly separates it from the single-salary sibling calculate_uk_take_home and the band/rate lookups get_uk_tax_bands and marginal_rate_at_income.

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 by the comparison framing and the 'same region, tax code and options for each' constraint, but the description never says when to prefer this over calculate_uk_take_home or when a single-salary call is enough. No exclusions or prerequisites are 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.