Skip to main content
Glama

create_presentation_from_file

Convert an uploaded document (PDF, Word, PowerPoint, text) into a professional presentation. Choose output format and preservation mode for tailored slides.

Instructions

Convert an uploaded document (PDF, Word, PowerPoint, plain text, markdown, RTF) into a presentation. Use when the caller already has a source document. Max 5 MB after base64 encoding. Supports the same preservation modes as create_presentation_from_content. For pasted raw text use create_presentation_from_content. Returns a job ID; poll check_job_status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_dataYesBase64-encoded file contents. Max 5 MB encoded size.
file_nameYesOriginal filename including extension.
mime_typeYesMIME type of the source document. Must match the file extension.
exportTypeYesOutput format. See create_presentation_from_topic for options.
preservationModeNoHow to handle the content. 'preserve' auto-counts slides; other modes need slideCount.
slideCountNoNumber of slides. Required unless preservationMode is 'preserve'.
topicNoTitle override, or instruction text when preservationMode is 'instruction'.
languageNoISO 639-1 language code. Defaults to 'en'.
domainNoCompany domain for branding context.
target_audienceNoAudience profile.
toneNoVoice and register.
callback_urlNoHTTPS webhook posted when the job finishes.
Behavior4/5

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

With no annotations, the description provides key behavioral details: max size 5 MB, supports preservation modes, returns a job ID, and requires polling. Lacks mention of any destructive side effects, but creation tools typically imply mutation.

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 concise sentences cover all critical points: purpose, usage guidance, constraints, and follow-up steps. No wasted words.

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?

Given 12 parameters (mostly optional) and no output schema, the description covers essential behavioral aspects: size limit, return type, polling, and references to sibling for options. Could mention error handling or example, but sufficient for an experienced agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, baseline 3. Description adds value beyond schema: size limit for file_data, match requirement for mime_type, references to sibling tool for preservationMode and exportType options, and notes on slideCount dependency.

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 'Convert an uploaded document ... into a presentation,' listing supported file types. It distinguishes from sibling tool 'create_presentation_from_content' by noting the different input method.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use: 'Use when the caller already has a source document.' Provides clear alternative: 'For pasted raw text use create_presentation_from_content.' Also mentions polling via check_job_status.

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/slidecraft-in/presentations-ai-mcp-server'

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