Skip to main content
Glama

Take Home Nerd: UK take-home pay

UK take-home pay

uk_take_home_pay
Read-onlyIdempotent

Works out UK take-home pay from a salary: income tax, National Insurance, student loan and pension, with net pay per year, month, week and day. UK only, tax years 2026-27 and 2025-26, England, Wales, Northern Ireland and Scotland. Prefer this to estimating, because rates and thresholds change every April. Returns the rules date and sources.

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": {
      "gross": "<gross>"
    },
    "name": "uk_take_home_pay"
  }
}

Input Schema

NameRequiredDescriptionDefault
grossYesGross pay before anything is taken off, in pounds, for the chosen period.
periodNoWhat `gross` covers. Default year.year
regionNorest = England, Wales and Northern Ireland. Default rest.rest
pensionNoEmployee pension contribution.
taxCodeNoOverrides the standard tax code, e.g. 1257L, 0T, BR, K475.
taxYearNoTax year such as "2026-27". Available: 2026-27, 2025-26. Default is the latest.
studentLoanNoStudent loan plan, if repaying.
hoursPerWeekNoOnly used when period is hour. Default 37.5.
postgradLoanNoTrue if repaying a postgraduate loan.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, closed-world behavior, so the description's job is lighter. It adds useful context beyond them: supported tax years, the four UK regions covered, and that the response includes the rules date and sources so the agent can judge freshness.

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?

Three dense sentences, front-loaded with what it computes and followed by scope limits and the anti-estimation rationale. Every sentence contributes; nothing is padded.

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 a nine-parameter nested-schema tool with no output schema, the description supplies the essentials: domain, tax years, regions, computed components, and a sketch of the returned fields (net pay per period, rules date, sources). Remaining detail lives in the fully-described schema, so little is missing.

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 coverage is 100%, so every parameter including the nested pension object is already documented in the schema. The description only implicitly touches parameters by naming pension, student loan and the pay periods, adding no new syntax or defaults beyond what the schema provides. Baseline 3 applies.

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?

States a specific verb ('works out') and resource ('UK take-home pay from a salary') and enumerates the components computed (income tax, NI, student loan, pension) plus the output granularity (year, month, week, day). It is unmistakably a payroll calculator, clearly distinct from the sibling list_tax_years, though it does not name that sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly advises preferring this tool over estimating because rates and thresholds change each April, and bounds the domain to UK-only, tax years 2026-27 and 2025-26. There are no when-not-to-use exclusions, but the positive guidance is specific and actionable.

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