Skip to main content
Glama

qr

qr

SVG QR codes + barcodes (250 sats/call; free tier 100 calls/mo)

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

Input Schema

NameRequiredDescriptionDefault
sizeNoWidth/Height size in pixels (default 200).
textYesText, URL, or payload to encode into QR code.
typeNoCode style.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations supply only openWorldHint=true, so the description must carry behavioral load, and it does add real value by disclosing cost (250 sats/call) and a free tier cap (100 calls/mo) — information found nowhere else. However it says nothing about what is actually returned (raw SVG string, data URI, or URL), how payment is settled, or what happens when the free tier is exhausted.

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 terse line with the primary capability front-loaded and no filler; the pricing parenthetical is compact. It is arguably over-compressed for the amount of missing behavioral detail, but nothing present is wasted.

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?

For a simple three-parameter tool with full schema coverage and no output schema, the definition covers purpose, format, and cost, which is close to sufficient. The remaining gap is return-value shape and payment mechanics, which an agent needs before calling a metered tool confidently.

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%, including an enum for the qr/barcode type and units for size, so the schema already does the parameter work. The description adds only the output format (SVG), which the schema itself does not state, but clarifies nothing about text length limits or size constraints.

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?

The description names a concrete output artifact (SVG QR codes and barcodes) and implies generation from input text, which is clear enough to distinguish it from generic siblings like encode, hash, or chart. It stops short of a full verb+resource statement, but the resource and output format are unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this versus siblings such as encode, ascii, or data_convert, nor any note on when a barcode style is preferred over a QR style. The only contextual cue is the pricing/free-tier note, which hints at cost-sensitive usage but is not steering guidance.

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