Skip to main content
Glama

insert_paragraph

Add paragraphs to DOCX or Google Docs documents at specific positions relative to anchor paragraphs while preserving formatting.

Instructions

Insert a paragraph before/after an anchor paragraph by bk* id. Supports DOCX and Google Docs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathNoPath to the DOCX file.
google_doc_idNoGoogle Doc ID or URL (alternative to file_path). Extract from URL: docs.google.com/document/d/{ID}/edit
positional_anchor_node_idYes
new_stringYes
instructionYes
positionNo
style_source_idNoParagraph _bk_* ID to clone formatting (pPr and template run) from instead of the positional anchor. Falls back to anchor with a warning if not found.

Latest Blog Posts

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/UseJunior/safe-docx'

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