Skip to main content
Glama

Beggar Bot

qr_encode

Generate a QR code for text/URL as SVG (+data URI) or a 0/1 module matrix; EC level L/M/Q/H. Paid: $0.02 USDC via x402.

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": "qr_encode"
  }
}

Input Schema

NameRequiredDescriptionDefault
bgNohex color
fgNohex color
eclNoL|M|Q|H (default M)
textYestext or URL to encode
scaleNopx per module 1-40
borderNoquiet zone modules 0-20
matrixNotrue to include matrix

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it discloses a genuinely non-obvious trait: the call costs $0.02 USDC via x402, so the agent knows a payment flow is involved. It also names output formats and the ECL default, but does not explain the exact return shape (e.g. whether SVG is returned as a string, and how the matrix is serialized) or failure behavior.

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?

A single front-loaded clause states the action, the output options, and the cost with no filler. Minor redundancy in restating EC levels L/M/Q/H already present in the schema.

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?

With 7 parameters, no output schema, and no annotations, the description does cover output formats and the payment requirement, but leaves the return value structure and post-payment behavior unspecified. Adequate but with clear gaps for a paid tool with a structured return.

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% and every parameter already has a description, so the schema does the heavy lifting. The description only echoes the ECL levels and the SVG/matrix output choice, adding little meaning beyond what the schema provides; baseline 3 applies.

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), the accepted input type (text/URL), and the two output encodings (SVG + data URI, or 0/1 module matrix). No sibling tool does QR generation, so the agent can route unambiguously.

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 purpose: call it when you need a QR code for text or a URL, optionally with fg/bg/ECL/scale/border. There is no explicit when-not guidance, no note on prerequisites (e.g. payment balance) before invoking, and no named alternatives.

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.