Skip to main content
Glama

Makes a QR code as scalable SVG for up to 17 bytes at level

agent_intel_highres_qr_code_generator
Read-only

Makes a QR code as scalable SVG (21x21 modules, version 1) for up to 17 bytes at level L, 14 at M, 11 at Q or 7 at H, with the mask chosen by the standard penalty rules. Returns the SVG and a base64 copy. Larger versions are not supported; longer text returns 400. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>"
    },
    "name": "agent_intel_highres_qr_code_generator"
  }
}

Input Schema

NameRequiredDescriptionDefault
ecNoError correction level: L, M, Q or H (default M)
textYesText to encode as UTF-8 bytes; the byte limit depends on the level
scaleNoPixels per module in the SVG, 1 to 20 (default 8)

Output Schema

NameRequiredDescriptionDefault
ecNo
svgNo
maskNo
noteNo
sizeNo
sourceNo
versionNo
checkedAtNo
svgBase64No

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint/openWorldHint annotations: discloses mask selection by standard penalty rules, dual SVG + base64 return, the 400 failure mode on overflow, per-call pricing settled via x402 on named networks, and that failures are not charged. The billing and failure semantics are exactly the extra context an agent needs before invoking a paid endpoint.

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?

Front-loads what the tool produces and its limits before the cost sentence, with no wasted clauses. The pricing sentence is long (enumeration of networks) but carries decision-relevant information for a paid tool.

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?

An output schema exists so return values need not be explained, yet the description still flags the SVG plus base64 pairing. Combined with capacity limits, error behavior, and payment terms, an agent has everything required to call this correctly or decide not to.

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 description adds real meaning by mapping each EC level to a concrete byte budget (17/14/11/7), letting the agent reason about the trade-off between 'ec' and 'text' length. It says nothing extra about 'scale' beyond what the schema already documents.

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 ('Makes a QR code as scalable SVG'), plus the exact scope: version 1, 21x21 modules, and the capacity per EC level. Nothing about the tool's output or limits is left ambiguous.

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 an explicit hard exclusion — 'Larger versions are not supported; longer text returns 400' — which tells the agent when not to call it, and the per-level byte caps let it pre-check input. It does not name any alternative for longer payloads, but the siblings listed are unrelated domains, so that gap is minor.

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