Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
--httpNoServe the MCP server over Streamable HTTP instead of stdio.false
--rootNoDirectory under which local file reads are restricted.
--allow-url-fetchNoAllow fetching documents from URLs.false

Instructions

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

Converts documents to Markdown or docling JSON for reading: PDF (layout, tables, OCR), DOCX, PPTX, XLSX, HTML, EPUB, e-mail, images, audio and more. Tools: convert_to_markdown for Markdown with default settings; convert for any other output format or for options (e.g. {"pages": "1-5"}); list_input_formats to check what this server accepts. Local files: paths under /app. URLs: enabled.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
convertA

Convert a document to a chosen output format, with conversion options, and return the result as text. to picks the format (Markdown, docling JSON with structure and page provenance, HTML, plain text, LaTeX, RAG chunks, WebVTT, Pandoc JSON); images embeds pictures instead of placeholders; options sets page ranges, OCR language and mode, text-layer-only PDFs, passwords and the rest. For plain Markdown with default settings, convert_to_markdown is the simpler call. Inputs and errors as for convert_to_markdown; an unknown to, images value or option key is an error that says what is accepted. Read-only.

convert_to_markdownA

Read a document as Markdown, with default settings, and return the Markdown text. Handles PDF (layout analysis, tables, OCR for scans), Word, PowerPoint, Excel, HTML, EPUB, e-mail, images, audio and more. Use this whenever Markdown is all you need. Use convert instead for another output format (docling JSON, HTML, RAG chunks, …), embedded images, or options such as a page range, OCR language or password. Fails with a message when the document is missing, outside the server's root, of an unsupported type (see list_input_formats), or a URL while URL fetching is off. Read-only. Same name and contract as MarkItDown's MCP tool.

list_input_formatsA

List the file extensions this server can convert, one per line, and whether it accepts http(s) URLs. Takes no arguments and converts nothing. Call it before convert_to_markdown or convert when unsure whether a file type is supported, or to learn why a URL was refused.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.4/5.0

Scored across 3 tools

Disambiguation4/5

convert and convert_to_markdown overlap because convert can also produce Markdown, but the descriptions clearly position convert_to_markdown as the simple default and convert as the option-rich general path. list_input_formats has a clearly distinct discovery role.

Naming Consistency4/5

Names are consistently snake_case and mostly verb_noun (convert_to_markdown, list_input_formats). The bare verb 'convert' is a minor deviation but still readable and predictable in context.

Tool Count5/5

Three tools are well scoped for a focused document-conversion server: one generic converter, one Markdown convenience path, and one capability-discovery tool. Each earns its place without bloat.

Completeness4/5

The surface covers the core conversion workflow across many formats, including options, error behavior, and supported-format discovery. A minor gap is the lack of explicit batch conversion or output-to-file operations, though returning text is a workable contract.

Maintenance

ActivityActive
ResponsivenessSyncing