Skip to main content
Glama
InfinityScrape MCP

InfinityScrape MCP

extract_docx_document

Streams and converts remote or local Word .docx files into clean Markdown, preserving headings, bullets, and full tables without local disk bloat.

Instructions

Word Document (.docx) Streamer & Table Parser: Streams and converts remote or local Word .docx files into clean Markdown preserving headings (H1-H4), bullet points, and full table matrices without local disk bloat.

Args: url_or_path: Remote URL (http/https) or local absolute file path to the .docx file.

Input Schema

NameRequiredDescriptionDefault
url_or_pathYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does add real behavioral context: streaming avoids local disk bloat, and conversion preserves heading levels, bullets, and full table matrices. It says nothing about file size limits, network/auth requirements, failure modes for malformed documents, or whether tables are flattened.

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 first sentence is front-loaded with the core action and output format, and the Args block is short and relevant. The header-style title line duplicates the tool name slightly and the 'Args:' formatting is a bit doctest-like, but nothing is wasted.

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

Completeness4/5

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

For a one-parameter extraction tool with an output schema (so return values need not be described), this covers the essential decision inputs: accepted input forms and the fidelity of the Markdown conversion. The remaining gaps — size limits, remote-fetch failure behavior — are minor given the tool's simplicity.

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

Parameters4/5

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

Schema description coverage is 0% and the single parameter has no schema-level description, but the description fully compensates by defining the accepted forms: an http/https remote URL or a local absolute file path, and requiring it point at a .docx file. That is meaningful added meaning beyond a bare 'string' property.

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 (streams and converts) and resource (remote or local Word .docx files), and specifies the output format (clean Markdown) plus what structure is preserved (H1-H4 headings, bullets, table matrices). It does not explicitly distinguish itself from same-family siblings like extract_pdf or extract_xlsx_spreadsheet, though the .docx framing makes the file-type boundary self-evident.

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: the agent can infer it should call this for .docx inputs rather than PDFs or spreadsheets, and that it accepts either a URL or a local path. There is no explicit when-to-use/when-not guidance, no prerequisite or sizing notes, and no sibling named as an alternative.

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