Skip to main content
Glama

FMF Tools Business Docs

barcode_svg

Barcode generator (EAN/UPC, Code 128, GS1-128, DataMatrix, PDF417, QR, Aztec...) ($0.002 per call, paid via MPP on Tempo). Render barcodes as crisp SVG with check digits computed and validated: Code 128, EAN-13, EAN-8, UPC-A, UPC-E, Code 39, Code 93, ITF-14, Interleaved 2 of 5, GS1-128, GS1 DataMatrix, Data Matrix, PDF417, QR Code, Aztec, ISBN, ISSN, Codabar, MSI, Pharmacode, POSTNET, GS1 Composite, MaxiCode, DotCode, rMQR, Micro QR. GS1 application identifiers supported ((01)...(17)...). Single code returns image/svg+xml; items[] (up to 20) or format=json returns JSON with SVG strings. Invalid data returns 402 with the reason and is not charged. HTTP POST https://mpp-biz.fmf-x402.workers.dev/barcode/svg. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "barcode_svg"
  }
}

Input Schema

NameRequiredDescriptionDefault
bgNo
textNo
typeNo
colorNo
itemsNobatch: up to 20 {type, text}
scaleNo1-8 (default 3)
formatNo
heightNobar height in mm (linear codes)
rotateNo
include_textNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and largely delivers: explicit price ($0.002 per call), the payment rail, the fact that the MCP wrapper does not settle payment itself, that invalid data returns 402 with a reason and is not charged, and that check digits are computed and validated. Cost, auth, and error semantics are all disclosed beyond what any annotation would provide.

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?

The information is front-loaded and dense, but the symbology list appears twice in overlapping form (a generic list in sentence one, then a 26-item enumeration), and payment/HTTP details are jammed into the same block. The duplication costs space without adding meaning.

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?

For a paid rendering tool with no output schema, the definition covers return payload (SVG string vs JSON with SVG strings), failure behavior (402), and the payment prerequisite. The remaining gap is per-parameter meaning for the seven undocumented styling/geometry inputs, which is a meaningful but secondary omission.

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 coverage is only 30% across 10 parameters, so the description must compensate. It does explain items[] shape and the 20-item cap, the svg-vs-json return behavior, and GS1 application identifier support, but bg, color, text, scale, height, rotate, and include_text get no gloss at all, leaving over half the inputs to the bare schema.

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?

Opens with a specific verb+resource ('Barcode generator') and immediately bounds scope with supported symbologies, batch batching, and output format. An agent can tell this renders barcodes and not, say, invoices or phone data, without inspecting the schema.

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?

Gives concrete routing rules within the tool: single code returns image/svg+xml, while items[] (up to 20) or format=json returns JSON. It also states the payment path (MPP header or mppx against the HTTP route). It does not name when-not-to-use, but the sibling list contains no real alternative for barcode rendering, so little is left 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.

Resources