Skip to main content
Glama

stagenth · 二维码工具箱

barcode_generate

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes要编码的数据(数字/字符,按码制规则)
filenameNo可选输出文件名(.png)
symbologyNo码制:code128(通用)/code39/ean13/ean8/upca/isbn13/isbn10/issn/jan/pzn/gs1_128。注意 ean13 需 12-13 位数字等code128

Schema Changelog

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

  1. First observed

TDQS

A4/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 burden. It discloses the cost (1 credit/次), the output storage mechanism (文件中转站返回下载 URL), and failure handling (自动退款). It does not elaborate on error cases or response structure, but these are useful behavioral details beyond the mere action.

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 two compact sentences: the first states the core action and cost, the second describes the output storage and refund. Every sentence contributes useful information, and it is front-loaded with the primary purpose.

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 tool is simple with 3 parameters and a clear output (PNG download URL). The description covers cost, output handling, and failure refunds, which is adequate given schema coverage. It could explicitly mention the response format, but the URL statement suffices. No output schema exists, so the description is sufficiently complete.

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 parameters are already well-documented (data, filename, symbology) including symbology-specific constraints like 'ean13 需 12-13 位数字'. The description adds no extra parameter-level detail, relying on the schema. Hence 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 clearly states the action: '把数据生成一维条形码 PNG' (generate a 1D barcode PNG from data). It specifies the resource (1D barcode) and differentiates from sibling tools, which are all QR-related (qr_decode, qr_generate, etc.), making it unmistakable what this tool does.

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?

The description implies usage for 1D barcode generation but does not explicitly compare to alternatives or state when to use this instead of QR tools. There is no 'when not to use' guidance, though sibling names provide context. Cost and refund info are given, but not usage alternatives, so a middle score is appropriate.

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