Skip to main content
Glama
mcp-iteratools

mcp-iteratools

qr_code

Encode any text or URL into a QR code and return a base64 PNG data URL for embedding, sharing, or display.

Instructions

Generate a QR code for any text or URL. Returns a base64 PNG data URL.

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_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNoSize in pixels
textYesText or URL to encode
error_levelNoError correction: L, M, Q, HM

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose the return format (base64 PNG data URL), which is genuinely useful behavioral context, but it says nothing about determinism, size limits, cost/rate limits, or what error_level does to the output.

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

Conciseness5/5

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

Two sentences, front-loaded with the purpose and closed with the return format. Every clause earns its place and there is no filler.

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

Completeness4/5

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

For a single-purpose three-parameter tool with full schema documentation and no output schema, purpose plus return format is nearly complete. Only minor omissions (error_level effects, output size implications) keep it from a 5.

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 100% (text, size in pixels, error correction levels), so the schema already does the parameter work. The description adds no extra meaning beyond confirming that either text or a URL is acceptable as input; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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") plus the input domain ("any text or URL"), which is enough to separate it from siblings like generate_image or screenshot. It stops short of naming a sibling or contrast case, so it lands at clear-but-not-differentiated.

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?

"For any text or URL" implies the applicable scope of the tool, but there is no explicit when-to-use, when-not-to-use, or alternative (e.g., url_shorten vs. encoding the URL as a QR code). Usage is only inferable from the statement of purpose.

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