Skip to main content
Glama

export_document

Export a document to an absolute file path in formats such as PDF, DOCX, ODT, XLSX, ODS, CSV, HTML, or TXT. Specify the format explicitly or infer it from the path extension.

Instructions

Export a document to an absolute path in the given format.

    format examples: pdf, docx, odt, xlsx, ods, csv, html, txt. Inferred from
    the path extension if omitted.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
doc_idYes
formatNo
Install Server

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the disclosure burden. It states the core write behavior and adds the format-inference rule, but does not mention potential overwrites, permissions, document-state requirements, or the return value.

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 concise, front-loaded sentences with no filler. The core operation comes first, and the second sentence adds only necessary format/default details.

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?

The description provides the essential calling details and format default behavior, which is enough for a basic call. But with no annotations and no output schema, the missing usage differentiation and side-effect/return disclosure make it incomplete for confident tool selection.

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?

Schema description coverage is 0%, so the description must compensate. It does for path ('absolute path') and format (examples plus inference from extension), while doc_id is left implicit but its name is self-evident.

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 description names a specific action and resource: 'Export a document to an absolute path in the given format.' It also enumerates concrete formats and explains extension inference, making the tool's scope clear and distinguishable from siblings like save_document or open_document.

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?

Usage context is implied: this is the tool for producing a document file in a specified format at an external absolute path. However, no explicit when-to-use or when-not-to-use guidance is given, and no alternatives are named.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/krondor-corp/libre-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server