Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

pdfsift converts local PDF files into structured Markdown (headings, paragraphs, lists, tables, image links) with heuristics, offline. For a PDF you have not seen, call pdf_info first; for long ones (more than ~20 pages) call pdf_toc and then pdf_to_markdown with "pages" to read only the sections you need. Paths are local file paths, absolute or relative to the server's working directory.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
pdf_infoA

Metadata and diagnosis of a PDF: page count, title, author, whether pages have a text layer (scanned pages need OCR), whether it is tagged or encrypted. Cheap: call it first on a PDF you have not seen, to decide how much to read.

pdf_tocA

Table of contents of a PDF with the page where each section starts (from the PDF outline, else from detected headings). Use it on long PDFs (more than ~20 pages) to find the pages you need, then call pdf_to_markdown with "pages".

pdf_to_markdownA

Convert a PDF, or some of its pages, into structured Markdown: headings, paragraphs, lists, tables and image links, with running headers and footers removed and columns in reading order. <!-- page: N --> comments mark where each page starts, so you can cite pages. Images are written to a temporary directory and linked by absolute path (open the file to see a figure); images=false skips them. Output longer than 200000 characters is cut: for long PDFs call pdf_toc first and read the relevant pages. Scanned pages have no text (no OCR); they come back as page images.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 3 tools

Disambiguation5/5

Each tool targets a distinct layer of the reading workflow: pdf_info for metadata/diagnosis, pdf_toc for navigation, pdf_to_markdown for extraction. Descriptions explicitly sequence them (info first, toc for long PDFs, then markdown with pages), so an agent can pick without confusion.

Naming Consistency4/5

All three share a clear `pdf_` prefix in snake_case, which is predictable and readable. The minor inconsistency is that `pdf_to_markdown` names an output format/action while `pdf_info` and `pdf_toc` name resources, but the grouping is still obvious.

Tool Count4/5

Three tools is lean but each earns its place in a coherent pipeline (diagnose → navigate → extract). It sits at the thin end for a document-processing server, where a search or page-render tool would plausibly add value.

Completeness3/5

The core read path is covered end to end, but notable gaps remain for the stated domain: no OCR or fallback for scanned pages, no search/grep within a PDF, and no tool to render or fetch a specific page as an image (figures are only linked by path). These are acknowledged limitations that will cause dead ends on scanned or very long documents.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues