Skip to main content
Glama

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": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
pdf_read_textA

Extract text content from a PDF file. Can extract from all pages or specific pages. Works with text-based PDFs (not scanned images).

pdf_infoA

Get detailed information about a PDF: page count, file size, metadata (title, author, dates), form field count, and page dimensions in points and inches.

pdf_createA

Create a new PDF from text. Supports auto word-wrapping, pagination, bold/italic, configurable fonts, margins, page sizes. Lines starting with "# " render as bold headings.

pdf_images_to_pdfA

Convert one or more images (PNG/JPG) into a PDF. Each image becomes a page, scaled to fit while maintaining aspect ratio.

pdf_mergeB

Merge multiple PDF files into a single PDF. Pages are combined in the order listed.

pdf_splitA

Split a PDF into multiple files — either individual pages or custom page ranges.

pdf_rotateA

Rotate pages by 90, 180, or 270 degrees clockwise.

pdf_delete_pagesC

Remove specific pages from a PDF.

pdf_extract_pagesC

Extract specific pages into a new PDF.

pdf_reorderB

Reorder pages. Can also duplicate pages by repeating numbers in the order array.

pdf_insert_pagesB

Insert pages from one PDF into another at a specific position. Useful for adding cover pages, appendices, or inserting content mid-document.

pdf_reverseA

Reverse the page order of a PDF. Useful for fixing scan order or printing back-to-front.

pdf_blank_pagesA

Insert blank pages into a PDF at specified positions. Useful for adding separator pages or ensuring chapters start on odd pages.

pdf_cropA

Crop pages by setting the visible area (crop box). Trims margins or isolates a region. Coordinates are in points from bottom-left.

pdf_overlay_pdfB

Overlay one PDF on top of another. The overlay PDF is drawn on top of the base PDF pages. Perfect for adding letterheads, templates, or watermark PDFs.

pdf_page_layoutA

Arrange multiple PDF pages onto single sheets in N-up layouts. Puts 2 or 4 source pages onto each output page side-by-side. Useful for printing handouts, saving paper, or creating thumbnail sheets.

pdf_watermarkB

Add a diagonal text watermark across PDF pages. The text is properly centered regardless of rotation angle.

pdf_page_numbersB

Add page numbers to every page. Supports various positions, custom prefix/suffix, and starting number.

pdf_add_textB

Add text at a specific position on a PDF page. Supports multi-line text (use \n). Coordinates are in points from bottom-left.

pdf_add_imageA

Add an image (PNG/JPG) at a position on a page. Aspect ratio is preserved when only width or height is given.

pdf_header_footerC

Add headers and/or footers with dynamic placeholders: {page} for current page, {pages} for total.

pdf_stampA

Apply a styled business stamp (like a rubber stamp) to PDF pages. Pre-configured styles for common stamps, or create custom ones. Draws a bordered rectangle with text inside, slightly rotated for authenticity.

pdf_signA

Add a signature image to a PDF with smart positioning. Simplified alternative to pdf_add_image for signing documents.

pdf_redactA

VISUAL-ONLY redaction: draws opaque rectangles over regions on PDF pages. WARNING: This does NOT remove the underlying text/data from the PDF — it only covers it visually. The original content can still be extracted programmatically. Do NOT use this for true document sanitization of sensitive data (SSNs, passwords, etc). For true redaction, use a tool that rewrites the PDF content stream (e.g. Adobe Acrobat Pro, qpdf, or mutool).

pdf_highlightA

Add translucent highlight boxes over regions on PDF pages — like using a highlighter pen. Great for marking important sections.

pdf_drawA

Draw shapes on PDF pages: rectangles (filled or outlined), lines, and circles/ellipses. Useful for annotations, diagrams, or marking up documents.

pdf_form_readA

Read all form fields from a PDF. Returns each field's name, type (Text, CheckBox, Dropdown, OptionList, RadioGroup), current value, and available options. Use this before pdf_form_fill to discover field names.

pdf_form_fillA

Fill form fields in a PDF by name. Supports text fields, checkboxes ("true"/"false"), dropdowns, option lists, and radio groups. Use pdf_form_read first to discover field names and types. Optionally flatten the form to make it non-editable.

pdf_set_metadataA

Set or update PDF document metadata fields: title, author, subject, keywords, creator, and producer. Only specified fields are changed; others remain untouched.

pdf_decryptA

Remove password protection from an encrypted PDF. Requires the correct password. Saves an unencrypted copy that can be opened without a password.

pdf_searchA

Search for text in a PDF. Returns all matches with page numbers and surrounding context. Supports plain text and regex search.

pdf_compareA

Compare the text content of two PDFs page by page. Reports which pages are identical, which differ, and shows a summary of differences. Useful for verifying document versions.

pdf_flattenA

Flatten a PDF — converts all form fields and annotations into static page content. Fields become non-editable. Useful for finalizing documents before distribution.

pdf_compressA

Attempt to reduce PDF file size by rebuilding the document structure. Copies all pages to a fresh PDF (dropping orphaned objects), and optionally strips metadata. Results vary — works best on PDFs with accumulated edits or orphaned data.

pdf_validateA

Validate a PDF file — checks if it can be parsed, reports page count, metadata, form fields, and any structural issues. Useful as a health check before processing.

pdf_repairA

Attempt to repair a damaged or malformed PDF by loading it with lenient parsing, copying all recoverable pages to a clean document, and re-saving. May fix issues like corrupted cross-reference tables or orphaned objects.

pdf_attachA

Embed one or more files as attachments inside a PDF. Attached files travel with the PDF and can be extracted by PDF readers. Useful for bundling source data, receipts, supporting documents, etc.

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/beepboop2025/pdf-suite-mcp'

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