Skip to main content
Glama

500Toolbox

PDF to Word

pdf-to-word
Read-onlyIdempotent

Downloads a PDF from a public URL and converts it to DOCX. Page count is capped on the worker (typically 40 pages). Returns the DOCX as base64. Costs 20 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": "pdf-to-word"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileUrlYesPublicly reachable URL of the PDF.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, so the bar is lower, and the description still adds real operational context: a 20-credit cost, a ~40-page worker cap, and base64 return format. It falls short of a 5 because it doesn't say what happens when a PDF exceeds the cap (truncate, error, or silent partial output).

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?

Four short sentences, front-loaded with the core action, then the operational limits an agent needs before calling. Nothing is redundant and nothing is buried.

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 single-parameter conversion tool with no output schema, the description covers input requirement, output encoding (base64), cost, and size limits. It would be complete at 5 with a note on failure behavior for oversized or unreachable PDFs.

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?

The single parameter is fully documented in the schema (100% coverage), including the 'publicly reachable URL' constraint and length bounds. The description restates 'public URL' but adds no new syntax, format, or validation nuance beyond what the schema already provides, so the baseline 3 applies.

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 concrete verb-and-resource pair ('downloads a PDF ... converts it to DOCX') with an unambiguous conversion direction, which cleanly separates it from the reverse-direction sibling word-to-pdf. An agent knows exactly what it produces without opening the schema.

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?

No explicit 'use this instead of X' routing or when-not guidance, but the description embeds usable preconditions: the source must be a public URL and the output is limited to roughly 40 pages. That is implied usage context rather than true selection guidance.

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