FileToPDF
Server Details
Convert files, HTML, and Markdown to PDF via the FileToPDF API. Bring your own API key.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
- Repository
- FileToPDF/filetopdf-mcp
- GitHub Stars
- 2
- Server Listing
- FileToPDF MCP server
Glama MCP Gateway
Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.
Full call logging
Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.
Tool access control
Enable or disable individual tools per connector, so you decide what your agents can and cannot do.
Managed credentials
Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.
Usage analytics
See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.
Tool Definition Quality
Average 4.3/5 across 4 of 4 tools scored.
Each tool has a clearly distinct purpose: convert_file handles files from URLs with auto-detection, convert_html handles raw HTML strings, convert_markdown handles raw Markdown, and get_account checks API status. There is no overlap.
All tool names follow a consistent verb_noun pattern with underscores (convert_file, convert_html, convert_markdown, get_account), making them predictable and easy to understand.
With 4 tools, the server is well-scoped for file conversion and account management. Each tool earns its place without being excessive or insufficient.
The tool set covers the core domain comprehensively: converting files from URLs (including many formats), raw HTML, raw Markdown, and checking account status. No obvious gaps for the stated functionality.
Available Tools
4 toolsconvert_fileConvert a file (by URL) to PDFInspect
Convert a file fetched from a public URL into a PDF. Auto-detects the engine from the extension: Office docs (DOCX, XLSX, PPTX, ODT, RTF, TXT, CSV…), images (PNG, JPG, WebP…), HTML, Markdown, or an existing PDF (passthrough). Costs 1 credit on success. Returns the PDF as an embedded resource.
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http(s) URL of the file to download and convert. | |
| pdfa | No | PDF/A conformance level, e.g. "PDF/A-2b". (Pro/Scale/trial only.) | |
| pdfua | No | Produce an accessible PDF/UA document. | |
| password | No | Password to open a protected source document. | |
| landscape | No | Render in landscape orientation. (Pro/Scale/trial only.) | |
| save_path | No | Optional absolute path to also write the PDF to on disk. | |
| userPassword | No | Password required to open the resulting PDF. | |
| ownerPassword | No | Owner password controlling permissions on the resulting PDF. | |
| nativePageRanges | No | Page ranges to include, e.g. "1-3". |
convert_htmlConvert HTML to PDFInspect
Render a raw HTML string to a PDF using Chromium, with optional CSS and layout options. Costs 1 credit on success. Returns the PDF as an embedded resource.
| Name | Required | Description | Default |
|---|---|---|---|
| css | No | Optional CSS, injected into the document <head>. | |
| html | Yes | The HTML markup to render. | |
| pdfa | No | PDF/A conformance level, e.g. "PDF/A-2b". (Pro/Scale/trial only.) | |
| pdfua | No | Produce an accessible PDF/UA document. | |
| scale | No | Render scale, 0.1–2.0. | |
| landscape | No | Render in landscape orientation. (Pro/Scale/trial only.) | |
| marginTop | No | Top margin in inches. | |
| save_path | No | Optional absolute path to also write the PDF to on disk. | |
| marginLeft | No | Left margin in inches. | |
| paperWidth | No | Paper width in inches, or with a unit e.g. "210mm". | |
| marginRight | No | Right margin in inches. | |
| paperHeight | No | Paper height in inches. | |
| marginBottom | No | Bottom margin in inches. | |
| userPassword | No | Password required to open the resulting PDF. | |
| ownerPassword | No | Owner password controlling permissions on the resulting PDF. | |
| printBackground | No | Print background graphics/colors. | |
| nativePageRanges | No | Page ranges to include, e.g. "1-3,5". | |
| preferCssPageSize | No | Use the page size declared in CSS @page rules. |
convert_markdownConvert Markdown to PDFInspect
Render a raw Markdown string to a PDF, with optional CSS and layout options. A sensible default stylesheet is applied when no CSS is given. Costs 1 credit on success. Returns the PDF as an embedded resource.
| Name | Required | Description | Default |
|---|---|---|---|
| css | No | Optional CSS to style the rendered Markdown (overrides the default stylesheet). | |
| pdfa | No | PDF/A conformance level, e.g. "PDF/A-2b". (Pro/Scale/trial only.) | |
| pdfua | No | Produce an accessible PDF/UA document. | |
| scale | No | Render scale, 0.1–2.0. | |
| markdown | Yes | The Markdown content to render. | |
| landscape | No | Render in landscape orientation. (Pro/Scale/trial only.) | |
| marginTop | No | Top margin in inches. | |
| save_path | No | Optional absolute path to also write the PDF to on disk. | |
| marginLeft | No | Left margin in inches. | |
| paperWidth | No | Paper width in inches, or with a unit e.g. "210mm". | |
| marginRight | No | Right margin in inches. | |
| paperHeight | No | Paper height in inches. | |
| marginBottom | No | Bottom margin in inches. | |
| userPassword | No | Password required to open the resulting PDF. | |
| ownerPassword | No | Owner password controlling permissions on the resulting PDF. | |
| printBackground | No | Print background graphics/colors. | |
| nativePageRanges | No | Page ranges to include, e.g. "1-3,5". | |
| preferCssPageSize | No | Use the page size declared in CSS @page rules. |
get_accountGet FileToPDF account statusRead-onlyInspect
Check the FileToPDF API key and return the plan, remaining conversion credits, and subscription status. Free — costs no credits. Use this to verify the connection works.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "your-email@example.com" }]
}The email address must match the email associated with your Glama account. Once published, Glama will automatically detect and verify the file within a few minutes.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!
Your Connectors
Sign in to create a connector for this server.