Skip to main content
Glama

generate_qr_code_svg

Create high-precision SVG QR codes with High error correction for Base USDC payment URIs, ensuring reliable scanning for x402 micropayments.

Instructions

Generates high-precision scalable vector (SVG) QR codes with High error correction (ECC Level H), tailored for Base payment URIs. (0.01 USDC on Base L2)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
payloadYesInput parameters or JSON string payload for the tool execution
paymentSignatureNoBase L2 USDC micropayment signature or transaction hash for x402 settlement

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations provided, the description must carry the burden of behavioral disclosure. It does mention the output quality (high precision, scalable) and the error correction level (ECC Level H), which are useful. However, it does not disclose whether payment is required, how the paymentSignature parameter is used, or any potential side effects or prerequisites. This is a moderate gap given the lack of annotations.

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, dense sentence that front-loads the core purpose and includes the most important details (SVG, QR code, ECC level, payment context). There is no fluff or redundant information; every word earns its place.

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?

Given the tool has only two parameters, both fully documented in the schema, and no output schema, the description adequately covers the purpose and key constraints. It does not explicitly explain the role of paymentSignature or the payment flow, but the schema already describes it, and the description's focus on the output and purpose is sufficient for an agent to understand the tool's function.

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 description coverage is 100% so the baseline is 3, but the description adds domain-specific meaning to the payload parameter by stating it is for Base payment URIs and specifying the amount (0.01 USDC). This goes beyond the generic schema description and helps the agent understand the payload format.

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 a specific verb 'Generates' and a specific resource 'SVG QR codes' with additional technical details (high-precision, scalable, ECC Level H) and a specific use case (Base payment URIs). This makes it easily distinguishable from other SVG or QR-related siblings like convert_svg_to_png or generate_placeholder_svg.

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 provides clear context by specifying it is tailored for Base payment URIs and mentions the exact amount and chain (0.01 USDC on Base L2). It implies when to use this tool but does not explicitly state when not to use it or name alternative tools, so it stops short of a full 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools