Skip to main content
Glama

x402node_generate_qrcode

Generate a QR code as a base64 PNG data URL from text or URLs. Useful for encoding URLs, wifi credentials, and business cards.

Instructions

QR code generator / QR generator / generate qrcode / text to qr / url to qr code / 2D barcode generator / make qr png / qrcode base64 image / qr code creator / generate qr code from url. Generate QR code as base64 PNG data URL. Use for URL, wifi credentials, business cards.

Price: unknown on Base (auto-paid in USDC).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
marginNoMargin 0-10 (optional, default 2)
sizeNoImage px 64-512 (optional, default 200)
textYesText/URL to encode (required, max 2k)
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavior. It specifies the output format (base64 PNG data URL) and mentions a price note, but lacks details on error handling, side effects, or performance characteristics. This is minimal disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is cluttered with many aliases ('QR code generator / QR generator / ...') which are redundant and reduce conciseness. The essential information is present but buried, making it less efficient than it could be.

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?

Given the lack of an output schema, the description does a moderate job by stating the return format. However, it does not outline error cases, performance constraints, or detailed output structure, leaving some gaps for an agent invoking the tool.

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?

The schema covers 100% of parameters, and the description adds little beyond the schema's own descriptions. It offers context for the 'text' parameter (URL, wifi credentials) but does not provide syntax or formatting rules, so the value added is marginal.

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 explicitly states 'Generate QR code as base64 PNG data URL' and lists common use cases (URL, wifi credentials, business cards). This clearly identifies the tool's verb and resource, and it distinguishes itself from sibling tools which are mostly unrelated.

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 mentions appropriate use cases but does not explicitly state when to use this tool versus others or when not to use it. There is no comparison with sibling generation tools like x402node_generate_password, so usage guidance is implied rather than explicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/x402node/x402-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server