Skip to main content
Glama

Api2Pdf MCP by usefulapi

Generate barcode / QR code (Zebra)

api2pdf_generate_barcode
Destructive

Generate a barcode or QR code image. format is the symbology (e.g. 'QRCode', 'Code128', 'PDF417', 'DataMatrix') and value is the string to encode. Returns a { FileUrl } (valid ~24h) by default, or base64 with output_binary:true. BILLED. Api2Pdf API: GET /zebra.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueYesThe string to encode in the barcode/QR code.
widthNoImage width in pixels.
formatYesBarcode/QR symbology, e.g. 'QRCode', 'Code128', 'PDF417', 'DataMatrix'.
heightNoImage height in pixels.
showlabelNoIf true, render the encoded value as a human-readable label under the barcode.
output_binaryNoIf true, return the raw image bytes as base64 instead of a FileUrl. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.