Skip to main content
Glama

make_barcode

Make an SVG barcode. Validates retail check digits and lengths. GS1-128 and GS1 DataMatrix accept bracketed (01)GTIN(17)YYMMDD(10)lot; use make_qr for QR codes. (API Tool Calls, by Cowerx)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesText to encode; at most 1024 UTF-8 bytes.
formatNocode128

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are present, so the description carries the burden. It usefully discloses the output format (SVG) and that input is validated against retail check digits and lengths, but says nothing about failure behavior on invalid input or the response shape. Adequate but with clear gaps for a tool with zero annotation coverage.

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?

Three tight sentences that front-load the core action, then validation, then the special GS1 syntax, then the sibling routing. Every clause carries information; nothing is padding.

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?

Given only two parameters and no output schema, the description covers purpose, format selection, special input syntax, and validation. The main omission is error/response behavior, which an agent would need when a barcode fails validation.

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 50% (the format enum is self-documenting but undescribed), and the description compensates by explaining the bracketed (01)GTIN(17)YYMMDD(10)lot syntax required for gs1-128 and datamatrix. That is meaningful guidance for the text parameter that the schema does not provide.

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 (make) and resource (SVG barcode), and explicitly distinguishes itself from the sibling make_qr. The mention of check-digit/length validation further sharpens what kind of barcode this is.

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?

Explicitly routes the agent to make_qr for QR codes, which is the key alternative given the sibling list. It does not spell out when-not to use this tool for other barcode-adjacent tasks (e.g., read_barcode is only implied), so it's clear but not fully exhaustive.

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