Skip to main content
Glama

PowerPoint Translator

by daekeun-ml

post_process_powerpoint

Optimize PowerPoint text boxes by enabling text wrapping and auto-fitting for content exceeding a specified length threshold. Simplify slide formatting with automated post-processing.

Instructions

Apply post-processing to a PowerPoint presentation to optimize text boxes.

This function enables text wrapping and shrink text on overflow for text boxes that contain text longer than the specified threshold.

Args: input_file: Path to the input PowerPoint file (.pptx) output_file: Path to save the processed file (optional, auto-generated if not provided) text_threshold: Text length threshold for enabling auto-fit (overrides .env setting) enable_autofit: Enable text auto-fitting (default: True)

Returns: Success message with post-processing details

Input Schema

NameRequiredDescriptionDefault
enable_autofitNo
input_fileYes
output_fileNo
text_thresholdNo

Input Schema (JSON Schema)

{ "properties": { "enable_autofit": { "default": true, "title": "Enable Autofit", "type": "boolean" }, "input_file": { "title": "Input File", "type": "string" }, "output_file": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Output File" }, "text_threshold": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Text Threshold" } }, "required": [ "input_file" ], "type": "object" }

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/daekeun-ml/ppt-translator'

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