Skip to main content
Glama
mcp-docs-reader

mcp-docs-reader

by aranshayan

Read Word document

read_docx
Read-onlyIdempotent

Reads .docx files as Markdown or plain text, preserving headings, lists, tables, and links; long documents are paginated for manageable output.

Instructions

Read a .docx as Markdown (headings, lists, tables, links) or plain text. Long documents are paginated.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "read_docx"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
formatNomarkdown
max_charsNo
start_indexNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered. The description adds one genuinely new behavioral fact — long documents are paginated — but does not say how pagination is triggered, what the boundary is, or that the response signals more content. It also does not disclose error behavior for missing or malformed files.

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 short sentences with no filler: the capability and the output formats come first, the pagination caveat second. Every clause earns its place.

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?

For a read-only tool with no output schema and annotations covering safety, the format and pagination note cover the essentials. However, the paging contract (how to continue past start_index, how max_chars truncates) is left unexplained, which matters for the long-document case the description itself raises.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the full burden for four parameters, yet it only implies the format choice ('Markdown ... or plain text') and says nothing about path, start_index, or max_chars. An agent gets no explanation of how offset/limit interact with the paginated behavior mentioned in the description.

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 names a specific verb and resource ('Read a .docx') and states the two output representations, with a parenthetical listing preserved structure elements. The '.docx' qualifier effectively separates it from read_pdf and read_text, though no sibling is named explicitly.

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?

Usage is only implied by file type — an agent infers this is the tool for Word documents rather than PDFs or plain text. There is no stated guidance on when to prefer markdown vs text, nor any pointer to list_documents for discovery.

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