Skip to main content
Glama

Word Export Pdf

word_export_pdf

Export .docx documents to PDF using the word processor's own engine to preserve layout and page rendering.

Instructions

Export the document to PDF with the word processor's own engine.

Input Schema

NameRequiredDescriptionDefault
pathNo
pdf_pathNo

Output Schema

NameRequiredDescriptionDefault
bytesYes
pdf_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations provided, the description carries the full behavioral burden. It notes use of the word processor's own engine, but does not disclose overwrite behavior, required permissions, handling of null paths, or what happens if the document is not open.

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 description is a single front-loaded sentence with no wasted words. However, its extreme brevity leaves no structure for parameter or behavioral guidance.

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

Completeness2/5

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

The tool has an output schema, so return values need not be described. But with two parameters at 0% schema coverage and no annotations, the description is missing critical details about input paths and export behavior, making it incomplete for reliable invocation.

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

Parameters2/5

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

Schema description coverage is 0%, so both parameters are undocumented in structured fields. The description vaguely implies a source document and PDF destination, but does not explain the roles of 'path' and 'pdf_path', their optionality, or default null behavior.

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 states a specific verb and resource: 'Export the document to PDF.' It is clear what the tool does, though it does not explicitly differentiate itself from sibling tools such as word_save or word_page_count.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives, nor does it mention prerequisites such as whether the document must be open. It only states the operation, leaving usage context to inference.

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