Skip to main content
Glama

SEPA Direct Debit pain.008 XML Generator API

sepa_pain008_xml_generator
Read-onlyIdempotent

Generate bank-ready ISO 20022 SEPA Direct Debit (pain.008.001.08) XML collection files for CORE and B2B schemes with Creditor Scheme ID, mandate date, IBAN Mod-97 checksum, and exact decimal control sums. Built for SaaS billing and European treasury. Deterministic, zero AI, 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-pain008-xml-generator.

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": {
      "collections": [
        {
          "amount": 149,
          "mandateId": "MNDT-2026-001",
          "debtorIban": "FR7630006000011234567890189",
          "debtorName": "Atelier Logistics SAS",
          "remittanceInfo": "Dec Subscription",
          "mandateSignedDate": "2026-01-15"
        }
      ],
      "creditorBic": "COBADEFFXXX",
      "creditorIban": "DE89370400440532013000",
      "creditorName": "Nordic SaaS GmbH",
      "sequenceType": "RCUR",
      "localInstrument": "CORE",
      "creditorSchemeId": "DE98ZZZ09999999999",
      "requestedCollectionDate": "2026-12-10"
    },
    "name": "sepa_pain008_xml_generator"
  }
}

Input Schema

NameRequiredDescriptionDefault
collectionsNoList of debit objects: {debtorName, debtorIban, amount, mandateId, mandateSignedDate, debtorBic?, endToEndId?, remittanceInfo?}.
creditorBicNoOptional creditor bank BIC/SWIFT code.
batchBookingNoRequest single batch booking entry on bank statement.
creditorIbanNoCreditor collection account IBAN (Mod-97 validated).
creditorNameNoCollecting company name (max 70 chars).
sequenceTypeNoCollection sequence type: FRST, RCUR, OOFF, or FNAL (default RCUR).RCUR
localInstrumentNoSEPA Direct Debit scheme: CORE or B2B (default CORE).CORE
creditorSchemeIdNoSEPA Creditor Identifier (e.g. DE98ZZZ09999999999).
requestedCollectionDateNoRequested collection date in YYYY-MM-DD format.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / collections / items
      Added value: +{
      +  "type": "object"
      +}
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, and the description adds genuinely new behavior: deterministic output with no AI involvement, no data stored, a 5-calls/day free rate limit, and two authentication paths (X-API-Key or x402 per-call payment). It does not cover failure modes or any batch-size ceiling, which keeps it short of a 5.

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?

The capability statement is front-loaded in the first sentence, followed by validation guarantees and access terms. The pricing and URL sentences are somewhat promotional but do carry operative authentication information, so little is genuinely wasted.

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?

With nine parameters and no output schema, the description should compensate for the missing return contract, yet it never says what the response looks like (raw XML string, document, or download link) or whether collections are size-limited. For a file-generating tool, that is a meaningful gap even though the input side is fully covered by the schema.

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 schema already documents all nine parameters including the collection object fields and both enums. The description adds some semantic value by flagging IBAN Mod-97 checksum validation, mandate date, and 'exact decimal control sums,' but it gives no per-parameter detail beyond what the schema states, 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?

The description names a specific verb and resource plus the exact standard version: 'Generate bank-ready ISO 20022 SEPA Direct Debit (pain.008.001.08) XML collection files.' The CORE/B2B qualifier and the pain.008 identifier distinguish this from the credit-transfer sibling sepa_pain001_xml_generator without the agent needing to open any schema.

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?

Usage is implied rather than stated: 'Built for SaaS billing and European treasury' hints at the audience, and the pricing/auth sentences clarify access conditions. However, there is no explicit when-to-use or when-not-to-use guidance relative to sepa_pain001_xml_generator or sepa_xml, so an agent must infer that pain.008 means direct debit collection.

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