Skip to main content
Glama

PowerPoint Translator

by daekeun-ml

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEBUGNoEnable debug loggingfalse
AWS_REGIONNoAWS region for Bedrock serviceus-east-1
BATCH_SIZENoNumber of texts to process in a batch20
MAX_TOKENSNoMaximum tokens for translation requests4000
AWS_PROFILENoAWS profile to usedefault
FONT_KOREANNoFont to use for Korean text맑은 고딕
TEMPERATURENoTemperature setting for AI model0.1
FONT_CHINESENoFont to use for Chinese textMicrosoft YaHei
FONT_DEFAULTNoDefault font to useArial
FONT_ENGLISHNoFont to use for English textAmazon Ember
FONT_JAPANESENoFont to use for Japanese textYu Gothic UI
BEDROCK_MODEL_IDNoBedrock model ID for translationus.anthropic.claude-3-7-sonnet-20250219-v1:0
ENABLE_POLISHINGNoEnable translation polishingtrue
AWS_ACCESS_KEY_IDNoAWS Access Key ID (optional if using AWS CLI configuration)
CONTEXT_THRESHOLDNoNumber of texts to trigger context-aware translation5
AWS_DEFAULT_REGIONNoAWS default region (optional if using AWS CLI configuration)
ENABLE_TEXT_AUTOFITNoEnable text autofit in post-processingtrue
AWS_SECRET_ACCESS_KEYNoAWS Secret Access Key (optional if using AWS CLI configuration)
TEXT_LENGTH_THRESHOLDNoText length threshold for post-processing10
DEFAULT_TARGET_LANGUAGENoDefault target language for translationko

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
translate_powerpoint

Translate a PowerPoint presentation to the specified language.

Args: input_file: Path to the input PowerPoint file (.pptx) target_language: Target language code (e.g., 'ko', 'ja', 'es', 'fr', 'de') output_file: Path to save the translated file (optional, auto-generated if not provided) model_id: AWS Bedrock model ID to use for translation enable_polishing: Enable natural language polishing for more fluent translation

Returns: Success message with translation details

translate_specific_slides

Translate specific slides in a PowerPoint presentation.

Args: input_file: Path to the input PowerPoint file (.pptx) slide_numbers: Comma-separated slide numbers to translate (e.g., "1,3,5" or "2-4,7") target_language: Target language code (e.g., 'ko', 'ja', 'es', 'fr', 'de') output_file: Path to save the translated file (optional, auto-generated if not provided) model_id: AWS Bedrock model ID to use for translation enable_polishing: Enable natural language polishing for more fluent translation

Returns: Success message with translation details

get_slide_info

Get information about slides in a PowerPoint presentation.

Args: input_file: Path to the PowerPoint file (.pptx)

Returns: Information about the presentation including slide count and preview of each slide

get_slide_preview

Get a detailed preview of a specific slide's content.

Args: input_file: Path to the PowerPoint file (.pptx) slide_number: Slide number to preview (1-based indexing)

Returns: Detailed preview of the slide content

list_supported_languages

List all supported target languages for translation.

Returns: List of supported language codes and names

list_supported_models

List all supported AWS Bedrock models for translation.

Returns: List of supported model IDs

get_translation_help

Get help information about using the PowerPoint translator.

Returns: Help text with usage examples

post_process_powerpoint

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

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