Skip to main content
Glama
u9401066

asset-aware-mcp

by u9401066

get_docx_content

Retrieves editable DFM content from a docx document. Optionally, returns only a specific block when block_id is provided.

Instructions

取得 docx 文件的可編輯 DFM 內容。

若指定 block_id,只回傳該區塊的內容;否則回傳完整 DFM。

Args: doc_id: 文件 ID(由 ingest_docx 產生) block_id: 可選,特定區塊 ID(如 p001, t001, h001)

Returns: DFM 內容或特定區塊資訊

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doc_idYes
block_idNo
max_charsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description partially discloses behavior (returns full DFM or specific block). However, it completely ignores the max_chars parameter, leaving its behavior undocumented.

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 concise and front-loaded with the main purpose. The Args list is simple and readable, though it could include max_chars for completeness.

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?

Despite having an output schema, the description misses the max_chars parameter and lacks usage guidance. It partially satisfies completeness but leaves gaps.

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

Parameters3/5

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

Schema coverage is 0%, so description must compensate. It explains doc_id (source) and block_id (with examples), but omits max_chars entirely, which is a significant gap.

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 retrieves editable DFM content of a docx file, with optional block filtering. It distinguishes from sibling docx tools (e.g., save_docx, ingest_docx) by focusing on retrieval.

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

Usage Guidelines3/5

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

The description implies usage for retrieving DFM content and mentions that doc_id comes from ingest_docx, but does not explicitly state when to use this tool vs alternatives like document or section, nor provide exclusions.

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/u9401066/asset-aware-mcp'

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