Skip to main content
Glama

Office Word MCP Server

insert_numbered_list_near_text

Add a numbered list before or after a specific paragraph in a Word document by text or paragraph index. Simplify document formatting with precise placement.

Instructions

Insert a numbered list before or after the target paragraph. Specify by text or paragraph index. Args: filename (str), target_text (str, optional), list_items (list of str), position ('before' or 'after'), target_paragraph_index (int, optional).

Input Schema

NameRequiredDescriptionDefault
filenameYes
list_itemsNo
positionNoafter
target_paragraph_indexNo
target_textNo

Input Schema (JSON Schema)

{ "properties": { "filename": { "title": "Filename", "type": "string" }, "list_items": { "default": null, "items": {}, "title": "List Items", "type": "array" }, "position": { "default": "after", "title": "Position", "type": "string" }, "target_paragraph_index": { "default": null, "title": "Target Paragraph Index", "type": "integer" }, "target_text": { "default": null, "title": "Target Text", "type": "string" } }, "required": [ "filename" ], "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