Skip to main content
Glama

Cofferdock

QR code (PNG or SVG)

generate_qr
Idempotent

QR code (PNG or SVG). Turns a link or any text (max 1500 characters) into a QR code.

Costs 1 credit per call.

Returns a temporary download link (valid 15 minutes).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
eccNoError correction level.M
darkNoColour of the dots.#000000
dataYesThe link or text to encode. "url" and "text" are accepted as aliases.
sizeNoSide in pixels.
lightNoBackground colour.#ffffff
formatNoImage format: "png" (default) or "svg" (vector: scales without losing quality).png
marginNoQuiet zone, in modules.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already indicate the operation is idempotent and non-destructive. The description adds valuable behavioral context beyond annotations: each call costs 1 credit and the result is a temporary download link valid for 15 minutes. This helps the agent set expectations about side effects and output lifetime.

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 description is short and front-loaded with the core function. The first sentence repeats the tool title, which is slightly redundant, but the following sentences about character limit, cost, and link expiry are all useful and keep the description lean.

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 tool with no output schema, the description adequately explains the return value (a temporary download link) and its validity period. It also covers cost, which is important for agent decision-making. Minor gaps like error behavior or format-specific caveats are not critical for this simple 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 all seven parameters are already documented in the input schema. The description does not add parameter-level meaning beyond the schema, which is acceptable given the baseline of 3 for full schema coverage.

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 clearly states the tool converts a link or any text into a QR code, with a max length and output formats implied by the title. This is a specific verb+resource that distinguishes it from all sibling tools, none of which generate QR codes.

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 usage: use this when you need a QR code from a link or text. However, it gives no explicit guidance on when not to use it or which alternative tool to prefer, and there are no exclusions or prerequisites stated.

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