Skip to main content
Glama

x402-qr

QR: Generate a QR code for text or a URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoData to process
sizeNoSize to process
textNoText to process
contentNoContent to process

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "Text to process",
      +  "type": "string"
      +}
  2. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does not state the output format (image, data URL, file), whether size is in pixels or modules, error behavior, or any operational constraints. This is a significant gap for a generation tool.

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 a single front-loaded sentence with no wasted words. The 'QR:' prefix is slightly redundant but does not undermine the efficient structure.

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

Completeness2/5

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

For a four-parameter generator with no annotations and no output schema, the description omits the return format and does not resolve the ambiguity among data, text, and content parameters. An agent cannot reliably invoke this tool from the description alone.

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 itself nominally documents all four parameters, yielding the baseline of 3. However, the schema descriptions are generic ('Data to process', 'Size to process'), and the tool description adds only 'text or a URL' without clarifying which parameter to use or how size is formatted.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource: generate a QR code, with accepted input types (text or URL). It is clear what the tool does, but it does not distinguish itself from the sibling x402-qr-generate, leaving ambiguity about which QR tool to select.

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

Usage Guidelines2/5

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

The description says it works for text or a URL, which implies basic input applicability, but it gives no explicit when-to-use guidance, no exclusions, and no alternatives such as x402-qr-generate. The agent must infer usage entirely.

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