Skip to main content
Glama

read_part

Read raw XML content of any internal part within a DOCX file, such as 'word/document.xml', to inspect and analyze document structure at the OOXML level.

Instructions

Read raw XML of any DOCX part (e.g. 'word/document.xml'). Use list_parts() to discover available parts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
part_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Since no annotations are provided, the description carries the full burden. It clearly indicates a read-only operation ('Read raw XML') with no side effects. The description is honest and straightforward, though it could explicitly state that it does not modify the document.

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?

Two concise sentences that front-load the key information. Every word adds value, with no redundancy.

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?

Given the low complexity (1 required parameter, output schema exists), the description fully covers the necessary context. It explains the functionality and points to a complementary tool for discovery.

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?

Despite 0% schema description coverage, the description adds meaning by providing an example value ('word/document.xml') for the part_path parameter. This helps the user understand what format the path should take beyond just the name.

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 purpose: 'Read raw XML of any DOCX part' with an example path 'word/document.xml'. It distinguishes itself from sibling tools like list_parts and write_part by implying it's for reading specific parts.

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

Usage Guidelines4/5

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

The description provides guidance on how to discover available parts using list_parts(), which is helpful for usage. It implicitly suggests not to use this tool for modifying parts (use write_part instead), but lacks explicit when-not-to-use scenarios.

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/SecurityRonin/docx-mcp'

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