Skip to main content
Glama

Apdf — PDF Tracking & Analytics

Convert Office file to PDF

convert-office-to-pdf

Convert an Office document to PDF: Word (docx, doc), Excel (xlsx, xls), PowerPoint (pptx, ppt), OpenDocument (odt, ods, odp) or RTF. Always runs asynchronously and returns a job id; poll "check-job-status" or provide "webhook_url" to receive a callback.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesPublicly reachable URL of the Office document to convert.
webhook_urlNoCallback URL invoked when the async job finishes. Omit and poll "check-job-status" instead if no callback endpoint is available.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the sparse destructiveHint=false annotation, the description discloses a key behavioral trait: the call is always asynchronous and yields a job id rather than the converted file. It also explains the callback alternative, which an agent needs to handle the result correctly.

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 front-loaded sentences: the conversion scope first, then the async/return mechanics. Every clause carries information, and format enumeration is compactly grouped.

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?

With no output schema, the description correctly carries the return-value burden by stating a job id is returned and how to retrieve results. Input formats and the callback path are covered, leaving only minor gaps like error behavior or size limits.

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 both parameters are already documented in the schema, including the webhook_url polling trade-off. The description adds the async context but no syntax or format detail beyond the schema, 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 specific verb (Convert) and resource (Office document to PDF) and enumerates the accepted input formats (docx/doc, xlsx/xls, pptx/ppt, odt/ods/odp, RTF). This clearly distinguishes it from siblings like convert-pdf-to-image or convert-pdf-with-ocr.

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 explains the operational flow: always asynchronous, returns a job id, then either poll check-job-status or supply webhook_url. It names the follow-up sibling explicitly, but does not state when this tool is inappropriate (e.g., already-PDF inputs).

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