Skip to main content
Glama

Office Word MCP Server

replace_block_between_manual_anchors

Automatically replace content between specified start and end anchor texts in Microsoft Word documents using defined paragraphs.

Instructions

Replace all content between start_anchor_text and end_anchor_text (or next logical header if not provided).

Input Schema

NameRequiredDescriptionDefault
end_anchor_textNo
filenameYes
match_fnNo
new_paragraph_styleNo
new_paragraphsYes
start_anchor_textYes

Input Schema (JSON Schema)

{ "properties": { "end_anchor_text": { "default": null, "title": "End Anchor Text", "type": "string" }, "filename": { "title": "Filename", "type": "string" }, "match_fn": { "default": null, "title": "Match Fn" }, "new_paragraph_style": { "default": null, "title": "New Paragraph Style", "type": "string" }, "new_paragraphs": { "items": {}, "title": "New Paragraphs", "type": "array" }, "start_anchor_text": { "title": "Start Anchor Text", "type": "string" } }, "required": [ "filename", "start_anchor_text", "new_paragraphs" ], "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/GongRzhe/Office-Word-MCP-Server'

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