Skip to main content
Glama
ellmos-filecommander-mcp

ellmos-filecommander-mcp

Markdown to PDF

fc_md_to_pdf
Idempotent

Converts Markdown files to PDF using a headless Edge or Chrome browser, with optional document title and output path; falls back to HTML when no browser is found.

Instructions

Converts Markdown to PDF using a headless browser (Edge/Chrome).

Args:

  • input_path (string): Path to the Markdown file

  • output_path (string): Path to the PDF output

  • title (string, optional): Document title

Uses the same Markdown parser as fc_md_to_html. Requires Edge or Chrome. Falls back to HTML if no browser is found.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "input_path": "<input_path>",
      "output_path": "<output_path>"
    },
    "name": "fc_md_to_pdf"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoDocument title
input_pathYesMarkdown file
output_pathYesPDF output

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.11.5
  2. Removedv1.9.3
  3. First observedv1.7.8

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the write/safety profile is covered. The description adds genuine value beyond that by disclosing the runtime dependency (headless Edge/Chrome) and a silent fallback to HTML output when no browser is present — a behaviour an agent would otherwise not predict. It still omits whether an existing file at output_path is overwritten.

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

Conciseness3/5

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

The leading sentence is well front-loaded, but the Args block largely duplicates the 100%-covered schema, and the trailing notes are three short fragments rather than one coherent statement. Nothing is misleading, but the parameter list does not earn its space.

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?

For a 3-param conversion tool with no output schema and no return-value documentation, the description covers inputs and the browser dependency but not the response (file path? success flag? fallback indication?). An agent can invoke it correctly, but cannot anticipate what comes back or how to detect the HTML fallback.

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?

Schema description coverage is 100%, so the schema already documents input_path, output_path and title. The description's Args block restates the same three parameters with no added semantics — no format constraints, path conventions, or default for title. Baseline 3 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?

States a specific verb+resource+mechanism: 'Converts Markdown to PDF using a headless browser (Edge/Chrome)'. It also differentiates itself from the neighbouring converter fc_md_to_html by noting the shared parser and the output-format difference.

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

Usage Guidelines3/5

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

Usage context is implied rather than stated: the agent learns a browser is required and that it 'falls back to HTML if no browser is found', which is useful routing information. However, it never says when to choose this over fc_md_to_html or fc_convert_format, and gives no prerequisites for installing/launching Edge or Chrome.

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