Skip to main content
Glama

win_doc_convert

Read-only

Converts DOCX, XLSX, or PPTX documents using native Microsoft Office COM engine on Windows (DOCX->PDF/HTML/TXT, XLSX->PDF/CSV, PPTX->PDF) with genuine Windows fonts and layout fidelity. [Price: flat $0.03 per conversion; Base: $0.030 USDC via x402 on eip155:8453]

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": {
      "file_url": "<file_url>",
      "source_type": "<source_type>"
    },
    "name": "win_doc_convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_urlYes
source_typeYes
target_formatNopdf

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only supply readOnlyHint=true, so the description carries the rest of the burden — and it does add real context: the native Office COM engine, fidelity claims, and notably a per-call price with the x402/USDC payment rail on eip155:8453, which is operationally significant for an agent. It omits failure behavior, file retention, and whether the payment handshake needs wallet interaction, keeping it below 5.

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?

Two sentences, front-loaded with the capability and format matrix before the cost detail, with no filler. The bracketed pricing tag is slightly stylized/promotional but still earns its place as decision-relevant information.

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 3-parameter tool with no output schema, the definition should say what comes back (a download URL, inline bytes, an artifact id) and how large/which files are accepted; neither is covered. It is adequate to select the tool but leaves an agent guessing at the invocation contract and result handling.

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?

With 0% schema description coverage, the description must compensate, and it does partially by mapping which target formats are valid per source type (XLSX→PDF/CSV, PPTX→PDF only), meaning the target_format enum is effectively constrained in a way the schema does not express. However, file_url is never explained (public URL? size limits? auth?) and the source_type semantics are left implicit.

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 (converts) plus the exact resource set (DOCX/XLSX/PPTX) and enumerates the supported input→output pairs, which implicitly separates it from siblings like win_html_to_pdf and win_office_template_fill. It does not explicitly name a sibling or exclusion, so it stops short of a 5.

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?

The format-pair listing implies when the tool applies (Office document conversion), but there is no explicit when-to-use vs when-not-to-use guidance, no pointer to win_html_to_pdf for HTML sources, and no stated prerequisites such as the Windows/Office host requirement beyond the parenthetical mention.

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.