Skip to main content
Glama

doc-ops-mcp

by Tele-AI

convert_document

Transform document formats (PDF, HTML, DOCX, Markdown, TXT) while maintaining original styles. Automatically saves outputs to the specified directory. Preserves formatting and supports internal tools for efficient conversions.

Instructions

Convert documents between formats with enhanced style preservation. Output directory is controlled by OUTPUT_DIR environment variable. All output files will be automatically saved to the directory specified by OUTPUT_DIR with auto-generated names. ⚠️ IMPORTANT: For Markdown to HTML conversion with style preservation, use 'convert_markdown_to_html' tool instead for better results with themes and styling. For creating Word documents from content, use 'create_word_document' tool to avoid conversion loops.

Input Schema

NameRequiredDescriptionDefault
inputPathYesInput file path
preserveFormattingNoPreserve formatting
targetFormatNoTarget format: pdf, html, docx, markdown, md, txt (optional, auto-detected from input if not specified)
useInternalPlaywrightNoUse built-in Playwright for PDF conversion

Input Schema (JSON Schema)

{ "properties": { "inputPath": { "description": "Input file path", "type": "string" }, "preserveFormatting": { "default": true, "description": "Preserve formatting", "type": "boolean" }, "targetFormat": { "description": "Target format: pdf, html, docx, markdown, md, txt (optional, auto-detected from input if not specified)", "type": "string" }, "useInternalPlaywright": { "default": false, "description": "Use built-in Playwright for PDF conversion", "type": "boolean" } }, "required": [ "inputPath" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Tele-AI/doc-ops-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server