Skip to main content
Glama

Document to Markdown (PDF, Word, slides)

document-to-markdown

Turn a PDF, Word file, slide deck or scanned page into clean Markdown, with tables and layout kept and OCR on scanned pages. Priced by the page limit you choose. Price: from $0.007 per document, charged only on success. Price depends on max_pages: 1 $0.007, 5 $0.028, 20 $0.109, 50 $0.271 (default 5). One call = the Markdown text of one document.

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": {
      "file": "<file>"
    },
    "name": "document-to-markdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesPublic URL of a .pdf, .doc, .docx, .ppt, .pptx or image file (https)
force_ocrNoRead every page as an image (for scans with a bad text layer), default false
max_pagesNoMost pages to read; sets the price. Default 5

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