Skip to main content
Glama

Johto Data DOCX to Markdown

docx_to_markdown
Read-only

POST a public .docx URL or base64 DOCX (max 10 MB). Returns Markdown text plus image attachments. Caller is responsible for the target site's terms. robots.txt is respected. Private hosts and redirects to them are blocked. Costs $0.02 USDC per call via x402. Without payment, the call returns the x402 payment requirements; retry with an X-PAYMENT or PAYMENT-SIGNATURE header, or params._meta["x402/payment"].

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "docx_to_markdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoPublic http(s) URL to a .docx file; robots.txt respected; caller responsible for target terms
docxBase64NoBase64-encoded .docx bytes, max 10 MB decoded; alternative to url

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

The annotations only tell the agent this is a read-only, open-world call; the description goes much further by disclosing the $0.02 x402 charge, the exact payment-required response and retry headers (X-PAYMENT / PAYMENT-SIGNATURE / params._meta), the 10 MB ceiling, and SSRF guards that block private hosts and redirects to them.

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?

Six tight sentences, front-loaded with the primary action and output, then the legal/operational caveats, then the payment flow. The robots.txt and caller-responsibility wording duplicates the schema slightly, but nothing is padded or redundant at length.

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

Completeness5/5

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

For a paid converter with no output schema and no required parameters, the description supplies everything an agent needs: input forms, size cap, what comes back (Markdown plus image attachments), the payment handshake on failure, and the network-safety policy. No material gap remains.

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 description coverage is 100%, so both parameters are already documented with their constraints. The description restates the 10 MB limit and public/robots.txt conditions but adds no format, encoding, or mutual-exclusivity detail beyond the schema, which is the expected baseline.

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 first sentence names a specific verb and resource: POST a .docx (URL or base64) and get Markdown back, plus image attachments. It is unmistakably distinct from siblings like url_to_markdown or html_to_rag by virtue of the .docx input, though the description never explicitly states that distinction.

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

Usage Guidelines4/5

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

It gives clear preconditions for use: the source must be a public http(s) .docx, max 10 MB, and the caller must own responsibility for target-site terms. What it omits is any routing guidance against sibling converters (e.g. use url_to_markdown for HTML pages), leaving that inference to the file extension.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources