Skip to main content
Glama

image_tools_qr

QR code as PNG and SVG from a URL or any text, with custom colours, quiet zone and error correction. Warns when the colours are too close for scanners. Price: $0.01 USDC via x402, charged only on success. Part of Image tools: Everyday image work for sites and apps: convert and compress to WebP/AVIF/JPEG/PNG, responsive srcset sets with ready markup, colour palettes, pixel diffs for visual regression, SVG to PNG, QR codes, blur placeholders, and an inspection that says what to fix before shipping an image..

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": {
      "text": "<text>"
    },
    "name": "image_tools_qr"
  }
}

Input Schema

NameRequiredDescriptionDefault
darkNo#000000
sizeNoPNG side in pixels.
textYesWhat the code holds: a URL, text, a WIFI: or mailto: string.
lightNo#ffffff
marginNoQuiet zone in modules. Scanners want 4.
transparentNoTransparent background instead of the light colour.
errorCorrectionNoH survives a logo over the centre or a damaged print.M

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does reasonably well: it discloses the billing model ($0.01 USDC via x402, charged only on success), a validation behaviour (warns when colours are too close for scanners), and the practical consequence of errorCorrection=H. It does not say whether both PNG and SVG are always returned or how the result is delivered, which is a gap for a tool with no 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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is well front-loaded and the pricing clause is useful, but the appended family blurb ('Part of Image tools: ...') is boilerplate that spends several lines enumerating unrelated capabilities without helping the agent call this tool. The core definition is tight; the trailing catalogue is padding.

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 a 7-parameter generator with no annotations and no output schema, the description covers the essentials: output formats, customisation scope, cost and failure-charging, and a safety warning. The main missing piece is the return shape (whether one or two artefacts come back), which an agent would want before calling.

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 71%, so the schema already documents text, size, margin, transparent and errorCorrection in detail. The description adds only high-level framing of colours, quiet zone and error correction, restating rather than extending the schema. It adds no new detail on colour format expectations or on how size interacts with the SVG output.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence names the concrete resource (QR code), the outputs (PNG and SVG), the input domain (a URL or any text), and the supported options (custom colours, quiet zone, error correction). It is unambiguous what the tool produces. It does not explicitly distinguish itself from siblings such as image_tools_convert or image_tools_placeholder, though the QR-code focus makes accidental confusion unlikely.

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: an agent can infer 'use this when you need a QR code', and the pricing note hints at cost-sensitive selection. There is no explicit when-to-use/when-not guidance, no mention of prerequisites such as a wallet for x402 payment, and no routing to alternative tools for related image tasks.

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