Skip to main content
Glama

generate_qr_code

Generate a styled QR code image URL. Free, no token needed. Encodes a URL, text, Wi-Fi credentials, vCard, email, phone, SMS, or WhatsApp payload. Returns a stable image URL (PNG or SVG) that can be embedded or downloaded directly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sizeNoImage size in px (default 512)
typeNoPayload type (default url)
fieldsYesPayload fields for the type: url→{url}; text→{text}; email→{to,subject?,body?}; phone→{phone}; sms→{phone,body?}; whatsapp→{phone,text?}; wifi→{ssid,password?,encryption?}; vcard→{name,org?,title?,phone?,email?,url?}
formatNoImage format (default png)
dot_styleNoData-dot style
foregroundNoForeground hex color
transparentNoTransparent background
marker_colorNoMarker hex color (defaults to foreground)
marker_shapeNoCorner-marker shape
marker_centerNoCorner-marker center

TDQS

A4.3/5.0
Behavior4/5

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

No annotations provided, so description bears full burden. Discloses that tool is free, requires no authentication, and returns a stable image URL. Does not mention rate limits or side effects, but for a read-like tool this is acceptable.

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?

Two sentences, front-loaded with main purpose and key benefits (free, no token). Efficiently conveys supported types and return value. Could be slightly more structured, but no waste.

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, but description specifies return type (image URL). With 10 parameters including a nested object, the description adequately covers the tool's capability. Lacks detail on response format beyond URL, but sufficient for a generation tool.

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 100% with descriptions for each parameter. The description adds value by summarizing supported payload types in a readable way (e.g., 'url→{url}'), which complements the schema detail. Provides high-level guidance beyond schema.

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?

Description uses specific verb 'Generate' and resource 'styled QR code image URL'. Lists supported payload types (URL, text, Wi-Fi, etc.), clearly distinguishing it from sibling tools which focus on link management/analytics.

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?

States 'Free, no token needed', implying ease of use. Lists supported payload types so user knows what data can be encoded. Lacks explicit when-not-to-use or alternatives, but siblings are unrelated, so context is clear.

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

A3.8/5.0
Disambiguation5/5

Each tool targets a distinct operation (create, delete, update, list, etc.) on specific resources (links, folders, tags, analytics). No two tools have overlapping purposes.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern using snake_case, such as create_link, list_folders, and get_link_analytics. No deviations or mixed styles.

Tool Count5/5

With 12 tools, the server covers the essential operations for a URL shortener (CRUD, analytics, QR codes, folders, tags) without being bloated or incomplete.

Completeness5/5

The tool set provides full lifecycle management for short links (create, read, update, delete, enable/disable), plus analytics, folders, tags, QR generation, and account usage. No obvious gaps.