Skip to main content
Glama

label

QR code

qr_create

Call this tool to turn text or a URL into a QR code: SVG inline, or a PNG at a pixel size to out_path (Pro). Returns version, module grid and payload size. Free: 20 codes a month on this server.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sizeNoPNG width in pixels, 32 to 4000 (default 300). SVG scales without it
textYesThe text or URL the code carries
formatNosvg (default, free) or png (Pro)
marginNoQuiet zone in modules, default 4, which is what the QR standard requires
out_pathNoName for the downloaded file, e.g. acme-code. SVG is returned inline when this is left out; a PNG always comes back as a download link valid for one hour
overwriteNoReplace a file of the same name already produced in this request (default false)
error_correctionNoL 7%, M 15% (default), Q 25%, H 30% of the code recoverable when damaged

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations are all false, providing essentially no signal, so the description carries the disclosure burden. It adds valuable behavioral traits: the 20-codes-per-month free quota, the Pro-tier requirement for PNG output, and the return payload (version, module grid, payload size). No contradiction with annotations; creating a QR code consuming quota is consistent with readOnlyHint=false.

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?

Three tight sentences with zero filler: purpose and format options first, return values second, quota constraint last. Each sentence contributes distinct information and the most decision-relevant facts (what it does, what you get, what it costs) are front-loaded.

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's mention of return values (version, module grid, payload size) is genuinely useful. All 7 parameters are fully documented in the schema, and the description adds the quota and Pro-tier gating that the schema can't express. Minor gap: the one-hour download link expiry and overwrite semantics live only in parameter descriptions, which is acceptable given their context.

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 the baseline is 3. The description mostly echoes what the schema already states (SVG default/free, PNG Pro, size relates to pixel dimensions for PNG). The cross-parameter note tying PNG to out_path and Pro adds a little meaning, but not enough to exceed the baseline given the schema's own rich parameter descriptions.

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 opens with a specific verb+resource: 'turn text or a URL into a QR code,' which precisely states the tool's function. The 'text or URL' scope implicitly distinguishes it from specialized siblings like qr_vcard, qr_wifi, and qr_payment_sepa, signaling that this is the general-purpose QR generator.

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?

The description implies when to use the tool (any text/URL QR need) and gives real decision context via the free/Pro format split and the '20 codes a month' quota. However, it never explicitly states when NOT to use it or names alternatives for specialized QR types (vCard, WiFi, SEPA), leaving the routing 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.