Skip to main content
Glama

preview_slides

Convert content into editable slide plans for review before rendering, enabling structured previews and visual enhancements.

Instructions

Convert content into a structured slide plan WITHOUT rendering. Returns editable JSON.

When to call: When the user wants to review or edit slide content before rendering. Also use as the first step in the enhanced workflow (preview → enhance with Gemini → render).

Workflow: Enhanced visuals

  1. Call preview_slides with the content

  2. Review the returned slide plan. Each slide may have an aiSuggestion field

  3. For slides with aiSuggestions, use Gemini MCP tools:

    • generate_svg for diagrams, charts, flowcharts

    • generate_image for hero images, illustrations

    • gemini_chat to rewrite slide copy for punchier hooks

  4. Inject generated SVGs into the slide's customSvg field

  5. Call render_slides with the enhanced plan

Returns: SlidePlan JSON with slides array, sourceTitle, summary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYesArticle text, markdown, or transcript to convert into slides
slideCountNoTarget number of slides (4-12)
sourceUrlNoOriginal URL of the content (for CTA slide)

Tool Definition Quality

Score is being calculated. Check back soon.

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/houtini-ai/carousels-mcp'

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