Skip to main content
Glama
aaronte

useqr-mcp

by aaronte

Generate a static QR code

generate_qr_code

Encode text or URLs into local static QR codes as PNG images or SVG markup; no dynamic or trackable codes, accounts, or API keys required.

Instructions

Encode text or a URL as a local static QR image (PNG) or SVG markup. Does not create a dynamic or trackable code.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesText or URL to encode, max 2000 characters
sizeNoPixel size 128-2048, default 512
formatNopng (default) or svg
backgroundNoBackground color as #RRGGBB, default #ffffff
foregroundNoModule color as #RRGGBB, default #0a0a0a
error_correctionNoQR error correction L, M (default), Q, or H

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose meaningful traits: output is local, static, and not trackable, and the result is either a PNG image or SVG markup. It says nothing about permissions, side effects, or rate limits, but for a pure generation utility the static-vs-dynamic distinction is the trait that matters most.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

Two sentences, zero filler, and the scoping constraint (static, not trackable) is front-loaded alongside the core action. Nothing could be cut without losing meaning.

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?

With no output schema, the description must hint at the return, and 'local static QR image (PNG) or SVG markup' does indicate the artifact type. It stops short of saying whether the result is returned as image content, base64, or a file path, which is the one remaining gap for a six-parameter tool.

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 six parameters including ranges, defaults, and enums. The description adds only the PNG/SVG duality, which the format enum already conveys; baseline 3 applies when the schema does the heavy lifting.

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?

States a specific verb (encode) and resource (text/URL into a static QR image or SVG markup), and explicitly distinguishes itself from the dynamic-code sibling with 'Does not create a dynamic or trackable code.' An agent can route between this and create_dynamic_qr_code without opening either 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?

The exclusion of dynamic/trackable codes implicitly tells the agent to use create_dynamic_qr_code when tracking is wanted, which is clear usage context. However, the sibling is not named explicitly and get_qr_designer_link is not addressed at all, so routing is left partly to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.