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 €9/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. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint/idempotentHint, and the description reinforces this by explaining 'Runs on our server, nothing stored'. It goes further than the annotations with validation guarantees (XSD, IBAN and creditor-ID checks), default execution date semantics (next TARGET2 business day), and error surfacing ('rejected rows listed with the reason'), plus rate limits and auth requirements — genuinely useful context beyond 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 the core purpose and formats, and sentences are dense rather than padded. The final pricing/auth sentence is long and leans promotional (monthly price, x402 URL), though the X-API-Key requirement is operationally relevant.

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

Completeness5/5

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

For a 10-parameter, no-output-schema tool, the description covers what is produced (XML file plus rejected-row reasons), the validation performed, the default date behavior, and the access/pricing model. The only omission is the 'template' mode, which is a minor gap against otherwise thorough coverage.

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 earns extra credit by clarifying mode semantics and by specifying that execution_date defaults to the next TARGET2 business day (more precise than the schema's 'next business day'). It does not document the 'template' mode or the debit-specific mandate fields beyond what the schema already lists.

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 resource ('Turn a payment list into a bank-ready SEPA XML file') and names both target formats (pain.001 credit transfer, pain.008 direct debit) with supported version range 2009–2019. An agent can distinguish this from generic converters like xml_to_excel or csv_to_vcard without inspecting 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 explains what the non-default modes do: 'mode=check (validate an existing SEPA file)' and 'mode=upgrade (old pain version -> current)', so an agent knows which mode to pick for validation vs. conversion. However, the schema's 'template' mode is never mentioned in the description, leaving one branch undocumented and no guidance on when to prefer it.

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