Skip to main content
Glama

Octobooks

Fixed assets and their purchase

asset

Fixed assets (round 611). action=list: the register (cost, accumulated depreciation, book value, what is due, the purchase entry) and the entries on fixed asset accounts that are not on it. action=add with asset and how: bank (paid_from: the ledger account code of the bank, like 1200; tax_code: the purchase tax rate, VAT on top of the net cost) or supplier (supplier name, reference, tax_code): the purchase entry is proposed with it, cost on the asset account, the total against the bank or the supplier's creditor account; entry (journal_id: the purchase is in the books already); opening (bought before the books start: opening_accumulated, books_start; post_opening=false where the opening balances hold it already). action=purchase with asset_id and how bank or supplier puts the purchase of an asset on the register forward, how=entry with journal_id links it. action=from_entry with journal_id, account, name and life_months puts a ledger line on the register. action=depreciate with period (YYYY-MM): every asset's depreciation due up to the month's end, one entry a month. action=dispose with asset_id (or code), disposed_on (YYYY-MM-DD), proceeds (what was received, VAT included; left out: nil, scrapped), proceeds_account (the bank like 1200 or the debtor, needed with proceeds), tax_code (the sales tax rate of the sale; left out: the standard rate where the company is VAT registered, none for no VAT) and result_account (left out: the chart's Loss on disposal or Profit on disposal account, by the result): the asset leaves the register on that day and one proposal books the depreciation still due up to the month before and the disposal (cost and accumulated depreciation off the books, the difference to the proceeds as gain or loss). Every entry is released as the owner's switches say. asset: {name, cost (net), acquired_on (YYYY-MM-DD), in_use_from, method (straight_line with life_months, reducing_balance with rate a year in percent, none), residual, cost_account, accumulated_account, expense_account (left out: the chart's lowest fixed asset account and its own), code (left out: the next FA-nnn), note}

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>"
    },
    "name": "asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
howNo
codeNo
nameNo
assetNo
actionYes
periodNo
reasonNo
accountNo
companyNo
asset_idNo
proceedsNo
supplierNo
tax_codeNo
paid_fromNo
referenceNo
journal_idNo
books_startNo
disposed_onNo
life_monthsNo
post_openingNo
result_accountNo
proceeds_accountNo
opening_accumulatedNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations declare a mutating, non-idempotent, non-destructive tool, and the description adds meaningful behavior: purchases and disposals are 'proposed' rather than posted, depreciation creates 'one entry a month', disposal books the depreciation still due up to the month before, and 'Every entry is released as the owner's switches say'. Missing are failure modes and what happens on partial input, but the proposal/approval model is disclosed.

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?

The content is dense but front-loaded with action=list, and each action block is separated by 'action='. However, it is delivered as one run-on paragraph of semicolon- and parenthesised clauses, which makes it hard to scan; a per-action structure would be clearer for six distinct operations.

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 six-action, 23-parameter mutation tool this covers the register contents, defaults for account codes, tax rates and result accounts, and the proposal/release model. An output schema exists so return values need not be described, and the only notable gaps are the company and reason parameters.

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 description coverage is 0% across 23 parameters, so the description carries the burden and largely does: paid_from, tax_code, supplier, reference, journal_id, opening_accumulated, books_start, post_opening, asset_id, period, disposed_on, proceeds, proceeds_account, result_account and the full nested asset object are explained with defaults. Only a few parameters, notably company and reason, are left undefined.

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 states concrete verbs and resources for each action: list the register, add with asset details, purchase, from_entry, depreciate per period, dispose. It also names the concrete outputs of each (register contents, proposed purchase entry, disposal proposal). It never names a sibling tool to distinguish itself from alternatives such as depreciation_propose, which is a shared gap given the 30+ sibling set.

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 gives condition-based guidance inside each action, e.g. opening is for assets 'bought before the books start' with post_opening=false 'where the opening balances hold it already', and entry is for purchases already in the books. It does not state when to prefer this tool over sibling tools like depreciation_propose or purchase_order, leaving that inference to the agent.

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