Skip to main content
Glama

DOCX MCP Server

docx-insertContent

Insert content blocks into Word documents at specified indexes using JSON schema. Query document structure and schema first to ensure accurate placement and formatting.

Instructions

Insert a block at index. Use docx-queryObjects first to see current structure, and docx-getSchema to understand block structure.

Input Schema

NameRequiredDescriptionDefault
blockYes
idYes
indexYes

Input Schema (JSON Schema)

{ "properties": { "block": { "$ref": "docx:/$defs/Block" }, "id": { "type": "string" }, "index": { "minimum": 0, "type": "integer" } }, "required": [ "id", "index", "block" ], "type": "object" }

Other Tools from DOCX MCP Server

Related Tools

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/lihongjie0209/docx-mcp'

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