Skip to main content
Glama

calculate uk take home

calculate_uk_take_home
Read-onlyIdempotent

UK employee take-home pay for 2026-27: Income Tax (England, Wales and Northern Ireland, or Scottish bands), employee Class 1 National Insurance (8% from £12,570 to £50,270, 2% above) and student loan (Plans 1, 2, 4, 5 at 9%, postgraduate 6%). Pension, salary sacrifice and other tax codes are not included. UK (gov.uk Rates and thresholds for employers 2026 to 2027), as of 2026-11-22. General estimate for one year: not tax advice, not the payroll withholding.

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": {
      "annual": "<annual>"
    },
    "name": "calculate_uk_take_home"
  }
}

Input Schema

NameRequiredDescriptionDefault
loansNoStudent loan plans being repaid
annualYesAnnual salary before tax (GBP)
scotlandNoPays Scottish Income Tax

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful context beyond that: the statutory source (gov.uk 2026-27 thresholds), the as-of date, the 'estimate, not tax advice, not payroll withholding' caveat, and the explicit list of excluded inputs. That is solid added value, but it still says nothing about what the result contains or how deductions are presented.

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 computation, followed by exclusions, provenance, and disclaimer in a logical order. The rate parentheticals are dense but each carries information an agent cannot get elsewhere; only the repeated disclaimer phrasing ('not tax advice, not the payroll withholding') is slightly redundant.

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?

There is no output schema, so the description carries the burden of describing the return value, and it does not — an agent cannot tell whether it gets a single net figure or a breakdown of income tax, NI, and loan deductions. For a calculation tool with three parameters and no output schema, the inputs, exclusions, and provenance are well covered, but the result shape is a meaningful omission.

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 all three parameters are already documented in the schema, which sets the baseline at 3. The description does add real meaning beyond the schema by attaching the 9% repayment rate to Plans 1/2/4/5 and 6% to postgraduate, and by tying the scotland flag to Scottish bands, but it does not explain how the loans array interacts (e.g., multiple plans combined) or how annual is annualised.

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 (UK employee take-home pay) plus the exact tax year 2026-27 and the three components computed: Income Tax, Class 1 NI, and student loan. This distinguishes it from the country-specific siblings (calculate_us_take_home, etc.) and from calculate_uk_employer_cost without needing to open a schema.

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?

Gives clear scope conditions: employee-side, one year, England/Wales/NI or Scottish bands, and explicitly excludes pension, salary sacrifice, and other tax codes, which tells the agent when this tool will produce a wrong answer. It stops short of naming a sibling to use instead for employer cost or self-employed tax, so it is clear context rather than full routing guidance.

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.