Skip to main content
Glama

MCP Documentation Service

write_document

Generate or overwrite markdown documents, including creating necessary directories, using the MCP Documentation Service for precise document management.

Instructions

Create a new markdown document or completely overwrite an existing document with new content. Use with caution as it will overwrite existing documents without warning. Can create parent directories if they don't exist.

Input Schema

NameRequiredDescriptionDefault
contentYes
createDirectoriesNo
pathYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "content": { "type": "string" }, "createDirectories": { "default": true, "type": "boolean" }, "path": { "type": "string" } }, "required": [ "path", "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/alekspetrov/mcp-docs-service'

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