Skip to main content
Glama

Generate pixel-art QR code

generate_pixel_art_qr

Generate an artistic QR code with pixel art embedded via a halftone technique: pixel text (up to 8 Latin characters/digits) or one of the built-in pixel icons, plus optional gradient color themes. The QR stays fully scannable (error correction H + server-side decode verification). Use list_icons and list_themes to see available options.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bgNoBackground hex color, default #ffffff
fgNoForeground hex color, default #0f172a
geoNoCoordinates (type geo)
smsNoSMS fields (type sms)
dataNoPayload for type url (the link) or text (free text)
iconNoPixel icon id from list_icons (used when text is not given)
sizeNoApproximate PNG size in px
textNoPixel text to embed (A-Z, 0-9, basic punctuation)
typeYesQR content type
wifiNoWi-Fi credentials (type wifi)
eventNoCalendar event fields (type event)
themeNoTheme id from list_themes. Overrides fg/bg.
vcardNoContact card fields (type vcard)
formatNopng
whatsappNoWhatsApp fields (type whatsapp)

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries full behavioral burden. It discloses the halftone technique, pixel text length limit, icon support, gradient themes, and crucially the scannability guarantee (error correction H + server-side decode verification). It does not mention output format, but adds substantial transparency beyond a bare description.

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?

The description is three sentences with no waste. The main purpose is front-loaded, followed by key constraints and helpful pointers to sibling tools. Every sentence adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a complex tool with 15 parameters and no output schema. While the description explains the artistic layer and scannability, it does not state the supports QR content types (url, wifi, vcard, etc.) or the return format. It leans on the schema for content types, but without an output schema, the return value is unspecified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is high (93%), so the baseline is 3. The description adds useful semantic detail: it clarifies that 'text' accepts up to 8 Latin characters/digits, that 'icon' uses built-in pixel icons, and that 'theme' provides gradient color themes. It also names the listing tools, enhancing the parameter understanding.

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 uses a specific verb ('Generate') and resource ('artistic QR code with pixel art embedded via halftone technique'). It clearly distinguishes this tool from the sibling generate_qr by emphasizing artistic customization, and it also points to related listing tools.

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

Usage Guidelines4/5

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

The description gives clear context for when to use the tool—when an artistic or customized QR code is desired—and directs users to list_icons and list_themes for available options. It lacks explicit exclusions or direct comparison to generate_qr, but the context is sufficient for basic selection.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool has a distinct purpose: decode_qr is for reading, generate_qr is standard generation, generate_pixel_art_qr is artistic generation, and list_icons/list_themes provide supporting metadata. The two generation tools are clearly differentiated by name and description.

Naming Consistency5/5

All tool names follow a consistent lowercase_snake_case verb_noun pattern (decode_qr, generate_qr, generate_pixel_art_qr, list_icons, list_themes). No mixed conventions or vague verbs.

Tool Count5/5

5 tools is an ideal size for a focused QR code utility. It covers generation, artistic generation, decoding, and option discovery without unnecessary bloat.

Completeness5/5

The domain of QR code creation/decoding is well covered: standard generation, pixel-art generation with customization, decoding with content type detection, and lookups for available icons/themes. No critical operations are missing.

Resources