Skip to main content
Glama

ScorpTech x402 Tools

Qr Generate

qr_generate
Read-onlyIdempotent

Generate a QR code (PNG or SVG, base64 + data URI) for any UTF-8 text up to 2953 bytes. Options: ecc L|M|Q|H, size (px/module), margin, format png|svg, fg/bg hex colours. Price: $0.005 USDC per successful call (x402, Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/qr-generate

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bgNoBackground hex, default ffffff
fgNoForeground hex, default 000000
eccNoL | M (default) | Q | H
sizeNoPixels per module 1-64, default 8
textYesText/URL to encode, 1-2953 bytes UTF-8
formatNopng (default) or svg
marginNoQuiet-zone modules 0-16, default 4

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint, idempotentHint, destructiveHint=false), so the description appropriately focuses on other behavioral traits: it discloses the $0.005 USDC x402 payment requirement, successful-call pricing, and the base64 + data URI output format. It stops short of explaining x402 payment flow details, but adds significant practical context beyond annotations.

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?

The description is front-loaded with the core purpose and then provides options, pricing, and an HTTPS alternative in compact form. The option list mildly duplicates the schema, but overall the description is efficient and each section contributes useful information.

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

Completeness5/5

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

For a straightforward generation tool with full schema coverage and annotations covering safety, the description completes the picture by specifying output format (base64 + data URI), byte limits, cost, and an alternate HTTP access path. No output schema exists, but the return format is described adequately.

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 coverage is 100%, with all seven parameters, enums, and defaults documented in the input schema. The description lists the option names but adds little semantic detail beyond the schema (e.g., 'size (px/module)' is essentially equivalent to the schema's 'Pixels per module'). Baseline 3 is appropriate when the schema already carries parameter meaning.

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: 'Generate a QR code' with supported encodings, text limits, and configurable options. No sibling tool performs QR generation, so the purpose is unambiguous without needing explicit sibling differentiation.

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?

Usage is implied by the clear task ('for any UTF-8 text up to 2953 bytes'), but there is no explicit guidance on when to choose this tool over alternatives or when not to use it. The HTTPS endpoint note adds context but not selection criteria.

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