Skip to main content
Glama

convert_file

Convert local documents such as Word, PDF, Excel, PowerPoint, EPUB, RTF, CSV, and OpenDocument files into clean Markdown while preserving tables, headings, lists, and footnotes.

Instructions

Convert a local document file to clean Markdown. Supports Word (.docx/.doc), PowerPoint (.pptx/.ppt), Excel (.xlsx/.xls), OpenDocument (.odt/.ods/.odp), RTF, EPUB, CSV, and PDF. Tables, headings, lists and footnotes are preserved. Fast, fully local — the file never leaves the machine.

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute path to the document file on the local filesystem

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Since no annotations are provided, the description takes full responsibility for behavioral traits. It details performance ('Fast'), security ('fully local - the file never leaves the machine'), and functional quality (preserving tables, headings, lists).

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?

The information is highly condensed and logically ordered: function, capabilities, detailed features, and critical constraint (locality). It achieves maximum information density with minimal waste.

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?

Despite lacking an output schema, the description is extremely complete. It defines the input scope, output format (clean Markdown), and critical behavioral guarantees (preservation of structure and local operation).

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 coverage is 100%, meaning the input schema is perfectly described. The description does not add semantic meaning to the 'path' parameter beyond the file type and local constraint, meeting the baseline for high schema coverage.

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?

The purpose is perfectly clear: convert a local document file into 'clean Markdown.' It specifies the exact action and the desired output format, distinguishing it from generic conversion tools.

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?

The description clearly specifies the context of 'local document file' and its 'fully local' nature. This acts as a strong usage guideline, helping the agent choose this tool over remote or API-based conversion siblings.

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