Skip to main content
Glama

x402_qrgen_get_v1_qr

Generates a PNG QR code from any text or URL, supporting links, payments, Wi-Fi credentials, and vCards for agent workflows.

Instructions

qrgen — QR code generator: returns a PNG image for any text/URL. Use when an agent needs QR codes for links, payments, Wi-Fi, vCards. [GET /v1/qr] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/qr?data=https%3A%2F%2Fexample.com&size=300

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402_qrgen_get_v1_qr"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does substantial work: it discloses the HTTP method and path ([GET /v1/qr]), that this is a paid call at $0.005 USDC, and which chains settle it (eip155:8453/137/42161/480). It does not describe failure behavior, payment/auth flow, or rate limits, which keeps it short of a 5.

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?

It is a single dense block with zero filler, front-loaded with the purpose, then use cases, then endpoint/price, then a runnable example. Every clause carries information an agent needs to invoke the tool correctly.

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?

For a stateless generator with no output schema, the description covers the essentials: what is returned (PNG), how to call it (GET /v1/qr with data and size), and the cost/payment context. The one gap is that optional parameters such as size defaults and any format/error options are shown only by example, not explained.

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%, so the baseline is 3, but the schema is a generic pass-through (body/query/restart/operationId) that never names the actual query keys. The example '/v1/qr?data=...&size=300' therefore adds real meaning by revealing the concrete parameter names and showing URL-encoding of the data value, which the schema does not provide.

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 states a specific verb and resource ('QR code generator') and immediately states the output artifact ('returns a PNG image for any text/URL'). An agent can tell exactly what it gets back without opening the schema, and no sibling in the list overlaps with QR generation, so no disambiguation is needed.

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?

It gives explicit triggering conditions with concrete use cases ('links, payments, Wi-Fi, vCards'), which tells the agent when this is the right call. It stops short of exclusions or alternatives, but there are no competing siblings to route against, so the missing exclusions cost little.

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