Skip to main content
Glama

uk state pension age and forecast

uk_state_pension_age_and_forecast
Read-onlyIdempotent

UK: exact State Pension age date from a date of birth under current law (66; 66 and 1-11 months for 6 Apr 1960 - 5 Mar 1961; 67 to 5 Apr 1977; fixed dates 6 May 2044 - 6 Mar 2046 for 6 Apr 1977 - 5 Apr 1978; 68 after), and a forecast reader: each qualifying year adds GBP 241.30/35 a week up to the full rate, protected payment above it, whether filling gap years at the 2026-27 Class 3 rate adds anything.

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": {
      "dateOfBirth": "<dateOfBirth>"
    },
    "name": "uk_state_pension_age_and_forecast"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateOfBirthYesDate of birth, YYYY-MM-DD
futureYearsNoQualifying years still to be added before State Pension age
gapsFillableNoGap years that can still be filled with voluntary contributions
currentAmountNoWeekly amount the NI record gives now, GBP (from the gov.uk forecast)

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. Added

TDQS

A4/5.0
Behavior5/5

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

Beyond the annotations, the description discloses current-law age bands, the forecast accrual rate, the protected-payment treatment, and the 2026-27 Class 3 gap-fill assumption. This gives the agent substantive domain behavior and assumptions rather than merely restating read-only/idempotent safety traits.

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?

The description is front-loaded and every clause carries substantive information, with no filler. It is dense and uses a long parenthetical band list, which slightly hurts readability, but the compactness is defensible for a rules-heavy pension calculation.

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 complex tool with four parameters, annotations, and an output schema, the description supplies enough age-law and forecast context to call it correctly. It does not explain return values, which is acceptable because an output schema exists, though it could say more about forecast assumptions beyond the Class 3 rate.

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?

The schema already covers all four parameters at 100%, so the baseline is 3. The description still adds meaning by explaining how qualifying years, gap years, and the current weekly amount feed into the forecast calculation, although it does not explicitly map every parameter by name.

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?

The description states a specific resource and calculation: exact UK State Pension age from date of birth plus a forecast reader. It is clear what the tool does, but it does not explicitly differentiate itself from adjacent siblings such as uk_can_i_retire or uk_voluntary_ni_from_abroad.

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 phrases such as 'from a date of birth' and 'forecast reader', so an agent can infer when the tool applies. However, there is no explicit when-to-use guidance, no exclusions, and no named alternatives for overlapping pension questions.

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.