Skip to main content
Glama
pdf4me
by pdf4me

convert_pdf_to_powerpoint

Convert a local PDF file into an editable PowerPoint (PPTX) presentation. Provide the file path and optionally set quality, language, OCR, and merge preferences.

Instructions

Convert a local PDF file to PowerPoint (PPTX) using the PDF4me ConvertPdfToPowerPoint API. Provide the file path to the PDF. Options: quality (Draft/High), language, OCR when needed, merge_all_sheets, and optional output path. Output is always PPTX.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
languageNoDocument language hint for OCR/extraction.English
file_pathYesLocal path to the PDF file to convert.
output_dirNo
quality_typeNoDraft or High quality for extraction.Draft
ocr_when_neededNoEnable OCR when the API determines it is needed.
merge_all_sheetsNoMerge content into a single presentation when supported.
output_file_nameNo
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that the output is always PPTX and mentions the availability of options, but it does not explain side effects (e.g., whether the input file is modified), output handling when no path is given, or network/API behavior. Some context is added beyond the schema, but significant gaps remain.

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 description is concise and front-loaded with the primary purpose. Each sentence contributes useful information: purpose, how to specify the input, available options, and guaranteed output format. There is no wasted language.

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?

Given no output schema and 7 parameters, the description provides a clear overview but lacks detailed semantics for output placement (output_dir, output_file_name) and what happens on successful conversion. It states the output format but does not describe where or how the result is returned. Adequate for a basic understanding, but incomplete for fully confident invocation.

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 schema covers 71% of parameters with descriptions. The description restates several option names (quality, language, OCR, merge_all_sheets) and mentions an optional output path, but it does not provide extra detail about the two undocumented parameters (output_dir, output_file_name) or their defaults. It adds marginal value over the schema, so baseline 3 is appropriate.

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 clearly states the tool converts a local PDF file to PowerPoint (PPTX), using a specific verb and resource. It distinguishes from sibling conversion tools (e.g., convert_pdf_to_excel, convert_pdf_to_word) by explicitly targeting PPTX output.

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 implies the usage scenario: converting PDF files to PowerPoint. It provides context by mentioning the file path and output format, but does not explicitly name alternatives or exclusions. The purpose is clear enough for an agent to select it appropriately.

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

Install Server

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/pdf4me/pdf4me-mcp'

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