Skip to main content
Glama

BRAINIAC Document Formats & Identifiers

Decode barcodes from an image

document-formats_barcode-decode
Read-onlyIdempotent

Decode 1D/2D barcodes (QR, Data Matrix, PDF417, Code 128, EAN, …) from a PNG/JPEG/WebP/GIF. Price $0.03 USDC. POST /api/v1/document-formats/barcode-decode. An unpaid call returns the x402 payment terms and does not run.

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": {
      "imageBase64": "<imageBase64>"
    },
    "name": "document-formats_barcode-decode"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatsNoformats, array. Optional.
tryHarderNotryHarder, boolean. Required.
maxResultsNomaxResults, integer, from 1 to 20. Required.
imageBase64YesimageBase64, string, length 16 to 13981077. Required.

Output Schema

NameRequiredDescriptionDefault
countNocount. Number.
resultsNoresults. Array.
sourcesNosources. Array.
limitationsNolimitations. Array.

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.

Resources