Skip to main content
Glama
rcarmo

office-document-mcp-server

by rcarmo

word_enable_track_changes

Activate Track Changes in a Word document so that subsequent edits in Word are recorded as tracked changes.

Instructions

Enable Track Changes mode in a Word document.

Sets the document settings so that Word will track subsequent changes when the document is opened and edited.

Note: This sets the tracking flag, but changes made by python-docx after this point will NOT be automatically tracked. Use patch_with_track_changes for programmatic tracked edits.

Example: enable_track_changes(file_path="04. Artifacts/contoso-sow.docx")

Args: file_path: Path to the .docx document output_path: Optional output path (defaults to overwriting input)

Returns: Status message

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYesPath to the .docx document
output_pathNoOptional output path (defaults to overwriting input)
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Discloses that python-docx changes after enabling will not be tracked, and directs to patch_with_track_changes. Annotations indicate readOnlyHint=false, which aligns with the mutating nature of the tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Concise, well-structured: summary, behavioral note, example, then Args/Returns. Every sentence adds value. Front-loaded with purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers all necessary aspects: purpose, behavioral constraint, parameter explanation via example, and return type. Adequate for a simple tool with good annotations and schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds an example with actual file path, clarifying usage, and explains return value (status message). Minor extra value.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool enables Track Changes mode and distinguishes from sibling tool word_patch_with_track_changes, which handles programmatic tracked edits.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly specifies when to use the tool (to enable tracking) and when to use an alternative (patch_with_track_changes for programmatic edits). Provides clear context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/rcarmo/python-office-mcp-server'

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