Skip to main content
Glama
This connector has been deprecated

generate_qr

Generate a static QR code from any text/URL. Returns a PNG image (or SVG markup). Requires an OpenQR API key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesThe content to encode (URL or text).
sizeNoPixel size, 96–2048 (default 512).
themeNoA saved theme id or name. Applies the theme's colours; full styling applies to dynamic codes.
formatNoOutput format (default png).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / size / description
      Previous value: -"Pixel size, 64–2048 (default 512)."New value: +"Pixel size, 96–2048 (default 512)."
    • changedInput schema / properties / theme / description
      Previous value: -"A saved theme id or name. Applies the theme's colours (SVG); full styling applies to dynamic codes."New value: +"A saved theme id or name. Applies the theme's colours; full styling applies to dynamic codes."
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool returns PNG or SVG and requires an OpenQR API key, which are useful behavioral details. However, it does not mention any side effects, error conditions, rate limits, or whether the operation is stateless. For a simple generation tool, this is decent but not exhaustive.

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 two sentences long, front-loaded with the core purpose, and includes key output and authentication details without any fluff. Every word adds value, making it highly concise and well-structured.

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?

The tool is simple (4 params, 1 required) and the description covers purpose, output format, and authentication requirement. It lacks explicit mention of error handling or dynamic vs static trade-offs, but given the schema richness and simplicity, it is adequately complete. No output schema exists, but the output types are stated in the description.

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 the schema already documents all parameters thoroughly. The description adds minimal extra meaning beyond clarifying 'any text/URL' for data and confirming output formats. This aligns with the baseline of 3 when schema handles parameter documentation.

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 'Generate a static QR code' – a specific verb and resource. It distinguishes from siblings like create_dynamic_qr by using 'static', and mentions input (text/URL) and output (PNG/SVG). This is explicit and unambiguous.

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 for static QR codes but does not explicitly mention when to avoid using it or provide alternative tools. It notes the API key requirement as a prerequisite but offers no guidance on choosing between static and dynamic options. The phrase 'static' hints at the distinction but no explicit 'when-not' or alternative reference is given.

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