docx_mcp_server_ts
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | Controls the log level (DEBUG, INFO, WARN, ERROR) | INFO |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| docx.openB | Open a DOCX document from file or buffer |
| docx.closeB | Close a DOCX document and free resources |
| docx.saveC | Save a DOCX document to file or get as base64 |
| docx.list_partsB | List all parts (XML files) in a DOCX document |
| docx.part_readB | Read a specific XML part from the document |
| docx.part_writeC | Write/update a specific XML part in the document |
| docx.get_textC | Get all text from document |
| docx.replace_textB | Replace text in document |
| docx.findB | Find text in document |
| docx.tables_listB | List all tables |
| docx.table_editD | Edit table |
| docx.sdt_getC | Get SDT content |
| docx.sdt_putC | Set SDT content |
| docx.images_listA | List all images |
| docx.image_addC | Add image |
| docx.image_update_positionD | Update image position |
| docx.styles_getC | Get styles |
| docx.styles_setC | Set styles |
| docx.numbering_getC | Get numbering |
| docx.numbering_setC | Set numbering |
| docx.headers_footers_listC | List headers/footers |
| docx.headers_footers_getC | Get header/footer |
| docx.headers_footers_setC | Set header/footer |
| docx.comments_listC | List comments |
| docx.comments_addD | Add comment |
| docx.comments_deleteD | Delete comment |
| docx.changes_accept_allB | Accept all changes |
| docx.metadata_getC | Get metadata |
| docx.metadata_setC | Set metadata |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 29 tools
Each tool has a clear, distinct purpose (e.g., get_text vs. find vs. replace_text), with no overlapping functionality. The split between list/get/set operations across different document parts (tables, headers, styles) avoids ambiguity.
All tools follow a consistent verb_noun pattern (e.g., list_parts, part_read, table_edit) and share the 'docx.' prefix. The naming is uniform, lowercase with underscores, making it predictable and easy to navigate.
With 29 tools, the count is higher than the typical 3-15 range, but it is justified by the comprehensive scope of DOCX manipulation (text, tables, images, styles, metadata, comments, etc.). It feels extensive rather than bloated, though slightly over the ideal range.
The tool set covers a wide range of DOCX operations including open/save, text handling, tables, images, styles, numbering, headers/footers, comments, changes, and metadata. Minor gaps exist (e.g., no explicit delete for tables or images, no create-new-document operation), but agents can likely work around these using existing tools.