Skip to main content
Glama

stagenth · 二维码工具箱

qr_generate

把文本/URL 生成二维码 PNG(1 credit/次)。产物存入文件中转站返下载 URL。失败自动退款。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes要编码的文本 / URL / 任意字符串
borderNo边距(点数,0-20)
box_sizeNo每个点的像素大小(1-40)
filenameNo可选输出文件名(.png)
back_colorNo背景色(名称或 #hex)white
fill_colorNo前景色(名称或 #hex)black
error_correctionNo纠错等级 L(7%)/M(15%)/Q(25%)/H(30%),越高越抗污损但图更密M

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  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 provided, the description carries the full burden of behavioral disclosure. It reveals that output is saved to a file transfer station and returns a download URL, and that failures automatically trigger a refund ('产物存入文件中转站返下载 URL。失败自动退款。'), which adds useful context beyond the schema.

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?

The description is a single sentence that is front-loaded with the core purpose and includes critical operational details (cost, output, refund). Every clause contributes, with no redundancy.

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?

The description effectively covers the tool's purpose, output, and error-handling policy. Combined with a comprehensive schema covering all parameters, it provides sufficient context for a tool with no output schema and no annotations. Minor omissions like URL lifetime or explicit parameter examples do not significantly hinder usability.

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?

The input schema already describes all 7 parameters with detailed explanations (100% coverage), so the baseline is 3. The description adds no parameter-specific semantics, but also doesn't need to since the schema is thorough.

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 clearly states the tool generates a PNG QR code from text/URL ('把文本/URL 生成二维码 PNG'), specifying the action, input, and output format. It distinguishes from siblings by mentioning PNG specifically, though it doesn't explicitly contrast with alternatives.

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?

The description provides no guidance on when to use this tool versus its siblings (e.g., qr_vcard, qr_wifi, qr_svg). It only describes the tool's own function and pricing, leaving the agent to infer applicability from the tool name and sibling names.

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.

TDQS

A4/5.0
Disambiguation5/5

Each tool has a distinct purpose: barcode generation, QR decoding, standard QR generation, branded QR, SVG QR, vCard QR, and WiFi QR. There is no functional overlap.

Naming Consistency4/5

Tools consistently use 'qr_' or 'barcode_' prefixes, but the second part mixes verbs (generate, decode) and nouns (logo, svg, vcard, wifi). Minor inconsistency, but pattern is clear.

Tool Count5/5

With 7 tools covering essential QR and barcode operations, the count is well-scoped for the toolkit's purpose. No redundancy or missing core functionality.

Completeness4/5

Covers generation (standard, logo, SVG, vCard, WiFi) and decoding for QR, plus barcode generation. Lacks barcode decoding and a generic QR with custom options, but these are minor gaps.

Resources