Skip to main content
Glama

BRAINIAC Identifiers & Validators

Validate a GTIN check digit

identifiers_gtin-checksum-validate
Read-onlyIdempotent

Validate GTIN-8, GTIN-12, GTIN-13, or GTIN-14 check digits with the published GS1 algorithm. Company prefix ownership is not looked up. Price $0.01 USDC. POST /api/v1/identifiers/gtin-checksum-validate. 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": {
      "gtin": "<gtin>"
    },
    "name": "identifiers_gtin-checksum-validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
gtinYesgtin, string, length 8 to 18. Required.

Output Schema

NameRequiredDescriptionDefault
gtinNogtin. String.
validNovalid. Boolean.
lengthNolength. Number.
sourcesNosources. Array.
formatOkNoformatOk. Boolean.
lengthOkNolengthOk. Boolean.
checksumOkNochecksumOk. Boolean.
limitationsNolimitations. Array.
retrievedAtNoretrievedAt. String.
expectedCheckDigitNoexpectedCheckDigit. Number.
observedCheckDigitNoobservedCheckDigit. Number.

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