docx-lab-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
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 | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| inspect_docx_templateB | Inspect a .docx lab report template for fillable slots and WPS diagnostics. Scans cover fields (including fragmented runs and multi-slot lines), table section headings, red instructional prompts, cell widths, and WPS layout risks. Args: docx_path: Path to the template .docx file. Returns:
Formatted JSON string containing |
| fill_docx_reportA | Fill a .docx lab report template in-place while preserving its OOXML styling. Preserves headers, footers, page numbers, table borders, cover underlines, and signature blocks. Optionally applies WPS Office compatibility sanitization and exports directly to PDF. Args:
template_path: Path to the source template .docx file.
payload_json: JSON object string with Returns: Formatted JSON string summarizing filled fields, sections, inserted images, WPS audit status, and optional PDF export details. |
| audit_docx_wpsA | Audit a .docx file across 12 OOXML fidelity and WPS Office compatibility checks. Checks ZIP/XML well-formedness, media relationships, Args: docx_path: Path to the .docx file to audit. Returns:
Formatted JSON string with |
| convert_docx_to_pdfA | Convert a .docx file to high-fidelity PDF and optionally render PNG previews. Uses the Rust+Skia Args:
docx_path: Path to the input .docx file.
pdf_path: Destination path for the output .pdf file.
engine: Conversion engine: Returns:
Formatted JSON string containing conversion metadata and optional
|
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 4 tools
The four tools form a mostly distinct pipeline: inspect template, fill report, audit WPS fidelity, and convert to PDF. The only meaningful overlap is between `inspect_docx_template` diagnostics and `audit_docx_wps`, since both surface WPS/layout risks, but the template-inspection vs post-fill-audit distinction is largely clear.
All tool names use a consistent snake_case verb_docx_* pattern: inspect_docx_template, fill_docx_report, audit_docx_wps, convert_docx_to_pdf. The suffixes vary by target operation, but the naming convention is predictable throughout.
Four tools is well-scoped for a focused DOCX lab report workflow. Each tool covers a distinct stage of the lifecycle and none feels redundant or unnecessary.
The tool set covers the core lifecycle: inspect a template, fill it, audit fidelity, and convert/export PDF with previews. Minor gaps exist around payload validation or repair workflows, but agents can reasonably work around them.