Skip to main content
Glama

Agent Tools UK

Read text from images and scanned PDFs (OCR)

ocr_read_text
Read-onlyIdempotent

Read the text from a photo, screenshot, scan or scanned PDF (OCR). If the PDF already has real text, that is returned instead (faster and exact). Use when text is only available as an image: receipts, letters, forms, signs. Send {url} or {base64}, optional lang (default eng, e.g. eng+fra). Max 20 MB, 20 pages. Returns {text, method, pages}. Errors: 400 bad input, 413 too large. Price: $0.01 USDC per call (x402).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoPublic URL of the file. Provide url OR base64.
langNoTesseract language code(s), e.g. eng or eng+fra
base64NoFile contents, base64-encoded (max 20 MB). Provide url OR base64.

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