Skip to main content
Glama

BRAINIAC Document Formats & Identifiers

Extract tables from a text PDF

document-formats_pdf-table-extract
Read-onlyIdempotent

Extract bordered or whitespace-aligned tables from a caller-supplied PDF (no OCR). Price $0.04 USDC. POST /api/v1/document-formats/pdf-table-extract. 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": {
      "pdfBase64": "<pdfBase64>"
    },
    "name": "document-formats_pdf-table-extract"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNomode, string, one of auto, lattice, stream. Required.auto
pagesNopages, array. Optional.
pdfBase64YespdfBase64, string, length 16 to 20971584. Required.

Output Schema

NameRequiredDescriptionDefault
tablesNotables. Array.
sourcesNosources. Array.
pageCountNopageCount. Number.
limitationsNolimitations. Array.
pagesWithoutTextNopagesWithoutText. 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