Skip to main content
Glama

SEPA XML Generator - pain.001 credit transfer + pain.008 direct debit

sepa_xml
Read-onlyIdempotent

Turn a payment list (JSON rows or CSV) into a bank-ready SEPA XML file: credit transfer pain.001 or direct debit pain.008 (versions 2009 to 2019), validated against the official XSD, IBAN and creditor-ID checks, next TARGET2 business day, rejected rows listed with the reason. Also mode=check (validate an existing SEPA file) and mode=upgrade (old pain version -> current). Runs on our server, nothing stored. Free: 5 calls/day per IP. Paid: Radar API key (from €15/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.01/call via x402 at https://radarbg.com/x402/sepa-xml.

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": {
      "iban": "DE89370400440532013000",
      "name": "Example GmbH",
      "rows": [
        {
          "iban": "DE02120300000000202051",
          "name": "Max Muster",
          "amount": "125.50",
          "reference": "Invoice 2026-001"
        }
      ],
      "type": "credit_transfer"
    },
    "name": "sepa_xml"
  }
}

Input Schema

NameRequiredDescriptionDefault
bicNoYour BIC (optional)
csvNoOr the payment list as CSV text with a header line
xmlNoSEPA XML text for mode check / upgrade
ibanNoYour IBAN
modeNogenerate, check, upgrade or templategenerate
nameNoYour company name (payer for transfers, creditor for debits)
rowsNoPayments: name, iban, amount, reference (+ bic, mandate_id, mandate_date for debits)
typeNocredit_transfer or direct_debitcredit_transfer
creditor_idNoSEPA creditor identifier (direct debit only)
execution_dateNoYYYY-MM-DD (default: next business day)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare readOnly/openWorld/idempotent; the description adds substantial behavior beyond that: XSD validation, IBAN and creditor-ID checks, default next TARGET2 business day, rejected rows returned with reasons, statelessness (nothing stored), and concrete rate/pricing limits (5 calls/day per IP, API key or x402). The stateless claim is consistent with readOnlyHint=true rather than contradicting it.

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 the core purpose and artifact, then modes, then behavior, then access terms — a sensible order with little filler. The pricing and x402 URL block is dense and slightly over-weighted relative to the operational description, but it is decision-relevant for an agent planning calls.

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 10-parameter tool with no required fields and no output schema, the description covers inputs, validation behavior, error reporting, and defaults well enough to call it correctly. The gaps are the undocumented 'template' mode and the exact response shape (whether XML is returned inline, as a file, or as a download reference).

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 goes further by explaining the check and upgrade mode semantics, the 2009-2019 version range, and that execution_date defaults to the next TARGET2 business day. It does not explain the 'template' enum value, which is the one mode left opaque.

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 concrete verb and artifact: turn a payment list (JSON rows or CSV) into a SEPA XML file, naming both message types (pain.001 credit transfer, pain.008 direct debit) and supported versions. It also enumerates the alternate modes (check, upgrade) so the agent knows the tool's full scope 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?

Explicitly says when to use mode=check (validate an existing SEPA file) and mode=upgrade (old pain version to current), which is real routing guidance among its own modes. It gives no guidance on when to prefer this over generic siblings like json_to_xml or bank_statement_converter, so it falls short of a 5.

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