Skip to main content
Glama

mint utilities

QR code generator

qr_code
Read-onlyIdempotent

Turn text or a URL into a crisp QR code as PNG or SVG, with size and error-correction control. Cost: 1 credit per call. Output: a file (image/png | image/svg+xml) returned inline, at most 1 MiB. The QR image

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bgNo#ffffff
fgNo#000000
sizeNoEdge length in px (png)
textYesText or URL to encode
formatNopng
marginNoQuiet zone in modules
error_correctionNoM

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 already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint=false), so the bar is lower. The description adds genuinely new behavioral facts: a per-call credit cost and an inline response capped at 1 MiB in image/png or image/svg+xml. It could still say more about failure behavior, but this is solid added context.

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?

The core content is front-loaded and dense with no filler. However, the trailing fragment 'The QR image' is a dangling, incomplete sentence that earns no place and signals truncation.

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 usefully compensates by describing the return (inline file, MIME type, size ceiling) and the credit cost. For a simple 7-parameter generator this is close to sufficient, though error/failure behavior and the excluded color/margin parameters remain undocumented.

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 only 43%, so the description should compensate more than it does. It references text/URL, PNG/SVG, size, and error-correction, but the color (bg/fg) and margin/quiet-zone parameters are left to the schema and get no clarification here; no syntax or format detail is added beyond what the schema already states.

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+resource ('Turn text or a URL into a crisp QR code') and the two output encodings. It is readily distinguishable from image-manipulation siblings like html_to_image, svg_to_png, or image_convert, which transform existing inputs rather than synthesize a QR code.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance and no alternative tool named. The description tells the agent what the tool produces but never when it is the right choice over its many image/render 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