Skip to main content
Glama

pack_office_document

Repack unpacked Office document directories into .docx, .pptx, or .xlsx files, removing XML whitespace and optionally validating with LibreOffice.

Instructions

Pack a directory back into an Office document (.docx, .pptx, .xlsx). Removes pretty-printing whitespace from XML before packing. Can optionally validate the document before saving.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
input_dirYesDirectory containing unpacked Office document
output_fileYesPath for the output Office file
validateNoValidate the document after packing (requires LibreOffice)
forceNoSkip validation and pack anyway

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/shjanjua/pptx-mcp-server'

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