Skip to main content
Glama

QRPainter

preview_styles

Generate 4 scored variants of a picture QR without saving. Use save_design to keep one.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "preview_styles"
  }
}

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).
image_base64NoBase64-encoded picture, as an alternative to image_url.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/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 discloses two non-obvious behavioral facts: the operation is non-persistent and it returns exactly four variants that are scored. It does not explain what the score measures, whether generation is costly/slow, or any auth requirements, which keeps this below 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.

Conciseness4/5

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

Two tight sentences, front-loaded with the core action and count, then the routing hint. Nothing is wasted, though it is terse enough that the meaning of 'scored' is left unexplained.

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 4-parameter tool with no output schema, the description covers the essentials of non-persistence and result count, but it never explains what 'scored' means or what happens when no image is supplied given that zero parameters are required. These are real gaps for an agent deciding how to call it.

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% with enums and per-parameter meanings already documented for grid, style, image_url, and image_base64. The description adds no parameter-level meaning beyond the schema, so the 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?

The description names a specific verb (generate), the resource (4 scored variants of a picture QR), and the scoping constraint (without saving), which separates it from the sibling save_design. An agent can identify the tool's job without opening the schema.

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

Usage Guidelines5/5

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

It explicitly states the alternative path: use save_design to keep one, after this tool returns candidates without persisting. The when/when-not pair (preview vs. persist) is stated outright rather than implied.

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