Skip to main content
Glama

500Toolbox

Word to PDF

word-to-pdf
Read-onlyIdempotent

Downloads a Word-compatible file from a public URL and converts it to PDF with LibreOffice, preserving headings, fonts and layout. Supported uploads: .doc, .docx, .odt, .rtf. The converted PDF is returned as base64. Costs 15 credits per call.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "fileUrl": "<fileUrl>"
    },
    "name": "word-to-pdf"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileUrlYesPublicly reachable URL of the Word/ODT/RTF file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered; the description adds real value beyond that with the output format (base64 PDF), the fidelity claim (headings, fonts, layout preserved) and a per-call cost of 15 credits. It does not cover failure behavior such as unreachable URLs, size limits, timeouts or whether credit is still charged on failure.

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?

Three short sentences, front-loaded with the action and format support, then constraints, then output and cost. Nothing is redundant and every sentence carries information an agent needs.

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?

For a one-parameter tool with full schema coverage and rich annotations, the definition supplies what matters: input source constraints, accepted formats, return format and cost. The only gap is absence of error/limit behavior for a network-dependent conversion, which is minor here.

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% and the single fileUrl property is already documented as a 'publicly reachable URL of the Word/ODT/RTF file', so the description mostly restates the schema. The supported-extension sentence adds only marginal clarity about what the URL may point to.

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 a specific verb (downloads + converts) and resource (Word-compatible file to PDF), and names the concrete supported input formats (.doc, .docx, .odt, .rtf), which cleanly separates it from the pdf-to-word / ppt-to-pdf siblings that run the other direction.

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 'Downloads ... from a public URL' phrasing plus the supported-upload list gives clear conditions for use and implicitly excludes non-Word/ODT/RTF sources. It stops short of explicit when-not guidance or naming an alternative for cases like a non-public/local file, so no exclusion routing is offered.

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