Skip to main content
Glama

Octobooks

Propose year end entries

year_end_propose

Propose the entries of one step of a year end, for a fiscal year (like FY2025). step: closing (every income and expense account brought to nil against the result account, dated the last day; the release is refused unless it closes the year exactly); opening (the result carried onto the forward account on the opening day of the next year, where the settings name one); prepayments (items: each {account: the expense account, what_for, and amount: the part that belongs to later years, or total with covers_from and covers_to, then the part after the year end is worked out by days}; the release in later months is part of the same proposal); provisions (items: each {account: the expense account, amount, what_for, provision_account}; tax=true adds the difference between the tax worksheet and what the books charge); stock (counts: each {account, counted: the value on the last day, note}; write_downs: each {account, amount, what_for}); disposal (asset: the code of an asset the register says is disposed of, proceeds_account if it was sold, result_account for the gain or loss: left out, a loss goes to Loss on disposal and a profit to Profit on disposal of the chart); four papers that touch no ledger and take effect at once: ct600a (UK, the CT600A loans to participators; items empty reads the boxes; each item {op: take} for the lines the director's loan account gives, {op: add, part: made, relief_9_months or relief_later, participator, amount, loan_date, paid_on, released} or {op: void, id}); computation (UK, the Corporation Tax computation in HMRC's CT Computations Format 1.1: adjustments Parts 1 to 7, capital allowances by pool from the asset register, the losses memorandum, profits chargeable and the tax; items empty reads it; each item {op: account, account, category, percent, every_year} treats an account under a category (percent 0: allowable), {op: amount, category, amount, narration}, {op: loss_claim, claim: current_period, carry_back, terminal (three years back, CTA 2010 s39) or carry_forward, prior_profits}, {op: cessation, on: the day the trade ended}, {op: group_relief, other_company_id, surrender_period, what: trading_loss, ntlr_deficit or ifa_loss, or trading_loss_cf, ntlr_deficit_cf or ifa_loss_cf for losses carried forward (box 312), amount, other_utr, own_utr, loss_period (its loss-making period where it is owned by a consortium, s188CC), arrangements, shares_as_stock} (a 75% group or a consortium on the registers of members, consortium relief by the ownership proportion; gives nothing until the other company consents), {op: equity_rights, follows_shares, holders: {name: {profits, assets, votes}}, companies, persons} (asked once per company; holders merge), {op: deductions_allowance, amount} (the group deductions allowance allocated to this company), {op: outside_group, in_group} (a company outside the account holds 75% or more), {op: group_consent, claim} in the surrendering company (post or approve right, or the AI while the owner's switch AI gives group relief consent is on, which it is until a person switches it off; fixes the amount given), {op: withdraw_consent, id}, {op: ntlr_claim, claim: same_period, carry_back or carry_forward, amount}, {op: ifa_loss_claim, claim: set_off or carry_forward}, {op: gain, narration, gain, proceeds, cost, disposed_on}, {op: rollover, kind: tcga152 with gain_line, asset_class (TCGA 1992 s155: 1A, 1B, 2, 3, 4, 5, 6, 7, 7A, 8), reinvested, reinvested_on (empty: provisional), or kind: ifa with asset and new_asset (register codes), reinvested} or {op: void, id}; the read lists the categories; a period of account over 12 months is two accounting periods, fiscal_year "FY2025 AP2" reads the second); anhang (Germany, the Anhang of a kleine GmbH; items empty reads what is saved and open; each item {key, value}, keys as the read returns them); ueberleitung (Germany, the Ueberleitungsrechnung of the E-Bilanz; items empty reads the lines; each item {op: add, position, change_year, change_prior, narration, counter} or {op: void, id}); partners (a partnership or LLP; items sets the partners, each {name, share, kind, salary, interest_rate, tax_ref, ni_number, address, joined_on}, with id to change one (also left_on); without items the profit allocation of the year onto the partners' current accounts, preview=true shows it and writes nothing). A proposal is booked on release: by the connected AI where the owner's switches allow it, otherwise by the owner on the approval page, all of it or none. withdraw=true with pending_action_id withdraws a proposal of this connection. sign_off=true with step assets, accruals, prepayments, provisions or stock signs that step off with reason as the note, where there is nothing to book (while the owner's switch for the AI's sign off of year end steps is on, as it is unless switched off). It builds on the year_end and year_end_guide reports. Round 832: step=treatment with treatment and fields (preview=true shows the entries and writes nothing; accounts {key: code} names an account in place of the chart's own): lease {start, months, payment, rate, in_advance, initial_costs, what} (FRS 102 s20 from 2026: right-of-use asset on the register, lease liability, monthly interest; refused for a German company: HGB keeps it with the lessor); hire_purchase (as lease, with life_months, asset_account, accumulated_account); lease_straight_line {start, months, total, paid_to_date, date} (short term or low value lease, rent free time: accrual or prepayment at the date, reversed the next day); deferred_tax {date, tax_value, book_value (default the register), other_differences, rate (default worked out: UK by the profit with marginal relief, Germany KSt, Soli and the Hebesatz of the year end settings)}: the movement of the provision; bad_debt_specific {date, invoice, percent, base gross or net}; bad_debt_general {date, percent, over_days, base}: an allowance kept apart from VAT bad debt relief; grant {amount, received_on (a date), booked_to (the account code the receipt was booked to, or its bank account), months, model accrual, performance or reduce_cost (Germany only)}; impairment {date, asset, recoverable} or {date, asset, reversal} (not for goodwill); goodwill {date, amount, paid_from, life_years (at most 10 where not reliably estimable), life_reliable, what}. Accounts the chart lacks are added with the standard number of its chart. fiscal_year may be empty for a treatment.

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": {
      "fiscal_year": "<fiscal_year>",
      "step": "<step>",
      "reason": "<reason>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "year_end_propose"
  }
}

Input Schema

NameRequiredDescriptionDefault
taxNo
stepYes
assetNo
itemsNo
countsNo
fieldsNo
reasonYes
accountNo
companyNo
previewNo
accountsNo
sign_offNo
withdrawNo
treatmentNo
fiscal_yearYes
write_downsNo
result_accountNo
idempotency_keyYes
proceeds_accountNo
pending_action_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior5/5

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

Goes well past the annotations: it explains that a proposal is not booked until release, that release is atomic ('all of it or none'), who performs the booking (the AI when the owner's switches allow, otherwise the owner on the approval page), and that withdraw/sign_off require pending_action_id or a qualifying step with the relevant switch on. It also discloses refusal conditions ('the release is refused unless it closes the year exactly', lease refused for a German company) and that preview=true writes nothing — exactly the auth and side-effect context annotations cannot convey.

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?

A single unbroken run-on of well over a thousand words with no headings, bullets, or paragraph breaks, so the agent must linear-scan dense jargon to find any one step's contract. The content is information-dense and front-loaded with purpose, but the appended 'Round 832: step=treatment' block reads as a changelog bolted onto the end rather than a structured section.

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?

For a 20-parameter mutating tool with an output schema, no annotation-level detail and a large nested payload, the description covers the necessary ground: every step, the atomic release model, signing off, withdrawal, preview, and the treatment catalogue. The notable omissions are the meaning of idempotency_key (important given idempotentHint=false) and the reason field, which is required but never explained.

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?

With 0% schema description coverage across 20 parameters, the description carries nearly the whole burden and largely succeeds: it defines step values, the nested item shapes for prepayments, provisions, stock, disposal, ct600a, computation, anhang, ueberleitung and partners, plus accounts, counts, write_downs, treatment, preview, withdraw, sign_off, pending_action_id and the fiscal_year format ('FY2025 AP2'). Gaps remain for reason, idempotency_key, company, and the standalone asset/account parameters, which are only explained incidentally inside the disposal and lease text.

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 opening clause gives a specific verb and resource: 'Propose the entries of one step of a year end, for a fiscal year', and it enumerates the step values (closing, opening, prepayments, provisions, stock, disposal, and the four papers/treatment). It never distinguishes itself from plausible siblings such as year_close_request, release, accruals_propose or depreciation_propose, so the reader must infer the boundary from the step list alone.

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?

Usage conditions are embedded per step (e.g. prepayments takes items of {account, what_for, amount} or total with covers_from/covers_to; 'items empty reads the boxes'), which implies when each branch applies. But there is no explicit routing guidance — nothing says when to pick this over year_close_request or accruals_propose, and the only cross-reference is the vague 'It builds on the year_end and year_end_guide reports'.

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