Skip to main content
Glama

QR Code Generator - link, text, Wi-Fi, SEPA payment (PNG + SVG)

qr_code_generator
Read-onlyIdempotent

Make a QR code that never expires and has no tracking: link or text, Wi-Fi login (WPA/WEP), or an EPC SEPA payment QR (GiroCode) that banking apps scan to pre-fill a transfer. Returns PNG (base64) and SVG, custom color. Runs on our server, < 0.2 s. 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.001/call via x402 at https://radarbg.com/x402/qr-code-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": {
      "kind": "link",
      "text": "https://radarbg.com"
    },
    "name": "qr_code_generator"
  }
}

Input Schema

NameRequiredDescriptionDefault
bicNoReceiver BIC (optional)
ibanNoReceiver IBAN (kind=sepa)
kindNolink, wifi or sepalink
ssidNoWi-Fi name (kind=wifi)
textNoLink or text (kind=link), max 1,500 characters
colorNoHex color, e.g. #000000
payeeNoReceiver name (kind=sepa)
amountNoEUR amount, e.g. 25.50 (kind=sepa)
passwordNoWi-Fi password (kind=wifi)
securityNoWPA, WEP or nopassWPA
referenceNoPayment reference (kind=sepa)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnly/openWorld/idempotent annotations, it discloses that codes never expire and carry no tracking, that generation runs server-side in under 0.2 s, that output is both base64 PNG and SVG with custom color, and it spells out the rate limit and both auth paths (X-API-Key, x402). That is exactly the context annotations cannot convey.

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?

A single dense paragraph that front-loads the differentiator (no expiry, no tracking) and then the payload types, followed by output and pricing. The pricing URL and x402 link are justified since they are the only place auth/payment is documented, though the marketing framing ("from €9/mo", "< 0.2 s") is slightly padded.

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 an 11-parameter, zero-required tool with no output schema, the description covers the return format (PNG base64 + SVG), the access model, and the three modes. It leaves minor gaps such as error behavior when kind-specific fields are missing and whether SVG is returned inline or as a URL, but nothing critical to a first correct call is absent.

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% and every parameter already carries its own description plus enum values for kind and security, so the schema does the heavy lifting. The description adds the useful framing that SEPA codes are GiroCodes banking apps pre-fill a transfer from, and that color is customizable, but it does not map iban/bic/amount/reference to the sepa kind or mention the 1,500-character text limit.

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 concrete verb+resource ("Make a QR code") and enumerates the three supported payload families: link/text, Wi-Fi login (WPA/WEP), and EPC SEPA GiroCode. It also names the outputs (PNG base64 + SVG), which makes it immediately distinguishable from the sibling qr_code_reader, which decodes rather than generates.

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?

It gives access conditions (5 free calls/day per IP, X-API-Key for paid, x402 per-call) but never says when to choose this tool over an alternative or which sibling handles decoding/reading. Usage is only implied by the enumerated kinds, so an agent gets access rules but no routing guidance.

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