Skip to main content
Glama
WendongAI

1pdf

by WendongAI

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.

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

Tools

Functions exposed to the LLM to take actions

NameDescription
system_statusA

Report 1PDF MCP version, platform, optional dependencies, and which tools are currently available.

mergeA

Combine multiple PDF files into a single document. Preserves all pages in order.

splitA

Split a PDF into separate files by page range. E.g. pages "1-3,5" extracts pages 1,2,3,5.

extract_pagesB

Extract specific pages from a PDF into a new document.

delete_pagesA

Delete specific pages from a PDF. E.g. pages "2,4-6" removes pages 2,4,5,6.

sort_pagesA

Reorder pages in a PDF by custom order. E.g. order [3,1,2] puts page 3 first.

reverse_pagesA

Reverse the page order of a PDF (last page becomes first).

add_blank_pageB

Insert blank pages into a PDF at a specific position.

rotateB

Rotate pages in a PDF by 90, 180, or 270 degrees.

alternate_mergeA

Interleave pages from multiple PDFs. Takes page 1 from each file, then page 2, etc.

view_metadataA

View PDF metadata: title, author, subject, keywords, creator, page count.

edit_metadataB

Edit PDF metadata fields (title, author, subject, keywords).

page_dimensionsA

Get page dimensions (width × height in points) for all pages in a PDF.

watermarkA

Add a text watermark overlay to all pages of a PDF.

page_numberB

Add page numbers to each page of a PDF.

add_header_footerB

Add header and/or footer text to each page. Supports {page} and {total} placeholders.

add_stampsC

Add a text stamp to a PDF at a specific position.

crop_pdfA

Crop pages by specifying margins to remove from each side (in points).

flatten_pdfA

Flatten form fields and annotations into the page content (makes them non-editable).

bates_number_pdfB

Add continuous, zero-padded Bates identifiers for legal and audit document production.

compressB

Compress a PDF to reduce file size.

encryptA

Encrypt a PDF with AES-256 password protection.

decryptB

Decrypt a password-protected PDF (removes password).

redact_pdfA

Permanently redact exact text values and rasterize pages so the source text cannot be recovered.

remove_metadataB

Strip all metadata (title, author, etc.) from a PDF.

invert_colorsA

Invert the colors of all pages (useful for dark mode printing).

image_to_pdfB

Convert one or more images (JPG/PNG) into a multi-page PDF.

jpg_to_pdfB

Convert a single JPG/JPEG image to a PDF page.

png_to_pdfA

Convert a single PNG image to a PDF page.

webp_to_pdfA

Convert a WebP image to a PDF page.

bmp_to_pdfA

Convert a BMP image to a PDF page.

tiff_to_pdfB

Convert a TIFF image to a PDF page.

svg_to_pdfA

Convert an SVG vector image to a PDF page.

heic_to_pdfA

Convert a HEIC/HEIF photo (iPhone format) to a PDF page.

psd_to_pdfA

Convert a Photoshop PSD file to a PDF (flattens all layers).

pdf_to_pngB

Render PDF pages as PNG images.

pdf_to_jpgB

Render PDF pages as JPEG images.

pdf_to_webpB

Render PDF pages as WebP images.

pdf_to_bmpB

Render PDF pages as BMP images.

pdf_to_tiffB

Render PDF pages as TIFF images.

pdf_to_zipA

Extract all pages as images and bundle them into a ZIP archive.

markdown_to_pdfB

Convert a Markdown (.md) file to a formatted PDF.

pdf_to_markdownA

Extract PDF text as page-labelled Markdown with heading and simple list detection.

txt_to_pdfA

Convert a plain text (.txt) file to a PDF.

json_to_pdfB

Convert a JSON file to a formatted PDF document.

email_to_pdfA

Convert an email file (.eml) to a PDF with headers and body.

cbz_to_pdfA

Convert a comic book archive (.cbz) to a PDF (one page per image).

epub_to_pdfA

Convert an EPUB ebook to a PDF (extracts text content).

rtf_to_pdfB

Convert an RTF document to a PDF.

pdf_to_greyscaleB

Convert all pages of a PDF to greyscale.

pdf_to_pdfaB

Convert a PDF to PDF/A archival format.

divide_pagesA

Split each page into two pages (horizontally or vertically).

combine_single_pageC

Combine all pages onto a single page in a grid layout.

nup_pdfC

Place N pages per sheet (2-up, 4-up, etc.).

pdf_bookletB

Arrange pages for booklet printing (signatures).

posterize_pdfA

Split each page into a grid of tiles for poster printing.

grid_combineC

Combine multiple PDFs side-by-side on single pages in a grid.

fix_page_sizeA

Resize all pages to a specific width and height (in points).

pdf_readerA

Extract all text content from a PDF. Returns the text of each page.

get_page_textA

Read full text from selected PDF pages without loading the entire document into context.

pdf_searchB

Search PDF text and return page-numbered snippets for each match.

get_pdf_chunksA

Read PDF text in stable overlapping chunks for long-document Agent workflows.

compare_pdfsA

Compare two PDFs and report differences in page count, text, and size.

remove_blank_pagesB

Remove blank or near-blank pages from a PDF.

pdf_to_jsonA

Export PDF structure (pages, text, metadata) as a JSON file.

extract_tablesB

Extract tables from a PDF. Returns table data as arrays.

table_of_contentsB

Add a table of contents page to a PDF with clickable entries.

edit_bookmarksC

Add or replace bookmarks (outline/TOC sidebar) in a PDF.

extract_attachmentsA

Extract all file attachments embedded in a PDF.

remove_annotationsA

Remove all annotations (comments, highlights, etc.) from a PDF.

background_colorA

Set a background color for all pages of a PDF.

change_permissionsB

Set PDF access permissions (print, copy, edit).

ocg_managerA

Inspect Optional Content Groups (layers); changing visibility is not yet available.

repair_pdfB

Repair a corrupted PDF by reloading and re-saving with pdf-lib.

linearize_pdfB

Optimize a PDF for fast web viewing (linearized/Web Optimized).

sanitize_pdfA

Sanitize a PDF by removing JavaScript, embedded files, and metadata.

remove_restrictionsB

Remove all access restrictions from a PDF.

sign_pdfA

Add a visible text signature appearance to a PDF; no certificate-backed authenticity is provided.

form_fillerC

Fill in form fields in a PDF with provided values.

form_creatorB

Add form fields (text inputs, checkboxes) to a PDF.

ai_summarizeB

Extract and summarize the text content of a PDF (returns key text).

ai_chat_with_pdfA

Ask a question about a PDF and get an answer based on its text content.

ai_extract_infoC

Extract structured information (entities, dates, numbers) from a PDF.

deskew_pdfA

Automatically detect and correct tilted scanned PDF pages. Output pages are rasterized.

rasterize_pdfC

Convert PDF pages to images and back (rasterizes vector content).

extract_imagesA

Extract all embedded images from a PDF as separate files.

add_attachmentsB

Attach files to a PDF as embedded attachments.

edit_attachmentsB

List or remove file attachments in a PDF.

font_to_outlineA

Convert all fonts in a PDF to vector outlines (prevents font substitution).

word_to_pdfA

Convert a Word document (.doc/.docx) to PDF. Requires LibreOffice.

excel_to_pdfA

Convert an Excel spreadsheet (.xls/.xlsx) to PDF. Requires LibreOffice.

powerpoint_to_pdfB

Convert a PowerPoint presentation (.ppt/.pptx) to PDF. Requires LibreOffice.

pdf_to_docxA

Convert a PDF to a Word document (.docx). Requires LibreOffice.

pdf_to_excelB

Convert a PDF to an Excel spreadsheet (.xlsx). Requires LibreOffice.

pdf_to_pptA

Convert a PDF to a PowerPoint presentation (.pptx). Requires LibreOffice.

mobi_to_pdfA

Convert a Kindle ebook (.mobi) to PDF. Requires Calibre.

djvu_to_pdfA

Convert a DjVu document to PDF. Requires DjVuLibre.

xps_to_pdfA

Convert an XPS document to PDF. Requires LibreOffice.

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/WendongAI/onepdf-mcp-server'

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