Skip to main content
Glama

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

Glama MCP Gateway

Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.

MCP client
Glama
MCP server

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.

100% free. Your data is private.
Tool DescriptionsA

Average 4.3/5 across 4 of 4 tools scored.

Server CoherenceA
Disambiguation5/5

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.

Naming Consistency5/5

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.

Tool Count5/5

With 4 tools, the server is well-scoped for file conversion and account management. Each tool earns its place without being excessive or insufficient.

Completeness5/5

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 tools
convert_fileConvert a file (by URL) to PDFAInspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlYesPublic http(s) URL of the file to download and convert.
pdfaNoPDF/A conformance level, e.g. "PDF/A-2b". (Pro/Scale/trial only.)
pdfuaNoProduce an accessible PDF/UA document.
passwordNoPassword to open a protected source document.
landscapeNoRender in landscape orientation. (Pro/Scale/trial only.)
save_pathNoOptional absolute path to also write the PDF to on disk.
userPasswordNoPassword required to open the resulting PDF.
ownerPasswordNoOwner password controlling permissions on the resulting PDF.
nativePageRangesNoPage ranges to include, e.g. "1-3".
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description adds the behavioral detail of costing 1 credit on success and returning the PDF as an embedded resource. Annotations only provide openWorldHint, so the description carries the burden. It lacks mention of failure behavior or authentication needs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences with a clear front-loaded main purpose and supporting detail. Every sentence is informative with no waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 9 parameters and 100% schema coverage, the description adequately covers the main behavior and return format. However, it does not address edge cases or error handling, which would be useful for a tool with many optional parameters.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so parameter descriptions already exist. The description adds value by explaining engine auto-detection from file extension and the passthrough behavior for PDF inputs, which are not in individual parameter descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The title and description clearly state the tool converts a file to PDF, specifying the verb 'convert' and the resource 'file to PDF'. It auto-detects the engine from the extension and lists supported formats, distinguishing it from siblings like convert_html and convert_markdown.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description specifies that the file must be fetched from a public URL and lists supported formats, providing clear context for when to use this tool. However, it does not explicitly state when not to use it or mention alternatives beyond the sibling tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

convert_htmlConvert HTML to PDFAInspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
cssNoOptional CSS, injected into the document <head>.
htmlYesThe HTML markup to render.
pdfaNoPDF/A conformance level, e.g. "PDF/A-2b". (Pro/Scale/trial only.)
pdfuaNoProduce an accessible PDF/UA document.
scaleNoRender scale, 0.1–2.0.
landscapeNoRender in landscape orientation. (Pro/Scale/trial only.)
marginTopNoTop margin in inches.
save_pathNoOptional absolute path to also write the PDF to on disk.
marginLeftNoLeft margin in inches.
paperWidthNoPaper width in inches, or with a unit e.g. "210mm".
marginRightNoRight margin in inches.
paperHeightNoPaper height in inches.
marginBottomNoBottom margin in inches.
userPasswordNoPassword required to open the resulting PDF.
ownerPasswordNoOwner password controlling permissions on the resulting PDF.
printBackgroundNoPrint background graphics/colors.
nativePageRangesNoPage ranges to include, e.g. "1-3,5".
preferCssPageSizeNoUse the page size declared in CSS @page rules.
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description discloses the tool costs 1 credit and returns the PDF as an embedded resource, which adds value beyond the openWorldHint annotation. It does not contradict the annotation, and the use of Chromium is transparent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence with a fragment, containing zero wasted words. It front-loads the core action and key details (cost, return format), earning its conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given full schema coverage and no output schema, the description adequately explains the output as an embedded PDF. It mentions cost and technology, covering the necessary context for a conversion tool with many options.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema provides 100% coverage with descriptions for all 18 parameters. The description only summarily mentions 'optional CSS and layout options,' adding no further meaning beyond the schema, so a baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool renders raw HTML to PDF using Chromium, with optional CSS and layout options. This distinguishes it from sibling tools convert_file and convert_markdown, which handle files or markdown. The verb 'render' and resource 'raw HTML string to PDF' are specific.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for raw HTML strings, and the sibling tools suggest alternatives. However, it lacks explicit when-not-to-use or direct comparisons, which would provide clearer guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

convert_markdownConvert Markdown to PDFAInspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
cssNoOptional CSS to style the rendered Markdown (overrides the default stylesheet).
pdfaNoPDF/A conformance level, e.g. "PDF/A-2b". (Pro/Scale/trial only.)
pdfuaNoProduce an accessible PDF/UA document.
scaleNoRender scale, 0.1–2.0.
markdownYesThe Markdown content to render.
landscapeNoRender in landscape orientation. (Pro/Scale/trial only.)
marginTopNoTop margin in inches.
save_pathNoOptional absolute path to also write the PDF to on disk.
marginLeftNoLeft margin in inches.
paperWidthNoPaper width in inches, or with a unit e.g. "210mm".
marginRightNoRight margin in inches.
paperHeightNoPaper height in inches.
marginBottomNoBottom margin in inches.
userPasswordNoPassword required to open the resulting PDF.
ownerPasswordNoOwner password controlling permissions on the resulting PDF.
printBackgroundNoPrint background graphics/colors.
nativePageRangesNoPage ranges to include, e.g. "1-3,5".
preferCssPageSizeNoUse the page size declared in CSS @page rules.
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With only openWorldHint annotation, the description carries the burden for behavioral disclosure. It states credit cost, return format (embedded resource), and default behavior. It does not mention potential side effects or limitations, but the core behavior is adequately described.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three sentences, front-loaded with the main purpose, followed by key details (default stylesheet, credit cost, return format). Every sentence adds necessary information without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 18 parameters with full schema coverage and no output schema, the description explains the return format ('embedded resource') and default behavior. It lacks error handling details or rate limits, but the core functionality is sufficiently covered for a conversion tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so baseline is 3. The description adds value beyond the schema by explaining the default stylesheet and the credit cost. It does not repeat parameter details but provides useful context, enhancing overall parameter understanding.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('Render') and resource ('raw Markdown string to a PDF'). It distinguishes from sibling tools like convert_html and convert_file by specifying Markdown input. The purpose is unambiguous and specific.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description mentions a default stylesheet when no CSS is given and notes a credit cost on success. It does not explicitly contrast with siblings (e.g., when to use convert_html instead), but the context is clear enough for an AI agent to decide.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_accountGet FileToPDF account statusA
Read-only
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint and openWorldHint; the description adds that it is free and costs no credits, providing useful behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences with no wasted words, front-loaded with key information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple 0-parameter tool without output schema, the description sufficiently covers purpose and behavior, though error conditions are omitted.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

No parameters exist, so schema coverage is 100%; description adds no parameter info, but none is needed. Baseline of 4 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool checks an API key and returns plan, credits, and status, distinguishing it from sibling conversion tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says to use this to verify the connection works, but does not mention when not to use it or provide alternatives beyond implied sibling context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Discussions

No comments yet. Be the first to start the discussion!

Try in Browser

Your Connectors

Sign in to create a connector for this server.

Resources