Skip to main content
Glama

qr_generate

Generate a QR code for any text or URL and return it as inline SVG + base64 data URI. -> /x/util/qr. Pay-per-call ($0.002 USDC).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sizeNoPixels per module (2-20, default 6)
textYesText or URL to encode

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose two meaningful traits: the return format (SVG + base64 data URI) and the billing model ('Pay-per-call ($0.002 USDC)'). It omits auth/wallet requirements and failure behavior, but pricing and output shape are the high-value disclosures here.

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 compact clauses, front-loaded with the action and output, then endpoint path, then cost. No filler and nothing redundant.

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, but the description states the return value (SVG + base64 URI) and the pricing, and the input schema fully documents both params. Only minor gaps remain, such as auth/payment mechanics and error cases.

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 both parameters (text, size with range and default) are already documented in the schema. The description adds no format or syntax detail beyond what the schema provides, making the baseline 3 correct.

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 ('Generate a QR code') and the exact artifact returned ('inline SVG + base64 data URI'), so the agent knows precisely what it produces. No sibling tool in the list competes with QR generation, so it is trivially distinguishable.

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 scopes input ('for any text or URL'), which implies when the tool applies, but gives no explicit when-to-use/when-not-to-use guidance or alternative tools. Usage is inferable but not framed.

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