Skip to main content
Glama

Octobooks

Income Tax year end at HMRC

income_tax
Read-onlyIdempotent

MTD Income Tax (UK sole traders and landlords), read from HMRC. what=year_end (default): per HMRC business its adjustable summaries (BSAS) and the latest read with the accounting adjustments these books ask for (the year in the books less the quarterly updates HMRC holds), its annual submission of allowances and adjustments or what the asset register proposes, its losses and the loss to treat; the year's tax liability adjustments, the tax returns HMRC expects and the signpost for income Octobooks does not send. what=calculations: HMRC's calculations of the year; what=calculation with calculation_id: one calculation with HMRC's disclaimer; what=obligations: the tax returns HMRC expects. tax_year like 2025-26. It sends nothing.

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_year": "<tax_year>"
    },
    "name": "income_tax"
  }
}

Input Schema

NameRequiredDescriptionDefault
whatNoyear_end
companyNo
tax_yearYes
calculation_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true and openWorldHint=true, so the safety profile is largely given. The description adds the useful constraint 'It sends nothing' and hints at coverage limits ('the signpost for income Octobooks does not send'), but it says nothing about error behaviour for invalid tax_year formats or missing calculation_id, nor about rate or auth constraints against HMRC.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The entire body is a single run-on sentence saturated with parentheticals and nested clauses ('its annual submission of allowances and adjustments or what the asset register proposes'), which makes it hard to parse. The mode enumeration is front-loaded, but the density significantly harms usability for an agent.

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?

An output schema exists, so return values need not be explained, and the four modes plus tax_year format cover most of the calling surface. The unexplained 'company' parameter and the absence of any discussion of what happens with an unknown calculation_id or malformed tax_year leave gaps for a complex, multi-mode tool.

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 0%, so the description must carry the burden. It does explain the values of 'what' and gives the tax_year format example '2025-26', but the 'company' parameter is never mentioned and 'calculation_id' is only implied by the mode string, leaving two of four parameters effectively undocumented.

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 (read MTD Income Tax data from HMRC for UK sole traders and landlords) and enumerates four distinct modes (year_end, calculations, calculation, obligations), which is far more than a restatement of the title. It does not, however, distinguish itself from sibling tools like income_tax_year_end or income_tax_declare, so an agent cannot tell from the text alone why it should pick this tool over those.

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?

Mode selection is implied through the 'what=' enumeration, including the conditional 'what=calculation with calculation_id', so an agent can infer which value to pass for which need. Explicit when-to-use guidance is missing, though: nothing says when to prefer this over income_tax_year_end or income_tax_declare, and the fact that calculation requires calculation_id is only obliquely signalled.

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.

Resources