Skip to main content
Glama
jakobautomation

agentsvc-mcp

barcode

Generate scannable PNG codes from text for labels, shipping, inventory, tickets, or invoices; validates EAN/UPC check digits.

Instructions

Barcode Generator — Generate a barcode as PNG (base64): code128 (default), ean13, ean8, upca, upce, code39, itf14, gs1_128, isbn, datamatrix, pdf417, aztec or qr. Validates check digits for EAN/UPC. Use for labels, shipping, inventory, tickets or invoices. Params: text (required), type, scale (1-8, default 3), include_text boolean (human-readable text under the bars). Cost: $0.0025 USDC per call. Latency p99: 300ms.

Input Schema

NameRequiredDescriptionDefault
textYesData to encode
typeNocode128
scaleNo
include_textNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

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, and it delivers real operational context: output format (PNG base64), check-digit validation for EAN/UPC, cost ($0.0025 USDC per call) and p99 latency (300ms). It stops short of describing error behavior for invalid input or the maxLength constraint's failure mode.

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?

A single dense, front-loaded paragraph: purpose first, then formats, then validation, use cases, params, cost and latency. No filler sentences, though the packed enumeration makes it read as a spec dump rather than prose.

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?

With no output schema, the description correctly states the return form (base64 PNG) plus cost and latency, and it covers all four parameters, so an agent can invoke it correctly. Minor gaps remain around input-length limits and failure modes for invalid check digits.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 25% (only 'text' is documented in the schema), so the description must compensate and largely does: it names all four params, marks text as required, gives scale's range and default, and explains include_text as 'human-readable text under the bars' — semantics absent from the schema. It adds no format examples for type-specific inputs (e.g. EAN-13 length rules).

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?

States a specific verb and resource ('Generate a barcode as PNG (base64)') and enumerates the supported symbologies, so the agent knows exactly what comes back. It does not differentiate from the sibling 'qr_code' tool even though qr is listed as one of its types, leaving a small overlap ambiguity unresolved.

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

Usage Guidelines4/5

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

'Use for labels, shipping, inventory, tickets or invoices' gives concrete usage contexts rather than a bare restatement of the name. There is no exclusion or routing guidance, however, so the agent is not told when to prefer qr_code over this tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools