Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PAPYRIO_API_KEYNoYour RapidAPI key for the Papyrio PDF API. Optional — without it the server runs on a free guest tier metered at three operations a day per IP address.

Instructions

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

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
compress_pdfA

Shrink a PDF by downsampling its images. Image-heavy files lose 30-80% of their size; text stays selectable. Use this when a PDF is too large to email or upload. Already-optimized files come back unchanged rather than larger.

merge_pdfsA

Combine 2 to 10 PDFs into one document, in the order given. Use this to join separate scans, chapters or invoices into a single file. Password-protected files must be unlocked first.

extract_pdf_textA

Return the text of a PDF as UTF-8, so it can be read or summarized. Fast and exact when the PDF already has a text layer. A scanned PDF has none — run ocr_pdf on it first.

ocr_pdfA

Add a searchable text layer to a scanned PDF, making it selectable and searchable. Use this before extracting text from a scan or a photographed document. Scans at 300 DPI or higher read well; below 150 DPI the result degrades badly.

pdf_to_wordA

Convert a PDF into an editable Word document. PDFs exported from Word, Google Docs or InDesign come through well. A scanned PDF is a picture of a page, so run ocr_pdf on it first.

split_pdfA

Separate every page of a PDF into its own file, returned as a ZIP archive. Use this to pull single pages out of a long document.

pdf_to_jpgA

Render every page of a PDF as a JPG image, returned as a ZIP archive. Use this when the pages are needed as pictures, for a thumbnail, a slide or an image pipeline.

office_to_pdfA

Convert a Word (.doc, .docx, .odt), PowerPoint (.ppt, .pptx) or Excel (.xls, .xlsx) document to PDF, keeping fonts, tables, images and page layout. Use this to turn an Office file into something fixed and shareable.

image_to_pdfA

Wrap a JPG, PNG or WebP image in a PDF page. Use this when an image needs to be submitted or printed as a PDF.

webpage_to_pdfA

Fetch a public URL and render the page to PDF in a headless browser. Use this to archive or print a web page. This tool takes a URL rather than a file, so output_path is required.

protect_pdfA

Encrypt a PDF with AES-256 so it cannot be opened without the password. Use this before sending a document that contains anything private.

unlock_pdfA

Remove the password from a PDF you already know the password for. This decrypts with the supplied password; it does not break or guess encryption.

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 12 tools

Disambiguation5/5

Each tool targets a distinct operation or input/output pair, such as text extraction versus OCR, and compression versus splitting or merging. Conversion tools are clearly differentiated by source and target formats. There is no meaningful overlap that would cause misselection.

Naming Consistency4/5

All names use snake_case consistently, which makes the set predictable and readable. Most tools use a verb_noun pattern, while conversion tools use source_to_target, a minor deviation from the dominant convention. The deviation is internally consistent and easy to follow.

Tool Count5/5

Twelve tools is a well-scoped size for a PDF utility server. Each tool earns its place by covering a distinct common operation, with no redundant or filler entries. The count is neither thin nor bloated.

Completeness4/5

The surface covers core PDF workflows: compression, merging, splitting, text extraction, OCR, security, and conversion from Office, images, and web pages. Minor gaps remain around page-level editing such as rotating, reordering, or deleting pages, and form or annotation handling, but agents can work around most of these.

Maintenance

ActivityMaintained
ResponsivenessNo issues