Skip to main content
Glama

mechacut

qr_generate

Complete ISO 18004 encoder, pure stdlib: text -> version 1-10 QR, numeric/alphanumeric/byte mode chosen by charset, ECL L/M/Q/H, auto mask by published penalties. Returns the exact matrix plus a deterministic SVG (same text, same bytes, forever — proof it decodes is OpenCV-roundtripped in the tests). Free.

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

Input Schema

NameRequiredDescriptionDefault
eclNo
textYes
quietNo
scaleNo
formatNo
versionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It does disclose useful traits (pure stdlib, deterministic 'same text, same bytes, forever', returns exact matrix plus SVG), but omits failure behavior — what happens when text exceeds version-10 capacity, what defaults apply for ecl/scale/quiet, and whether the OpenCV test claim means anything to the caller. Marketing lines ('Free.', the tests parenthetical) consume space that error/capacity behavior needed.

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

Conciseness3/5

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

Front-loaded with the core purpose in a single dense sentence, which is good, but the trailing parenthetical about OpenCV roundtrip tests and the lone word 'Free.' are pure promotion that an agent gains nothing from. Trimming those would sharpen an otherwise efficient description.

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?

No output schema and no annotations exist, so the description must carry everything. It covers the returned artifacts and determinism, but leaves parameter defaults and capacity/error limits unstated for a 6-parameter generator, leaving real gaps for correct invocation.

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 0%, so the description must compensate. It adds real meaning for text, version range (1-10), ECL letter meanings, and format outputs (matrix vs SVG), but says nothing about 'scale' or 'quiet', whose units are non-obvious from bare integer bounds. Partial compensation, not full.

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 verb and artifact ('Complete ISO 18004 encoder', 'text -> version 1-10 QR') plus the encodings it chooses from (numeric/alphanumeric/byte), ECL levels, and mask strategy. Nothing about what the tool produces is ambiguous, and it cannot be confused with the neighboring *_generate/check_* tools.

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 when-to-use guidance, no when-not, and no alternatives mentioned. It never explains which 'format' (svg vs matrix) or ECL level an agent should pick for a given situation, leaving selection entirely to inference.

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.