Skip to main content
Glama
jcm4TX
by jcm4TX

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
ocr_pdfA

Run OCR on a PDF to add a searchable text layer using Tesseract.

Use this when a PDF is scanned (no extractable text). After running, the output PDF has an invisible text layer and can be converted to markdown via markitdown, searched in Adobe / Windows Search, or copied from normally.

Args: input_path: Absolute path to the input PDF on the user's filesystem. output_path: Absolute path for the OCR'd output PDF. If omitted, defaults to "-ocr.pdf" in the same directory as input. language: Tesseract language code (e.g. "eng", "eng+spa", "deu"). Multiple languages are joined with "+". Default "eng". force_ocr: If True, OCR every page even if a text layer already exists. Use when the existing text layer is poor or junk OCR. Default False (pages with existing text are passed through unchanged). deskew: If True, straighten skewed pages before OCR. Default True.

Returns: A dict with success (bool), output_path (str on success), and error (str on failure).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jcm4TX/ocrmypdf-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server