Skip to main content
Glama

Bank Statement Converter - camt.053/MT940 to CSV, No Key

bank_statement_converter
Read-onlyIdempotent

Convert bank statements without software or AI: camt.053 (ISO 20022, versions .001.02 to .001.08, also camt.052) and MT940 files, single or zipped, to clean JSON, CSV, Excel (xlsx) or back to MT940 for older accounting tools. Every statement gets a balance check (opening + entries = closing). Counterparty name, IBAN, BIC, remittance text, end-to-end ID, mandate and creditor ID, bank transaction code and German ?20-?33 / Dutch /TRTP/ fields are parsed. Files are processed in memory only and never stored. Monitor mode returns only transactions not seen before. Free: 5 calls/day per IP. Paid: Radar API key (from €9/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.02/call via x402 at https://radarbg.com/x402/bank-statement-converter.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "format": "json",
      "fileName": "statement.sta",
      "fileContent": ":20:STMT1\n:25:DE02120300000000202051\n:28C:1/1\n:60F:C261101EUR1000,00\n:61:2611021102D25,00NTRFNONREF\n:86:Coffee\n:62F:C261102EUR975,00",
      "inputFormat": "auto"
    },
    "name": "bank_statement_converter"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNojson = one row per statement (balances + balance check) and one row per transaction; csv or xlsx = one row with the file as base64 (contentBase64) plus statement summaries; mt940 = camt converted to MT940 text (also base64).
fileUrlNoPublic http(s) link to a camt.053, camt.052 or MT940 file, or a .zip with several (max 10 MB, 50 files). For example a pre-signed S3/Drive link. Private and local addresses are refused. Leave empty and fill File content instead. One of file
fileNameNoOptional original file name, used as sourceFile in the rows and as the name of the output file (for example statement-2026-11.xml).
fileContentNoThe statement itself: raw XML / MT940 text, or base64 of the file (zip allowed). Max 10 MB. Processed in memory only, never stored or logged.
inputFormatNoauto detects camt (XML) or MT940 by content. Set it only if detection fails.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / fileUrl / description
      Previous value: -"Public http(s) link to a camt.053, camt.052 or MT940 file, or a .zip with several (max 10 MB, 50 files). For example a pre-signed S3/Drive link. Private and local addresses are refused. Leave empty and fill File content instead, or leave bo"New value: +"Public http(s) link to a camt.053, camt.052 or MT940 file, or a .zip with several (max 10 MB, 50 files). For example a pre-signed S3/Drive link. Private and local addresses are refused. Leave empty and fill File content instead. One of file"
  2. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations cover only read-only/open-world/idempotent, yet the description adds material behavior: an explicit balance check (opening + entries = closing), in-memory processing with no storage or logging, monitor mode returning only previously unseen transactions, a 5-calls/day free tier, and the two paid auth paths (Radar API key header vs x402 per-call). That is exactly the auth, quota, and side-effect context an agent cannot get from the structured fields.

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?

Front-loaded with what the tool does, then formats, then fidelity guarantees, then pricing — a sensible order with no wasted sentences. It is dense but nearly every clause carries information; the pricing URL and plan copy are the least essential part for an invoking agent.

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 file-conversion tool with no output schema, the description covers inputs, accepted encodings, output shapes per format, and the auth/quota model. It leaves the zip-handling result shape and error behavior for private/invalid URLs only partially implied (the schema handles the URL case), which is a minor gap rather than a blocking one.

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 coverage is 100% and each parameter already carries a detailed description (format semantics, URL limits of 10 MB / 50 files, private-address refusal, inputFormat auto-detection). The description adds little parameter-level detail beyond the format list and the 'single or zipped' constraint, so the baseline 3 applies.

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?

Names a specific verb and resource set: converts camt.053 (with version range .001.02-.001.08, plus camt.052) and MT940, single or zipped, into JSON/CSV/XLSX or back to MT940. The supported inputs and output targets are enumerated, so an agent can tell immediately whether a given file is in scope.

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?

Gives clear context cues: MT940 output is 'for older accounting tools', inputFormat should be set 'only if detection fails', and files can be supplied by URL or inline content. It does not name a sibling tool or state when a different converter would be the better choice, so it stops short of full routing guidance.

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