DOCX to text
docx_to_textExtract the text of a .docx document (base64). Returns the text inline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docx | Yes | Base64-encoded .docx file. |
docx_to_textExtract the text of a .docx document (base64). Returns the text inline.
| Name | Required | Description | Default |
|---|---|---|---|
| docx | Yes | Base64-encoded .docx file. |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotation readOnlyHint=true already covers the read-only nature, and the description adds the behavior of returning text inline. This is sufficient for a simple tool, though it doesn't describe potential edge cases or error handling.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, concise sentence with no redundant words. It front-loads the core action and resource, making it easy to parse quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description fully explains the tool's purpose, input format, and output format. Given the simplicity of the operation, it provides all necessary context without needing an output schema or additional details.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The parameter 'docx' is fully described in the schema as 'Base64-encoded .docx file.' The description repeats this information without adding extra meaning, so it meets the baseline but does not exceed the schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the specific action (extract text), the resource (.docx document), and the output (text inline). This distinguishes it from sibling tools like docx_to_pdf or extract_pdf_text, making its purpose unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies its usage by specifying it handles .docx files, which is clear in the context of sibling tools. However, it does not explicitly exclude alternatives or provide when-not-to-use guidance, so it falls short of a perfect score.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.