Skip to main content
Glama

QR code ($0.002)

weblens_qr

Convert text, URLs, Wi-Fi strings, or payment links into QR codes as SVG markup or base64 PNG for embedding in apps and documents.

Instructions

Turn any text, URL, Wi-Fi string or payment link into a QR code, returned as SVG markup or a base64 PNG. Costs $0.002 USDC.

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

Input Schema

NameRequiredDescriptionDefault
eccNoError correction level (default M)
sizeNoWidth in pixels (default 512)
textYesText or URL to encode
formatNoOutput format (default svg)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.4.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden; it does disclose the two payoff formats and, importantly, the $0.002 USDC cost, which is a real behavioral trait. It says nothing about error behavior, failure modes on invalid input, or any rate limits, so coverage is partial rather than complete.

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 tight sentences; the core capability and output forms come first, with the price as a trailing sentence. No redundant restatement of the tool name or filler wording.

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 simple four-parameter generator with no output schema and no annotations, the description covers purpose, input variety, output form, and cost, which is close to sufficient. Only minor gaps remain, such as how the SVG or base64 payload is delivered in the response.

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%, so all four parameters (text, format, size, ecc) are already documented in the schema with defaults and enums. The description only echoes the format dimension and adds no meaning about size, error-correction level, or the 2000-character cap that the schema states.

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 transformation verb and resource ('Turn any text, URL, Wi-Fi string or payment link into a QR code') and names both output forms (SVG markup, base64 PNG). An agent can immediately tell this is an encoding utility, and no sibling in the provided list performs anything similar.

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 input examples (text, URL, Wi-Fi string, payment link), which hints at suitable cases. However, there is no explicit when-to-use guidance, no statement about when SVG is preferable to PNG, and no mention of prerequisites or limits on use.

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