Skip to main content
Glama

BRAINIAC Document Formats & Identifiers

Parse MRZ and verify check digits

document-formats_mrz-parse-checkdigits
Read-onlyIdempotent

Parse TD1/TD2/TD3 machine-readable zones and verify ICAO Doc 9303 check digits. Price $0.01 USDC. POST /api/v1/document-formats/mrz-parse-checkdigits. 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": {
      "mrz": "<mrz>"
    },
    "name": "document-formats_mrz-parse-checkdigits"
  }
}

Input Schema

NameRequiredDescriptionDefault
mrzYesmrz, value. Required.

Output Schema

NameRequiredDescriptionDefault
sexNosex. String.
validNovalid. Boolean.
checksNochecks. Array.
formatNoformat. String.
sourcesNosources. Array.
surnameNosurname. String.
warningsNowarnings. Array.
birthDateNobirthDate. String.
expiryDateNoexpiryDate. String.
givenNamesNogivenNames. Array.
limitationsNolimitations. Array.
nationalityNonationality. String.
documentCodeNodocumentCode. String.
issuingStateNoissuingState. String.
optionalDataNooptionalData. Array.
documentNumberNodocumentNumber. String.

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