word-plumbing
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WORD_MASTER | No | Path to the master .docx template used to generate assignments (set via env in the MCP client config; the template is never modified). | |
| WORD_EXPORTS | No | Directory where generated .docx files are written; relative image paths in content also resolve against this directory. | |
| WORD_MCP_TRANSPORT | No | Transport for the MCP server. HTTP transport is available with WORD_MCP_TRANSPORT=streamable-http (default 127.0.0.1:8002/mcp) for Docker/remote clients; otherwise stdio is used. | stdio |
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": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": false,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| lint_styleA | Check markdown-ish content against the human-writing style profile (style_profile.json): no em dashes unless necessary, no AI-tell phrases, short paragraphs and sentences. Returns the violations, or 'clean'. |
| draft_assignmentA | Draft a template-faithful .docx from markdown-ish content text. content syntax: '## Section' headings, plain lines = BodyText paragraphs,
'- item' bullets, '1. item' numbered, ' date: 'YYYY-MM-DD' (default today). master/output: paths; defaults come from WORD_MASTER / WORD_EXPORTS. skip_metadata=True renders into any plain .docx (content appended, no controls needed). lint=True (default) style-checks the content first and refuses on errors; set lint=False to skip, allow_em_dash=True for mandated em dashes. Returns a human-readable summary including the output path. |
| draft_assignment_fileB | Like draft_assignment, but reads the content from a file path. Image paths in the file resolve relative to that file's folder. lint=True (default) style-checks the file's content first. |
| stamp_date_fileB | Stamp a submission date into an existing .docx (date picker + header). date: 'YYYY-MM-DD' (default today). Fails loudly if no date picker found. |
| list_stylesB | List the style IDs defined in a template .docx (use these in content; the renderer looks styles up by ID). |
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 5 tools
Each tool targets a distinct step: inspecting styles, linting content, drafting a document, and stamping a date into an existing file. The only overlap is draft_assignment vs draft_assignment_file, which are sibling variants (inline content vs file-sourced content) but explicitly clarify the distinction in their descriptions.
All five tools use verb-first snake_case: stamp_date_file, list_styles, lint_style, draft_assignment, draft_assignment_file. The _file suffix is used consistently to denote path-based variants.
Five tools is well-scoped for a focused Word document drafting/plumbing server. Every tool maps to a concrete pipeline stage with no filler.
The core lifecycle is covered: inspect template styles, lint content, render a .docx from inline or file content, and stamp a date. Minor gaps exist — no tool to read/extract content from an existing .docx or to update/replace content beyond date stamping — but agents can work around these.
'
figures (caption above, alt text set), '' comments skipped.
Image paths resolve relative to WORD_EXPORTS.