Skip to main content
Glama

specgrid-eu-compliance

Generate SEPA EPC069-12 Payment QR (GiroCode)

sepa_epc_qr
Read-onlyIdempotent

Generate a European Payments Council EPC069-12 v002 (BCD/002/1/SCT GiroCode) SEPA Credit Transfer QR payload and print-ready ECL-M SVG with built-in ISO 13616 IBAN Modulo-97 validation. Stateless, deterministic, read-only with zero storage; enforces 331-byte cap, EUR formatting, and mutual exclusion between structuredRef and remittanceText, returning payload, byteLength, and qrSvg (returns isError=true on invalid IBAN or conflicting remittance fields). Use to embed scan-to-pay QRs on European PDF invoices; use tax_id_validate if you only need IBAN verification without a QR.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "beneficiaryName": "<beneficiaryName>",
      "iban": "<iban>"
    },
    "name": "sepa_epc_qr"
  }
}

Input Schema

NameRequiredDescriptionDefault
bicNoOptional 8- or 11-character SWIFT/BIC code (optional within EEA in EPC069-12 v002; leave omitted if unknown).
ibanYesBeneficiary SEPA IBAN; validated automatically via ISO 13616 Modulo-97 (spaces allowed, e.g. "DE89370400440532013000").
amountEurNoOptional transfer amount in EUR between 0.01 and 999999999.99 (omit to let the payer enter the amount in their banking app).
structuredRefNoOptional ISO 11649 RF Creditor Reference (max 35 chars, e.g. "RF18539007547034"); cannot be combined with remittanceText.
remittanceTextNoOptional unstructured payment reference text (max 140 chars, e.g. "Invoice INV-2026-0042"); cannot be combined with structuredRef.
beneficiaryNameYesPayee/beneficiary legal name (1-70 UTF-8 characters, e.g. "SpecGrid Systems SL").

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / amountEur / description
      Previous value: -"Amount in EUR (0.01 to 999999999.99)"New value: +"Optional transfer amount in EUR between 0.01 and 999999999.99 (omit to let the payer enter the amount in their banking app)."
    • changedInput schema / properties / beneficiaryName / description
      Previous value: -"Beneficiary legal name (max 70 chars)"New value: +"Payee/beneficiary legal name (1-70 UTF-8 characters, e.g. \"SpecGrid Systems SL\")."
    • changedInput schema / properties / bic / description
      Previous value: -"Optional 8 or 11-char SWIFT BIC"New value: +"Optional 8- or 11-character SWIFT/BIC code (optional within EEA in EPC069-12 v002; leave omitted if unknown)."
    • changedInput schema / properties / iban / description
      Previous value: -"SEPA IBAN (validated via ISO 13616 Mod-97)"New value: +"Beneficiary SEPA IBAN; validated automatically via ISO 13616 Modulo-97 (spaces allowed, e.g. \"DE89370400440532013000\")."
    • changedInput schema / properties / remittanceText / description
      Previous value: -"Unstructured remittance text (max 140 chars)"New value: +"Optional unstructured payment reference text (max 140 chars, e.g. \"Invoice INV-2026-0042\"); cannot be combined with structuredRef."
    • changedInput schema / properties / structuredRef / description
      Previous value: -"ISO 11649 RF Creditor Reference (mutually exclusive with remittanceText)"New value: +"Optional ISO 11649 RF Creditor Reference (max 35 chars, e.g. \"RF18539007547034\"); cannot be combined with remittanceText."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, yet the description still adds substantive behavior: stateless/deterministic/zero storage, a 331-byte cap, EUR formatting, mutual exclusion of reference fields, and explicit failure semantics (isError=true on invalid IBAN or conflicting remittance fields). It also names the returned fields (payload, byteLength, qrSvg) in the absence of an output schema.

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?

Two sentences, front-loaded with the standards identity and output form, then usage guidance and the alternative. The first sentence is dense and stacks many clauses, but each carries real information rather than filler.

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 stateless generator with no output schema, the description covers the standards version, validation performed, size/format constraints, failure modes, and the shape of the return value. Nothing an agent needs in order to call it or interpret the result is missing.

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 every parameter including the structuredRef/remittanceText exclusion. The description mostly restates those constraints, adding only the payload-level 331-byte cap, which is a modest contribution beyond the schema baseline.

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 states a specific verb (Generate) and a highly specific resource (EPC069-12 v002 BCD/002/1/SCT GiroCode SEPA Credit Transfer QR payload plus ECL-M SVG). It also names the sibling it is not (tax_id_validate), so an agent can distinguish it without opening 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 Guidelines5/5

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

Explicit when-to-use guidance is given: embedding scan-to-pay QRs on European PDF invoices. It also names the alternative and the condition that selects it (use tax_id_validate if you only need IBAN verification without a QR), leaving nothing to inference.

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