Skip to main content
Glama

uk payments on account

uk_payments_on_account
Read-onlyIdempotent

UK Self Assessment: what is due on 31 January (balancing payment for the year just ended + first payment on account for the next) and 31 July (second payment on account). Each payment on account is half of the previous year's Self Assessment bill (income tax + Class 4 NI); none if that bill was under £1,000 or more than 80% of the tax was taken at source; capital gains tax and student loan go in the balancing payment only (gov.uk). Reproduces the gov.uk worked example. Use this when someone asks how much Self Assessment tax they pay in January or July.

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": {
      "year": "<year>",
      "saBill": "<saBill>"
    },
    "name": "uk_payments_on_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
cgtNoCapital gains tax for that year, GBP (default 0)
yearYesTax year just ended, as its first calendar year (2025 = 2025-26)
saBillYesSelf Assessment bill for that year: income tax + Class 4 NI, GBP
atSourceNoTax taken at source (PAYE, savings), GBP (default 0)
studentLoanNoStudent loan through Self Assessment, GBP (default 0)
paidOnAccountNoPayments on account already made towards that year, GBP (default 0)

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. 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"
      +}
  2. Added

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower. The description adds genuinely useful domain behavior: the £1,000 threshold, the 80%-at-source exemption test, and the rule that CGT and student loan fall only in the balancing payment. It doesn't state rounding, currency handling, or how paidOnAccount offsets the result, leaving some behavioral gaps.

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 front-loaded with the two due dates and their composition before the calculation rules and the usage trigger. The density is high but nearly every clause carries substantive rule information; the "reproduces the gov.uk worked example" remark is the one line of marginal value.

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?

An output schema exists, so return-value explanation isn't required, and the description supplies the rule logic, edge cases, and a usage trigger. For a six-parameter tax calculator it is close to complete, missing only notes on how prior payments on account reduce the amounts due.

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 parameters are already documented, yet the description adds meaning by tying saBill to income tax plus Class 4 NI, explaining how atSource drives the exemption, and clarifying that cgt and studentLoan belong only in the balancing payment. It does not discuss paidOnAccount beyond what the schema says.

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 the specific domain object (UK Self Assessment payments on account) and states exactly what is computed for 31 January and 31 July, including the components of each. An agent can distinguish this from siblings like uk_stamp_duty_england_ni or uk_voluntary_ni_from_abroad 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It ends with an explicit trigger: "Use this when someone asks how much Self Assessment tax they pay in January or July." That is clear context for selection, but no exclusion or comparison with alternative tools is offered.

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.