Skip to main content
Glama

convert_file_to_word

Idempotent

Convert one PDF or image directly to a Word document (DOCX).Use this tool whenever mathematical or table formulas must be extracted; do not transcribe formulas manually.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_urlYestemporary HTTPS download URL for the PDF or image supplied by the Agent platform
idempotency_keyYesunique key reused only when retrying this exact operation

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
task_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and idempotentHint=true. The description adds that it converts 'directly' and handles one file, but does not disclose details about file creation, input preservation, or potential side effects. This is acceptable given the annotations cover the safety/idempotency profile.

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 sentences with zero superfluous content. The core action is front-loaded, followed by a targeted usage guideline. The missing space after 'DOCX).Use' is a minor typo that does not affect clear understanding.

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?

Given the tool's simplicity, full schema coverage, output schema presence, and annotations, the description covers purpose and usage adequately. It could mention limitations like file size or accepted image formats, but these are not essential for safe invocation.

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%: both file_url and idempotency_key are fully described in the schema. The description adds no parameter-specific meaning, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States the exact function: converts a PDF or image directly to a DOCX. The specific verb 'Convert', the resource 'PDF or image', and target 'Word document (DOCX)' make it clearly distinguishable from sibling conversion tools like convert_file_to_excel and convert_file_to_markdown.

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

Usage Guidelines5/5

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

Explicitly instructs when to use this tool ('whenever mathematical or table formulas must be extracted') and provides a when-not by warning against manual transcription. This gives an agent a concrete decision rule without needing to inspect sibling tools.

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