Skip to main content
Glama

calculate uk sa penalty

calculate_uk_sa_penalty
Read-onlyIdempotent

UK Self Assessment penalties for a tax year (online deadline 31 January after the year ends): late filing £100, then £10 a day after 3 months for up to 90 days, then the greater of 5% of the tax or £300 at 6 and again at 12 months; late payment 5% of unpaid tax at 30 days, 6 months and 12 months; plus late payment interest. MTD for Income Tax penalties are different and not calculated. 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": {
      "tax": "<tax>",
      "taxYear": "<taxYear>"
    },
    "name": "calculate_uk_sa_penalty"
  }
}

Input Schema

NameRequiredDescriptionDefault
taxYesTax due on the return (GBP)
paidNoDate the tax was paid
filedNoDate the return was filed
taxYearYesFirst calendar year of the tax year (2024 = 2024-25)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely useful context beyond that: the version/effective date (2026-11-21) with sources, the jurisdiction, the disclaimer that results are estimates and not tax advice, and the explicit statement that no agent services or HMRC filing occur. It does not describe the shape of the result (a single total versus a per-penalty breakdown), which is the remaining behavioral gap.

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?

It is a single front-loaded paragraph that opens with the resource and tax year before listing rules, so an agent can stop reading early if the tool is wrong for the task. The penalty-rule enumeration is dense and could be compressed, but it is defensible as reference material for a calculation tool.

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?

With four parameters, two optional dates and no output schema, the description should say what the caller gets back and how omitted dates are handled; neither is addressed. The jurisdiction, effective-date and disclaimer coverage is strong, but an agent still cannot predict the response structure or the default assumption for missing 'filed'/'paid' values.

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 earns credit by explaining how the dates drive the calculation: the 31 January deadline and the month-based penalty tiers make clear that 'filed' feeds late-filing penalties and 'paid' feeds late-payment penalties and interest. It still does not state what happens when the optional 'filed' or 'paid' values are omitted (presumably treated as on time).

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 names a specific verb and resource ('UK Self Assessment penalties for a tax year') and enumerates the exact penalty regimes computed: late filing (£100, £10/day, 5% or £300), late payment 5% at 30 days/6/12 months, plus interest. It also scopes out what it does not do (MTD, Scottish bands, HMRC filing), which separates it from most siblings. It stops short of explicitly distinguishing itself from the closely related 'calculate_uk_late_payment_interest' sibling, which the mention of 'plus late payment interest' brings into question.

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?

Usage context is clear: UK Self Assessment for a given tax year, with the online deadline stated so the agent knows the trigger condition. Explicit exclusions are given (MTD for Income Tax penalties are different and not calculated; Scottish bands are not calculated), which is stronger than most. It does not name an alternative tool to use for those excluded cases, leaving the agent to search the sibling list.

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.