Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FLEXFILES_API_KEYYesYour FlexFiles API key (required for conversions).
FLEXFILES_API_URLNoAPI address; defaults to https://api.flexfiles.io/api/v1.https://api.flexfiles.io/api/v1

Instructions

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

FlexFiles converts, compresses, merges, splits, OCRs and edits PDFs and images. Use convert_file with the files' local paths (or https links). Results are saved next to the first input file unless save_to names a folder, and the saved paths are returned. Each tool's settings (passwords, page ranges, formats) go in options; call list_tools with an action to see them. Long jobs return a conversion_id: call get_conversion later to collect the result. Needs a FlexFiles API key (Pro or Business plan) in FLEXFILES_API_KEY.

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
convert_fileA

Run a FlexFiles tool on local files or https links and save the result locally. Originals are never changed. Actions:

  • merge-pdf: Combine PDFs into one file, in the order given.

  • add-page-to-pdf: Insert the pages of a second PDF into the first one.

  • protect-pdf: Add a password to a PDF.

  • unlock-pdf: Remove the password from a PDF you know the password for.

  • search-and-replace: Find text in a PDF and replace it.

  • split-pdf: Split a PDF into several files with a fixed number of pages each.

  • remove-pdf-pages: Delete pages from a PDF.

  • add-header-footer: Add header and/or footer text to PDF pages.

  • add-link-to-pdf: Make URLs and email addresses in a PDF clickable, or link chosen text.

  • pdf-to-jpg: Turn PDF pages into JPG images.

  • pdf-to-word: Convert a PDF to an editable Word document (.docx).

  • html-to-pdf: Convert an HTML file to PDF.

  • pdf-to-html: Convert a PDF to an HTML page.

  • pdf-to-pptx: Convert a PDF to a PowerPoint presentation (.pptx).

  • pdf-to-txt: Extract the text of a PDF into a .txt file.

  • extract-pdf-images: Save the images inside a PDF as separate files.

  • pdf-to-excel: Extract tables from a PDF into an Excel workbook (.xlsx).

  • compress-pdf: Make a PDF file smaller.

  • convert-image: Convert images to another format (PNG, JPEG, WebP and more).

  • enhance-image: Upscale and sharpen images.

  • remove-background: Remove the background from images, or replace it with a colour or another image.

  • tiny-image: Make images smaller.

  • ocr-pdf: Make a scanned PDF's text searchable and selectable.

  • deskew-pdf: Straighten tilted scanned pages.

  • word-to-pdf: Convert a Word document (.doc or .docx) to PDF.

  • repair-pdf: Recover a damaged or corrupted PDF.

  • jpg-to-pdf: Combine images into one PDF, one image per page.

  • flatten-pdf: Bake form fields and annotations into the page so they can't be edited.

  • remove-annotations: Remove highlights, comments, drawings, form fields or links from a PDF. Settings go in options (call list_tools with the action to see them).

get_conversionA

Check a conversion started earlier; once it's completed, save the result locally (once) and return the paths and download links.

list_conversionsA

List the account's finished conversions, newest first (website and API).

list_toolsA

Show FlexFiles tools: the files each accepts and its settings (names, types, choices, defaults).

get_accountA

Show which FlexFiles account and plan the configured API key uses.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 5 tools

Disambiguation4/5

Four of the five tools have clearly distinct roles: account info, polling a conversion, listing conversions, and inspecting the tool catalog. The only friction is convert_file, which bundles ~30 actions behind one name, so agents must read the action vocabulary rather than select a tool; get_conversion vs. list_conversions could also briefly be confused but descriptions clarify.

Naming Consistency5/5

All five top-level tools follow the same snake_case verb_noun pattern: convert_file, get_account, get_conversion, list_conversions, list_tools. The kebab-case action identifiers live inside convert_file's parameter space, so they don't break the tool-name convention.

Tool Count4/5

Five tools is a compact, well-scoped surface for an API that actually exposes 30+ operations, and the dispatcher pattern keeps the MCP surface small. It is slightly under-fragmented, however, since nearly all real work hides behind a single overloaded tool, forcing discovery via list_tools.

Completeness4/5

Coverage is broad: bidirectional conversions (PDF/Word/HTML/PPTX/Excel/TXT/JPG), PDF editing (merge, split, page ops, headers, links, protect/unlock, flatten, annotate removal, repair, compress, OCR, deskew), image processing, plus job status and catalog discovery. Gaps are minor, e.g. no cancel-conversion or delete/cleanup of stored results, but all core workflows have a path.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues