Skip to main content
Glama

EPC QR Code API - SEPA payment QR (GiroCode) with IBAN and reference checks

epc_qr_code
Read-onlyIdempotent

Make the SEPA payment QR code that banking apps scan to fill in a transfer (EPC069-12 version 002, in Germany GiroCode). Before the code is drawn the IBAN is checked (country, length, mod-97, SEPA country), the amount (0.01 to 999,999,999.99, or none for a code where the payer types it), the BIC, the purpose code and an ISO 11649 RF creditor reference (mod-97). Returns the checked payload line by line, its size against the 331-byte limit, and the code as PNG (base64) and SVG, with an optional frame. Error correction M. Deterministic, 0 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.002/call via x402 at https://radarbg.com/x402/epc-qr-code.

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": "Muster GmbH",
      "text": "Rechnung 2026-001",
      "amount": 49.9
    },
    "name": "epc_qr_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
bicNoBIC of the receiver's bank, 8 or 11 characters (optional)
ibanYesIBAN of the receiver in a SEPA country; spaces are fine
nameYesName of the receiver (account holder), up to 70 characters
textNoUnstructured payment text, up to 140 characters (for example the invoice number)
scaleNoPixels per dot of the code
amountNoAmount in EUR, 0.01 to 999999999.99. Leave it out for a code where the payer types the amount
formatNoWhich picture to returnboth
captionNoFrame with words under the code: de = Scannen und zahlen, en = Scan to paynone
purposeNoISO 20022 purpose code, 4 characters, for example GDDS, SALA or CHAR (optional)
encodingNoCharacter set of the payloadutf-8
referenceNoOr a structured ISO 11649 creditor reference (RF...). Send text or reference, not both

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Where annotations only say readOnly/openWorld/idempotent, the description adds the material behavior: full pre-render validation chain (IBAN country/length/mod-97, BIC, purpose code, ISO 11649 RF mod-97), error correction level M, the 331-byte payload ceiling reported back, and the fact that nothing is stored. It also discloses access constraints the annotations omit: 5 free calls/day per IP, then Radar API key or x402 per-call billing.

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 core capability and validations are front-loaded in the first sentence, with the return shape and limits following. It is dense and long, but every clause carries information an agent needs — including the auth/pricing lines, which are not available from annotations.

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?

With 11 parameters and no output schema, the description compensates by spelling out the return value (validated payload line by line, byte size vs the 331-byte limit, PNG base64 and SVG, optional caption frame). Combined with the cited auth model, an agent has everything needed to call and interpret it.

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%, so every parameter is already documented in the schema, and the description mostly restates that (amount range, BIC, purpose code, RF reference). It does add the validation rules applied to those values, but no syntax or format detail beyond the schema, 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 artifact ('Make the SEPA payment QR code') and pins the exact standard (EPC069-12 version 002 / GiroCode) plus the validations performed before drawing. That distinguishes it from the generic qr_code_generator and the standalone iban_validator without 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It establishes the use context clearly — a code banking apps scan to prefill a SEPA transfer — which tells an agent when this is the right tool. It stops short of explicit exclusions ('use qr_code_generator for a plain URL QR', 'use iban_validator for a bare IBAN check'), so the routing guidance is implied rather than stated.

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