Skip to main content
Glama

Docx To Udf

docx_to_udf

Converts Word .docx files into local .udf files while preserving bold, italic, tables, and indentation. Use it to prepare UYAP-compatible documents from existing Word drafts.

Instructions

Word (.docx) dosyasını yerel .udf dosyasına çevirir; kalın, italik, tablo ve girinti korunur.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameNoHedef .udf adı. Boşsa aynı isim.
docx_pathYesKaynak .docx yolu
output_dirNoKlasör. Boşsa ./cikti

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses that bold, italic, tables and indentation are preserved, which is real behavioral content beyond the schema, but it says nothing about overwrite behavior, error handling for malformed .docx, or file-size limits.

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?

A single tight sentence with the purpose front-loaded and the preservation guarantee appended. No filler, though the preservation clause could arguably be its own detail rather than crammed after a semicolon.

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?

With 100% schema coverage and an output schema present, the description need not explain return values or parameters. It covers the core transformation and its fidelity guarantees, leaving only error/overwrite behavior unaddressed.

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 all three parameters (docx_path, filename, output_dir) and their defaults are already documented in the schema. The description adds no further parameter detail, so the baseline 3 applies.

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 and resource: converts a Word (.docx) file into a local .udf file, and lists the formatting that survives the conversion. This clearly distinguishes it from siblings like udf_yaz/udf_oku, though it does not name any sibling explicitly.

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 usage context is implied by the input/output format pair (you have a .docx and need a .udf), but there is no explicit when-to-use statement, no prerequisite conditions, and no mention of alternatives such as udf_yaz. Adequate but leaves the routing to inference.

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