Skip to main content
Glama

qr

qr
Read-only

QR codes: make a QR code (PNG or SVG, any size, error-correction level) from text or a URL, or read the text from a QR code in a PNG or JPEG image. Costs $0.0025 USDC per call (x402).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sizeNo
textNoText or URL to encode
formatNopng (default) | svg
image_urlNoRead a QR code instead
image_base64No

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds genuinely new behavioral context the agent could not get elsewhere, namely the per-call cost ('$0.0025 USDC per call (x402)') and the accepted input/output formats and sizing capability. It still omits error behavior, size limits, and what the read mode returns on failure.

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 front-loaded sentence opens with the resource and both capabilities before the pricing tail, with no filler. Slightly dense — the cost clause and the format list are crammed into the same sentence — but nothing is wasted.

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?

No output schema exists, yet the description does convey what read mode returns ('the text') and what generation produces (PNG or SVG). Given five parameters and only 60% schema coverage, leaving size and image_base64 semantics unexplained is the main remaining gap.

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 60%: text, format and image_url are documented in the schema, but size and image_base64 are bare. The description gestures at size ('any size') without units, default, or bounds, and never mentions image_base64. It also advertises an 'error-correction level' option that does not exist as a parameter, so it adds partial but imprecise meaning.

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 description states concrete verbs and resources: generating a QR code from text/URL and reading text out of a QR image, with supported formats named. It is clear on its own, but it never distinguishes itself from the very close siblings barcode and barcode_read, which the agent must choose between.

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 two modes are implied by the parameter mentions ('from text or a URL' vs 'read the text from a QR code in a PNG or JPEG image'), which hints at when to supply text versus image input. However, there is no explicit when-to-use versus when-not, and no routing to barcode/barcode_read or the image_* siblings.

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