Skip to main content
Glama

call402 — x402 Agent Services

qr-code

Generate a QR code image for any text, URL or payment address: returns SVG markup or a base64-encoded PNG rendered on our own servers (qrcode library, MIT). For agents that produce scannable payment requests, links, addresses or tickets but cannot render images themselves.

Input Schema

NameRequiredDescriptionDefault
sizeNo
textYes
formatNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that rendering happens on the provider's servers and which library is used, plus the two output encodings, but says nothing about text length limits, rate limits, failure modes, or whether the PNG is a raw base64 string or a data URI.

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 tight sentences with the core action front-loaded and the audience/use case second. Both sentences earn their place, though the parenthetical library attribution is marginally promotional rather than operational.

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

Completeness3/5

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

No output schema exists, so the description reasonably covers the return shape (SVG markup or base64 PNG). However, with 3 parameters at 0% schema coverage and no annotations, the omission of 'size' semantics and any limits leaves an agent guessing on part of the call.

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 0%, so the description must compensate. It clarifies the 'text' parameter (any text, URL or payment address) and gives meaning to the 'format' enum (svg -> markup, png -> base64), but the 'size' parameter is never mentioned and no units or ranges are given.

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?

States a specific verb and resource ('Generate a QR code image') and enumerates the accepted input kinds (text, URL, payment address). The sibling set is entirely unrelated utility tools, so no sibling disambiguation is needed; an agent knows exactly what this does.

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?

Gives explicit context for when to reach for it: agents that need scannable payment requests, links, addresses or tickets but cannot render images themselves. There is no statement of when not to use it and no named alternative, so it falls short of a 5.

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