Skip to main content
Glama

QR Code Generator

live_qr_code

Generate a QR code for any text, URL or crypto address: returns ready-to-embed SVG markup and a data URI, with configurable size and error-correction level. Use this when an agent needs to any text or URL as a QR code (SVG + PNG data URI). x402 price $0.01/call (USDC, eip155:8453).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ecYesError correction
sizeYesSize (px)
textYesContent

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

With zero annotations the description must carry the full load, and it discloses two things an agent cannot get elsewhere: the return payloads (SVG markup + data URI) and that the call is metered at $0.01 USDC on eip155:8453 via x402, which is critical before invoking. It stops short of stating size limits, whether the call is stateless, or what an error response looks like.

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?

It is short and front-loads the purpose and the return values, but the second sentence duplicates the first with a grammatical error ('needs to any text or URL'), so it is redundant rather than earning its place.

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 stateless three-parameter generator with no output schema and no annotations, the description covers what is produced, the tunable axes, and the payment requirement — enough to call it correctly. The remaining gaps (size bounds, EC-level guidance, failure behavior) are minor for a tool this simple.

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 three parameters and the baseline is 3. The description adds only that size and error-correction are 'configurable' — it gives no size range or default and does not explain the L/M/Q/H tradeoff behind the enum, which would have been genuinely additive.

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 first sentence names a concrete verb and resource (generate a QR code) and states the returned artifacts (SVG markup, data URI) plus the two knobs. No QR-related sibling exists, so there is nothing to disambiguate against, but the second sentence re-states the same purpose in broken grammar ('needs to any text or URL') rather than sharpening it.

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?

'Use this when an agent needs to [encode] any text or URL as a QR code' is a usage cue, but it merely paraphrases the purpose; there are no when-not conditions, no alternatives, and no note that crypto addresses are a supported input class even though the opening sentence mentions them.

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