Skip to main content
Glama

AGOS European Compliance & Operations

Swiss ISO 20022 camt.053 / camt.054 Parser & Reconciler

parse_swiss_camt_xml
Read-onlyIdempotent

Parses Swiss ISO 20022 camt.053 (bank statement) or camt.054 (QR-Bill batch credit/debit notification) XML into structured transactions with Mod-10 Swiss QRR validation, ISO 11649 SCOR validation, CH/LI IBAN Mod-97 + QR-IBAN detection, and optional 3-tier open invoice reconciliation.

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": {
      "xml": "<xml>"
    },
    "name": "parse_swiss_camt_xml"
  }
}

Input Schema

NameRequiredDescriptionDefault
xmlYesRaw Swiss ISO 20022 camt.053 or camt.054 XML document.
invoicesNoOptional list of open invoices to reconcile against incoming credit transactions.
invoicesCsvNoOptional semicolon/comma CSV of open invoices (alternative to invoices array).
sourceFileNameNoOptional original filename for traceability.

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?

Annotations already declare readOnly, idempotent, and closed-world, so the safety profile is covered. The description adds genuine behavioral detail beyond them: the specific validation passes (QRR Mod-10, ISO 11649 SCOR, IBAN Mod-97, QR-IBAN detection) tell the agent what processing occurs and what kinds of validation failures may surface. It stops short of describing error handling or how reconciliation tiers are reported.

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

Conciseness4/5

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

A single front-loaded sentence that leads with the verb and format before listing validations and the optional reconciliation layer. It is dense but each clause carries distinct information; the validation list is the only part that verges on enumeration for its own sake.

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

Completeness3/5

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

There is no output schema, so the description must carry the burden of describing return values, and it only offers 'structured transactions'. What the reconciliation produces, how validation results or failures are surfaced, and the response shape are left unstated, which is a real gap for a parser with a conditional reconciliation mode.

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 100%, so the baseline is 3. The description adds only marginal meaning by tying the invoices input to '3-tier open invoice reconciliation'; it says nothing about the invoice object fields, the invoicesCsv format, or the distinction between the two invoice inputs that the schema already documents.

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?

States a precise verb (Parses) and two named formats (camt.053 bank statement, camt.054 QR-Bill notification), plus the output (structured transactions) and the validations applied. This distinguishes it from sibling processors like process_ch_coda_belcotax or process_ch_sps_mwst without needing to name them.

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?

The formats named make the use case clear (Swiss camt XML input), and 'optional 3-tier open invoice reconciliation' signals the conditional path when invoices are supplied. There is no explicit exclusion or statement of prerequisites (e.g., document must be a single statement), but the context is sufficiently clear to select the tool.

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