Skip to main content
Glama

uk late payment interest

uk_late_payment_interest
Read-onlyIdempotent

UK (England, Wales, Northern Ireland; Scotland has the same rate): statutory interest and the fixed sum on a late business-to-business or public-authority invoice (Late Payment of Commercial Debts (Interest) Act 1998). Rate = Bank of England base rate on the 30 June or 31 December before interest starts + 8% (11.75% for interest starting 1 July to 31 December 2026), fixed for the debt; interest = debt x rate / 365 x days; fixed sum £40 (debt under £1,000), £70 (under £10,000), £100 (£10,000 or more), plus reasonable recovery costs above that. With no agreed date, payment is due on the last of the 30 days beginning with the later of delivery and the invoice. Use this when someone in the UK asks how much interest they can charge a customer who paid late.

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>",
      "paidDate": "<paidDate>"
    },
    "name": "uk_late_payment_interest"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesAmount unpaid, GBP
dueDateNoPayment due date, YYYY-MM-DD (or give invoiceDate)
paidDateYesDate paid, or the date to calculate to, YYYY-MM-DD
invoiceDateNoNo agreed date: the later of delivery and the customer getting the invoice, YYYY-MM-DD (due on the 30th day counting it as day one)

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/5.0
Behavior5/5

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

Annotations only establish a safe, idempotent, closed-world read; the description goes well beyond them by disclosing the rate formula, the base-rate reference dates, the fixed-sum bands (£40/£70/£100), the recovery-costs addition, and the 30-day default due-date rule. That is exactly the domain behavior an agent needs and cannot get from structured fields.

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?

Jurisdiction and the statutory basis are front-loaded, then the formula, then the usage trigger — a sensible order with no filler. It is dense and runs long in a single block, so the rate/band/due-date details would scan faster as structured fragments, but no sentence is wasted.

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?

With an output schema handling return values and full annotation coverage, the description supplies the jurisdictional, rate and due-date context needed to call this correctly. Minor gaps remain around interest treatment on partial payments and the exact day-count convention at the boundary dates.

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%, so the baseline is 3, but the description adds real meaning: it explains how amount and the day count feed the formula and clarifies the relationship between dueDate and invoiceDate via the fallback due-date rule. It stops short of saying what happens with partial payments or which date bounds the day count.

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 precise computation — statutory interest plus the fixed sum on a late UK B2B/public-authority invoice under the Late Payment of Commercial Debts (Interest) Act 1998 — and scopes it by jurisdiction. An agent can distinguish it from the Irish sibling on the name and the England/Wales/NI/Scotland framing alone.

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?

It gives a concrete trigger: 'Use this when someone in the UK asks how much interest they can charge a customer who paid late.' That is clear context, but there is no explicit when-not guidance or pointer to alternatives such as ireland_late_payment_interest or compound_interest for non-statutory calculations.

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.