Skip to main content
Glama

doc-ops-mcp

by Tele-AI

write_document

Generate and save document files automatically in HTML, Markdown, plain text, or DOCX formats. Specify content, encoding, and optional title; files are saved to OUTPUT_DIR with intelligent format detection.

Instructions

Write content to document files in specified formats. Output directory is controlled by OUTPUT_DIR environment variable. Files will be automatically saved to OUTPUT_DIR with auto-generated names based on content type (HTML, Markdown, or plain text). Supports intelligent format detection.

Input Schema

NameRequiredDescriptionDefault
contentYesContent to write
encodingNoFile encodingutf-8
formatNoForce specific format: html, md, txt, docx (optional, auto-detected if not specified)
titleNoDocument title (optional, used for filename generation)

Input Schema (JSON Schema)

{ "properties": { "content": { "description": "Content to write", "type": "string" }, "encoding": { "default": "utf-8", "description": "File encoding", "type": "string" }, "format": { "description": "Force specific format: html, md, txt, docx (optional, auto-detected if not specified)", "enum": [ "html", "md", "txt", "docx" ], "type": "string" }, "title": { "description": "Document title (optional, used for filename generation)", "type": "string" } }, "required": [ "content" ], "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