Skip to main content
Glama

Read Word Document

read_word
Read-onlyIdempotent

Convert DOCX files into structured Markdown with headings, lists, tables, and safe links, using placeholders for images so you can read document content in a consistent text format.

Instructions

Mengonversi DOCX menjadi Markdown terstruktur (heading, daftar, tabel, tautan aman). Gambar menjadi placeholder; pagination DOCX tidak stabil.

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": {
      "filePath": "<filePath>"
    },
    "name": "read_word"
  }
}

Input Schema

NameRequiredDescriptionDefault
filePathYesAbsolute path file di dalam salah satu direktori ALLOWED_DIRS.
maxCharsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. The description adds genuinely useful caveats beyond them: images degrade to placeholders and DOCX pagination is unstable, which sets output-fidelity expectations. It says nothing, however, about truncation behavior tied to maxChars.

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 compact clauses, front-loaded with the conversion result followed by fidelity caveats; no sentence is filler.

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

Completeness2/5

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

For a tool whose whole job is producing text, the description never explains the maxChars cut-off or what a truncated result looks like, and no output schema exists to fill that gap. The image-placeholder and pagination notes are good but leave the truncation contract undefined.

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 50%: filePath is documented in-schema including the ALLOWED_DIRS restriction, while maxChars is undocumented apart from a default and 100000 cap. The description adds no meaning about what maxChars limits or what happens when the document exceeds it.

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?

States a specific verb and resource: converts DOCX into structured Markdown, and enumerates the structures preserved (headings, lists, tables, safe links). That distinguishes it from read_pdf/read_excel by file type, though it does not explicitly separate itself from the sibling convert_document.

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 the file-format wording; there is no explicit 'use this when' or a named alternative for non-DOCX input or for conversion-only workflows. An agent can infer the case but must reason about siblings on its own.

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