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

Tools

Functions exposed to the LLM to take actions

NameDescription
pdf_extract_text

Extract text content from a PDF file. Returns first 10 pages by default to avoid exceeding LLM context limits. Use the 'pages' parameter for specific pages.

pdf_get_metadata

Get metadata from a PDF file including title, author, subject, page count, creation/modification dates, and producer information.

pdf_get_form_fields

List all form fields in a PDF with their names, types, current values, and required status. Returns hasForm: false for PDFs without forms.

pdf_merge

Merge multiple PDF files into one. Warning: form fields in source PDFs are not preserved during merge — they appear visually but become non-interactive.

pdf_split

Extract specific pages from a PDF into a new file. Warning: form fields in the source PDF are not preserved — they appear visually but become non-interactive.

pdf_rotate_pages

Rotate pages in a PDF by 90, 180, or 270 degrees. Rotation is additive to any existing rotation. Rotates all pages if no page range is specified.

pdf_encrypt

Encrypt a PDF with password protection (RC4 128-bit). Requires a user password to open. Owner password controls editing permissions.

pdf_add_page_numbers

Add page numbers to a PDF. Supports configurable position, format, starting number, and font size.

pdf_embed_qr_code

Embed a QR code or barcode into a specific page of a PDF at given coordinates. Supports qrcode, code128, datamatrix, ean13, pdf417, and azteccode.

pdf_reorder_pages

Reorder pages in a PDF. Specify the new page order as a comma-separated string (e.g. '3,1,2'). Duplicates are allowed. Warning: form fields are not preserved.

pdf_create

Create a new PDF from text content with automatic line wrapping and page overflow. Supports A4, Letter, and Legal page sizes.

pdf_fill_form

Fill form fields in a PDF. Supports text, checkbox, dropdown, and radio fields. Provide fontPath for non-Latin text (Arabic, CJK, etc.).

pdf_add_watermark

Add a text watermark to PDF pages. Watermark is centered and rotated diagonally by default. Applies to all pages if no page range is specified.

pdf_embed_image

Embed a PNG or JPEG image into a specific page of a PDF. Supports custom positioning and optional scaling with aspect ratio preservation.

pdf_create_from_markdown

Create a rich PDF from Markdown content. Supports headings, bold, italic, tables, lists, and code blocks. Uses Roboto font.

pdf_create_from_template

Create a PDF from a named template (invoice, report, or letter). Pass structured data matching the template's expected fields.

Prompts

Interactive templates invoked by user choice

NameDescription
create-invoiceParse invoice details and generate a structured call to pdf_create_from_template.
fill-formGuide a two-step workflow: discover form fields, then fill them.

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/AryanBV/pdf-toolkit-mcp'

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