Skip to main content
Glama

Octobooks

Preview a VAT return

vat_preview
Read-onlyIdempotent

Preview of the VAT return for date_from to date_to (YYYY-MM-DD), computed from the tax codes on posted entries, with what fed each figure: boxes 1 to 9 for a UK company, the Kennzahlen of the Umsatzsteuer-Voranmeldung for a German company (books to the cent, and form in whole euros with Kennzahl 83), the Kennzahlen of the form U30 for an Austrian company (euros and cents, Kennzahl 095, and the two sums the form makes itself; one calendar year at most). registration: the code of one VAT registration of the company (for example DE for the German registration of a UK company); without it the registration of the company's own country. The figures are in the currency of that registration's return; fx says how amounts of the books got there and complete is false when a rate was missing. Entries dated after date_to are left out, so date_to is the As at day of a period still running. result (UK) is box 5 as an amount with to pay or to reclaim; vat_accounts_at_date_to is what the VAT accounts hold at the end of date_to, the balance sheet's VAT figure (owed: owed to the tax office is plus, a reclaim minus). A preview from the books as they stand. Not a return; nothing is filed.

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": {
      "date_from": "<date_from>",
      "date_to": "<date_to>"
    },
    "name": "vat_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyNo
date_toYes
date_fromYes
registrationNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the readOnly/idempotent/non-destructive annotations, it discloses the filter rule (posted entries only, later entries dropped), the fx and complete flags, the sign convention for owed vs. reclaim, and the guarantee that nothing is filed. It does not discuss cost, latency, or what happens with unposted/draft entries beyond the exclusion note.

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 and date semantics are front-loaded, but the middle becomes a dense multi-jurisdiction run-on (boxes 1-9, Kennzahlen, Kennzahl 83, U30, Kennzahl 095) that is hard to parse in one pass. Most content earns its place, but the packaging could be broken into shorter, scannable sentences.

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 multi-jurisdiction preview tool the description covers computation source, period rules, currency/fx, incompleteness signalling and result interpretation, and an output schema exists so return shape needs no explanation. The only meaningful hole is the undocumented 'company' parameter.

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 all four parameters. It explains date_from/date_to format, defines registration precisely including the own-country default, but leaves the 'company' parameter wholly unmentioned, so coverage is three of four with one significant gap.

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 states a specific verb (preview) and resource (VAT return) with the computation basis ('computed from the tax codes on posted entries'), and closes with 'Not a return; nothing is filed', which separates it from the filing sibling. An agent can tell this is a read-only projection rather than a submission 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?

Usage conditions are clear: preview from the books as they stand, entries after date_to excluded so date_to acts as an 'as at' day, Austrian form limited to one calendar year. It never names a concrete alternative (e.g. vat_filing) or says 'preview before you file', so selection guidance is inferential rather than explicit.

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