Skip to main content
Glama

uk voluntary ni from abroad

uk_voluntary_ni_from_abroad
Read-onlyIdempotent

UK State Pension for people living outside the UK: which gap years (2020–21 to 2026–27) can still be filled with voluntary National Insurance after the 6 April 2026 change, at Class 2 (£3.65/wk, years to 2025–26 only) or Class 3 (£18.40/wk), each year’s cost and 5 April deadline, the State Pension gain (1/35 of £241.30 a week per year, up to 35 years) with payback, the cost and years lost if you wait past 5 April 2027 (2027–28 rates £19.05/£3.80 as announced), and, with residence, whether it rises each year where you live and what NZ Super, the Australian Age Pension income test or Canadian GIS take back.

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": {
      "qualifyingYears": "<qualifyingYears>",
      "gapYears": "<gapYears>"
    },
    "name": "uk_voluntary_ni_from_abroad"
  }
}

Input Schema

NameRequiredDescriptionDefault
gapYearsYesTax years to fill, by start year (e.g. 2023 = 2023–24); 2020 to 2026
residenceNoWhere the pension will be drawn: decides yearly increases and local deductions (NZ Super, Australian Age Pension income test, Canadian GIS)
workedAbroadNoHas worked while abroad
previousClassNoIf applied before 6 April 2026: the class being paid, 2 or 3 (Class 2 payers must also apply for 2026–27 Class 3 by 5 April 2027)
auAboveFreeAreaNoAustralia only: income already above the Age Pension income-test free area (default true)
qualifyingYearsYesQualifying years already on the UK National Insurance record
ukResidenceYearsNoLongest stretch living in the UK, years in a row
appliedBefore2026NoApplied to pay for 2024–25 or 2025–26 on or before 5 April 2026
ukContributionYearsNoYears of UK contributions paid in total
workedBeforeLeavingNoWorked in the UK immediately before leaving
contributionYearsFor10NoYears of UK-PAID contributions only, for the 10-year test from 2026–27 (no NI credits, no voluntary years abroad); defaults to ukContributionYears

Output Schema

NameRequiredDescriptionDefault
nextNoOptional paid follow-on (name, url, what) where it genuinely helps
noteNoWhen the figures were read, and that this is general information, not advice
pageYesThe calculator page to cite or link, https://decisionscalc.com/...
resultYesThe calculation (usually an object), same engine and figures as the calculator page
sourcesYesOfficial source URLs for the figures used

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / auAboveFreeArea
      Added value: +{
      +  "description": "Australia only: income already above the Age Pension income-test free area (default true)",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / contributionYearsFor10
      Added value: +{
      +  "description": "Years of UK-PAID contributions only, for the 10-year test from 2026–27 (no NI credits, no voluntary years abroad); defaults to ukContributionYears",
      +  "type": "number"
      +}
    • addedInput schema / properties / previousClass
      Added value: +{
      +  "description": "If applied before 6 April 2026: the class being paid, 2 or 3 (Class 2 payers must also apply for 2026–27 Class 3 by 5 April 2027)",
      +  "enum": [
      +    2,
      +    3
      +  ],
      +  "type": "number"
      +}
    • addedInput schema / properties / residence
      Added value: +{
      +  "description": "Where the pension will be drawn: decides yearly increases and local deductions (NZ Super, Australian Age Pension income test, Canadian GIS)",
      +  "enum": [
      +    "ie",
      +    "eea",
      +    "ch",
      +    "us",
      +    "gi",
      +    "il",
      +    "ph",
      +    "tr",
      +    "ca",
      +    "au",
      +    "nz",
      +    "other"
      +  ],
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "next": {
      +      "description": "Optional paid follow-on (name, url, what) where it genuinely helps",
      +      "properties": {
      +        "name": {
      +          "type": "string"
      +        },
      +        "url": {
      +          "type": "string"
      +        },
      +        "what": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "note": {
      +      "description": "When the figures were read, and that this is general information, not advice",
      +      "type": "string"
      +    },
      +    "page": {
      +      "description": "The calculator page to cite or link, https://decisionscalc.com/...",
      +      "type": "string"
      +    },
      +    "result": {
      +      "description": "The calculation (usually an object), same engine and figures as the calculator page"
      +    },
      +    "sources": {
      +      "description": "Official source URLs for the figures used",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "result",
      +    "page",
      +    "sources"
      +  ],
      +  "type": "object"
      +}
  3. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag a safe, deterministic read (readOnly, idempotent, non-destructive, closed-world), so the description is free to add real domain behaviour: it discloses rule-version dependence (post-6 April 2026 change, 2025–26 Class 2 cut-off, 5 April 2027 deadline) and flags which figures are announced versus assumed (£19.05/£3.80 for 2027–28). It does not describe output shape, but an output schema exists to cover that.

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 content largely earns its place, but it is delivered as one ~120-word run-on sentence with semicolon-free comma stacking, so the deadline, the rates and the residence effects are not scannable. Front-loading exists in the opening clause, yet structure, not length, is the problem.

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 an 11-parameter calculator with an output schema, the description supplies the domain frame (rates, deadlines, gain formula, residence consequences) an agent needs to understand what any answer means. The remaining gap is that eligibility logic behind several boolean parameters is left entirely to the schema.

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% with per-parameter descriptions and two enums, so the baseline is 3, and the description goes further by tying parameters together: it states that residence decides both yearly increases and local clawbacks (NZ Super, Australian Age Pension income test, Canadian GIS) and that gap years run 2020–21 to 2026–27. It stops short of explaining the eligibility switches (workedAbroad, workedBeforeLeaving, the 10-year test), which remain schema-only.

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?

The description names a specific resource (voluntary National Insurance gap years for the UK State Pension from abroad) and enumerates exactly what it computes: fillable years 2020–21 to 2026–27, per-year cost and 5 April deadline, Class 2/Class 3 rates, pension gain with payback, cost of waiting, and residence-based indexing/deductions. No sibling tool in the list does this, so an agent can distinguish it without opening the 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?

Usage is only implied by the phrase 'for people living outside the UK'; there is no explicit when-to-use, when-not, or pointer to adjacent tools such as uk_can_i_retire for affordability questions. An agent can infer the situation, but must decide on its own when this calculator rather than a retirement-modelling sibling is appropriate.

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.