Skip to main content
Glama

Agent Data Tools: Full list (every tool as its own definition)

Barcode generator: Code 128 or EAN-13 as SVG

barcode
Read-only

Generate a barcode as an SVG image: Code 128 for any printable ASCII text (switching to the compact numeric set for runs of digits, with the mod-103 check symbol), or EAN-13 for 12 or 13 digits (the check digit is computed or verified). Set bar width and height and whether to print the text below. Returns the SVG and a data URL ready for an tag. Use for shipping labels, product codes, tickets or inventory; for QR codes use qr. Example: text=AGENT-12345. Price $0.01/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>"
    },
    "name": "barcode"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesWhat to encode: ASCII text for Code 128, or 12-13 digits for EAN-13
typeNocode128 (default) or ean13
labelNotrue (default) to print the text below the bars
widthNoModule (narrowest bar) width in pixels, 1-6 (default 2)
heightNoBar height in pixels, 20-300 (default 80)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.