Skip to main content
Glama

AGOS European Compliance & Operations

Belgian Bank Statement to CODA v2.8 Converter & FPS Finance Belcotax 281.50 Engine

process_be_coda_belcotax
Read-onlyIdempotent

Processes Belgian back-office accounting & tax compliance offline (XXE/depth safe): converts ISO 20022 camt.053 bank statements or structured transactions into strict 128-character CRLF-terminated Febelfin CODA v2.8 files with exact BigInt milli-unit arithmetic and OGM/VCS Mod-97 extraction, or validates/generates FPS Finance Belcotax-on-web Form 281.50 XML with KBO/NN Mod-97 checksums (including post-2000 "2"+digits rule) and Art. 57 / Art. 219 WIB 92 Secret Commissions tax risk assessment.

Input Schema

NameRequiredDescriptionDefault
xmlNoRaw FPS Finance Belcotax-on-web Form 281.50 XML document (for validate_belcotax, no DOCTYPE/ENTITY).
actionYesOperation mode: "generate_coda", "validate_belcotax", or "generate_belcotax".
bankIdNoOptional 3-digit Belgian bank identifier override.
debtorNoBelcotax-on-web Form 281.50 debtor (<Aangifte>) details; defaults to sender if omitted.
fichesNoOptional top-level Belcotax 281.50 fiches array when buildInput is omitted.
senderNoBelcotax-on-web Form 281.50 sender (<Verzending>) identification & contact details.
camtXmlNoRaw ISO 20022 camt.053 XML to convert to Febelfin CODA v2.8 (for generate_coda).
currencyNo3-letter ISO currency code (default: "EUR").EUR
kboNumberNoOptional 10-digit Belgian KBO/BCE number for CODA Record 0.
typeEnvoiNoOptional Belcotax submission type ("0"=original, "1"=rectification).
accountBicNoAccount bank BIC (up to 11 chars).
buildInputNoStructured Belcotax 281.50 XML builder input for action="generate_belcotax".
incomeYearNoBelcotax income year (2020–2027).
accountIbanNoBelgian (BE) or foreign account IBAN (required for generate_coda unless present in camtXml).
openingDateNoOpening balance date (YYYY-MM-DD, DD-MM-YYYY, or DDMMYY).
creationDateNoOptional top-level Belcotax creation date when buildInput is omitted.
languageCodeNoOptional Belcotax language code ("1"=NL, "2"=FR, "3"=DE).
transactionsNoStructured bank movements for generate_coda (alternative to camtXml).
fileReferenceNoOptional 10-character CODA file reference.
statementDateNoStatement creation/closing date (YYYY-MM-DD, DD-MM-YYYY, or DDMMYY).
openingBalanceNoOpening balance for CODA Record 1 (negative allowed for debit balance).
sequenceNumberNoCODA statement sequence number (1–999).
accountHolderNameNoAccount holder name for CODA Record 0.
accountDescriptionNoOptional 35-character account description for CODA Record 1.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and openWorldHint=false, and the description corroborates this by stating the processing is 'offline (XXE/depth safe)' with exact BigInt milli-unit arithmetic and Mod-97 checksums, which is useful behavioral context beyond the annotations. It still does not say what is returned (file contents? string? path?), how failures are surfaced, or whether output is persisted, which matters given it 'generates' artifacts.

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?

Everything is packed into one very long, jargon-dense sentence, front-loaded with a vague preamble ('Processes Belgian back-office accounting & tax compliance offline'). The rich detail is real, but the two unrelated capabilities (CODA conversion vs Belcotax 281.50) are not separated structurally, making the definition harder to scan than it needs to be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 24 parameters, nested objects, three mutually exclusive input modes and no output schema, the description should explain the return value and selection logic between camtXml/transactions/buildInput. It covers the domain well but leaves the response shape and mode-precedence totally unspecified, which is a substantial gap for a tool this complex.

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 coverage is 100%, so the baseline is 3; the description nevertheless adds real semantic value by explaining the OGM/VCS Mod-97 extraction rule, the post-2000 '2'+digits rule for national numbers, and the Art. 57 / Art. 219 WIB 92 Secret Commissions risk assessment. It does not, though, explain how the top-level fields relate to buildInput when both are supplied.

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 concrete verbs and resources: converting ISO 20022 camt.053 statements into 'strict 128-character CRLF-terminated Febelfin CODA v2.8 files', and validating/generating 'FPS Finance Belcotax-on-web Form 281.50 XML'. That is far more specific than the title alone and separates it from the Swiss camt parser or FR FEC validator siblings, though it never explicitly names an alternative.

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?

The three action modes (generate_coda, validate_belcotax, generate_belcotax) are effectively described in the first sentence, so an agent can infer which mode matches which task. However there is no explicit 'use this when / not when' guidance, no prerequisites (e.g. IBAN requirement for CODA), and no routing to sibling tools for the Swiss camt or other tax formats.

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