Skip to main content
Glama

calculate uk late payment interest

calculate_uk_late_payment_interest
Read-onlyIdempotent

HMRC late payment interest at base rate + 4%, simple daily: 7.75% from 9 January 2026 and 8.00% from 24 November 2026. Days before 9 January 2026 are returned as unknownDays and not charged because that rate has not been checked. United Kingdom, as of 2026-11-21 (gov.uk and legislation.gov.uk). Income Tax bands are for England, Wales and Northern Ireland; Scottish bands are not calculated. General information and estimates only; not personal tax advice, no agent services and no filing with HMRC.

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": {
      "amount": "<amount>",
      "from": "<from>",
      "to": "<to>"
    },
    "name": "calculate_uk_late_payment_interest"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesDate paid
fromYesDate interest starts (the payment deadline)
amountYesUnpaid tax (GBP)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already establish readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds substantial behavior beyond that: the exact rate schedule (7.75% from 9 January 2026, 8.00% from 24 November 2026), the simple-daily accrual method, and the edge-case rule that days before 9 January 2026 are returned as unknownDays and not charged. This is exactly the kind of computational disclosure a rate-based calculator needs.

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 rate and accrual mechanism is front-loaded in the first clause, followed by the date-handling caveat, which is good ordering. Some trailing material on Income Tax bands and 'no agent services' is tangential to an interest calculator and dilutes focus slightly, but the text remains dense and free of filler.

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 single-purpose calculator with no output schema, the description covers rates, method, jurisdiction, as-of date, and the unknownDays edge case, which implies a return field. It does not describe the overall return shape (interest amount, day count, currency), leaving a small gap, but nothing essential for correct invocation 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 description coverage is 100%, with 'from', 'to', and 'amount' each documented, so the schema already carries parameter meaning. The description reinforces the date/rate context but adds no new per-parameter syntax or format details beyond noting the pre-2026-01-09 unknownDays outcome, which makes the baseline 3 appropriate.

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 ('HMRC late payment interest at base rate + 4%, simple daily') with rate values and effective dates, which clearly separates it from siblings like calculate_compound_interest or calculate_uk_sa_penalty. An agent can identify the tool's output domain 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?

The description implies the use case (UK late payment interest on unpaid tax) and gives scope conditions such as 'Income Tax bands are for England, Wales and Northern Ireland; Scottish bands are not calculated' and 'no agent services and no filing with HMRC'. However, it never names an alternative tool or states explicitly when to prefer a sibling such as calculate_uk_sa_penalty, so routing guidance is only implied.

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.