Skip to main content
Glama

Octobooks

Send Income Tax year end steps

income_tax_year_end
Destructive

MTD Income Tax (UK sole traders and landlords): the year end steps, sent to HMRC for the owner. action=foreign_register with business_id and kind (the property code) gets HMRC's property id of a let abroad. action=estimate (HMRC's in year calculation, with HMRC's disclaimer); bsas_trigger (business_id: HMRC makes the year's adjustable summary); bsas_adjust (business_id, calculation_id; adjustments as HMRC's body, or none: the books' own difference, zero adjustments where nothing differs; put the books right before); annual_set (business_id; body as HMRC's annual submission, or none: the allowances the asset register proposes) or annual_delete; losses_set (business_id; losses: {broughtForwardLosses, currentYearLosses, previousYearsLosses, currentYearGeneralIncome, previousYearGeneralIncome, earlyYearLosses, terminalLosses}, apply_first carry-sideways or carry-back) or losses_delete; liability_set (income_tax, class4, capital_gains_tax: the decrease from losses carried back) or liability_delete; quarters (kind standard or calendar); accounting_type (kind CASH or ACCRUAL). tax_year like 2025-26. The final declaration stays the owner's own click.

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": {
      "action": "<action>",
      "tax_year": "<tax_year>"
    },
    "name": "income_tax_year_end"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNo
kindNo
actionYes
class4No
lossesNo
companyNo
tax_yearYes
income_taxNo
adjustmentsNo
apply_firstNo
business_idNo
calculation_idNo
capital_gains_taxNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructive, non-idempotent and open-world, so the safety profile is covered. The description adds genuinely useful context beyond that: submissions go to HMRC externally, estimates carry HMRC's disclaimer, adjustments should be applied only after the books are corrected, and the declaration stays a human click. It does not say what happens on failure or whether a submission can be retracted.

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

Conciseness3/5

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

Purpose is front-loaded and there is no filler, but the whole definition is one semicolon-chained block with no line breaks or grouping per action. For a nine-action tool this density actively impedes parsing, even though nothing is redundant.

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 present, return values need no explanation, and for 13 parameters at 0% schema coverage the description is unusually thorough on inputs and HMRC side effects. Remaining gaps are the unmentioned 'company' parameter and the absence of any stated precondition such as an authenticated HMRC connection for a destructive outbound submission.

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 coverage is 0%, so the description carries the full burden and largely delivers: it binds business_id, kind (property code vs standard/calendar vs CASH/ACCRUAL), calculation_id, adjustments, apply_first (carry-sideways/carry-back), the eight loss keys, and tax_year format 2025-26. But 'body' stays opaque across several actions, 'company' is never mentioned, and the action-to-parameter mapping is stated loosely enough that an agent could pass a parameter under the wrong action.

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?

States a specific verb+resource: MTD Income Tax year end steps sent to HMRC for the owner, scoped to UK sole traders and landlords. It also draws a clear line against the declaration sibling with 'The final declaration stays the owner's own click.' The one deduction is that it is a multi-action gateway, so 'what it does' is really a list of nine actions rather than one operation.

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?

Each action value is described well enough to know what it triggers, and there is a sequencing hint ('put the books right before' bsas_adjust) plus the explicit exclusion of the final declaration. However there is no guidance on when to choose this tool over income_tax or year_end_propose, no preconditions, and no stated order among bsas_trigger, annual_set and liability_set.

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