Skip to main content
Glama
aspose-words

Aspose.Words MCP

Official
by aspose-words

get_xml

Retrieve the XML content of a Word document by providing its document ID. Extract the underlying XML structure for processing or analysis.

Instructions

Get the document XML

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doc_idYes
Behavior2/5

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

With no annotations, the description must disclose behavioral traits. 'Get' implies a read operation, but the description does not confirm non-destructiveness or other behaviors (e.g., rate limits, performance). It adds minimal value beyond the name.

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

Conciseness4/5

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

The description is a single, concise sentence. It is front-loaded and straightforward. However, while concise, it sacrifices essential details, which slightly reduces effectiveness.

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

Completeness3/5

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

Given the tool's simplicity (1 param, no output schema, no annotations), the description is minimally adequate. It states the core function but lacks details on output format, input constraints, or edge cases. A more complete description would clarify that it returns the full document XML.

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

Parameters1/5

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

Schema description coverage is 0%, and the description does not explain the sole parameter 'doc_id'. It provides no additional meaning about what the identifier is or how to use it, forcing the agent to rely solely on the schema's type/required fields.

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

Purpose4/5

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

The description 'Get the document XML' clearly states the verb (Get) and resource (document XML), distinguishing it from siblings like get_text or get_document_base64. However, it is minimal and does not elaborate on the XML format (e.g., full document vs. part), which would improve clarity.

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

Usage Guidelines1/5

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

No guidance is provided on when to use this tool versus alternatives such as get_text, get_document_base64, or others. There is no indication of prerequisites, context, or exclusions, leaving the agent without decision support.

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/aspose-words/Aspose.Words-MCP'

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