Skip to main content
Glama

QRPainter

create_qr_from_image

Turn a logo or picture into a QR code that looks like the picture and is verified to scan (multi-decoder Scan Lab). The link is editable later. Returns the code image, its short link, Scan Score and an edit key. Free codes show a 2-second branded page before redirecting.

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": {
      "destination": "<destination>"
    },
    "name": "create_qr_from_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
gridNoModules across. Bigger grid = more picture detail, needs a larger print.
styleNopixel = picture drawn with QR squares; halftone = picture in fine dots; halftone-color keeps the picture's colours.halftone-color
image_urlNoPublic http(s) URL of a logo or picture (PNG/JPG/WebP).
destinationYesWhere the code should lead.
image_base64NoBase64-encoded picture, as an alternative to image_url.
allow_low_scoreNoExplicit acknowledgement that a score below 70 needs your own printed-device testing.

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 behavioral burden and does substantial work: it discloses that codes are verified across multiple decoders, that the link can be edited afterward, that an edit key is returned, and that free codes show a 2-second branded interstitial before redirecting. It stops short of stating auth requirements, rate limits, or irreversibility of creation, which keeps it from a 5.

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?

Four sentences, each carrying distinct information: purpose, verification, return payload, and the free-tier caveat. The core action is front-loaded and there is no filler or restatement of the tool name.

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?

There is no output schema, and the description compensates by enumerating the return payload (code image, short link, Scan Score, edit key). Combined with the free-tier redirect caveat and the verification guarantee, an agent has most of what it needs; missing piece is failure behavior (e.g., what happens if the image can't be embedded or the score is too low without allow_low_score).

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 grid, style, image_url, image_base64, destination and allow_low_score are already well documented in the schema. The description adds only marginal framing (the link destination is editable later) and does not elaborate on the enum choices or the low-score acknowledgement beyond what the schema states. Baseline 3 applies when the schema does the heavy lifting.

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 opens with a specific verb and resource: turn a logo or picture into a QR code that visually resembles the source. It makes the output concept concrete by naming the Scan Lab verification and the editable link, but it never explicitly distinguishes itself from siblings like preview_styles or check_scan_score, so an agent must infer the boundary.

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 rather than stated: the mention of multi-decoder verification and the free-tier branded page hints at when this is appropriate, but there is no explicit 'use this when' or 'use preview_styles instead for X'. No alternatives or exclusions are named.

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