DeckFlow Logo Developers DeckFlow documentation
Developer GuideAPI ReferenceMCPCLI

MCP Examples

Example prompts and expected tool flows for agents using DeckFlow MCP.

These examples are written as product documentation drafts. Tool names and parameters are placeholders until the final MCP schema is confirmed.

Create A Deck From Research Material

User prompt:

Use DeckFlow to turn this research PDF into a 12-slide investor-ready deck.
Keep technical charts readable, use a concise executive tone, and export PPTX.

Expected agent flow:

  1. Confirm the attached file is a supported Create source.
  2. Call create_deck with the source file, requested slide count, audience, tone, and PPTX output.
  3. Poll get_task until the task completes.
  4. Return the PPTX temporary download link and mention any warnings, such as missing fonts or chart fidelity issues.

Parameters the user or agent should provide:

ParameterExample
source_typefile
sourceAttached PDF
slide_count12
audienceinvestors
toneexecutive, concise
output_formatpptx

Create A Deck From A URL

User prompt:

Create a short product overview deck from this URL and export both PPTX and PDF.

Expected agent flow:

  1. Check whether URL import is supported.
  2. Call create_deck with source_type=url.
  3. Request multiple output formats if supported, or run export after creation.
  4. Return both temporary download links.

Parameters still to define:

ParameterOpen Question
source_urlAre public URLs only supported, or can authenticated pages be imported?
output_formatCan one task return multiple formats?
crawl_depthIs URL import limited to one page or can it follow links?

Revamp An Existing Deck

User prompt:

Use DeckFlow to revamp this PPTX with our saved Brand DNA.
Do not rewrite the content. Keep the final output editable.

Expected agent flow:

  1. Call list_brand_profiles if the user does not specify a Brand DNA profile.
  2. Call revamp_deck with the selected brand profile and preserve_content=true.
  3. Poll task status.
  4. Return the editable output file as a temporary download link.

Parameters the user or agent should provide:

ParameterExample
fileAttached PPTX
style_modebrand_dna
brand_profile_idSelected profile
preserve_contenttrue
output_formatpptx

Translate Without Breaking Layout

User prompt:

Translate this Keynote deck into Japanese.
Keep the layout intact and use our product glossary.

Expected agent flow:

  1. Validate that Keynote input is supported.
  2. Call list_glossaries if the user does not name a glossary ID.
  3. Call translate_deck with target language and glossary.
  4. Poll until complete.
  5. Return the translated file as a temporary download link, along with any layout warnings.

Parameters the user or agent should provide:

ParameterExample
fileAttached Keynote file
target_languageja
glossary_idSelected glossary
preserve_layouttrue
output_formatSame as input, if supported

Convert HTML To PPTX

User prompt:

Use DeckFlow to convert this HTML page into an editable PowerPoint deck.

Expected agent flow:

  1. Use convert_file with operation=html_to_pptx.
  2. Pass either uploaded HTML or pasted HTML content.
  3. Return the generated PPTX as a temporary download link.

Parameters the user or agent should provide:

ParameterExample
operationhtml_to_pptx
file or contentHTML file or pasted HTML
output_formatpptx

Extract Text Shapes From PPTX

User prompt:

Extract all text boxes from slides 3 through 10 of this PPTX and return structured JSON.

Expected agent flow:

  1. Call extract_file_content with operation=pptx_text_extractor.
  2. Set page_range or slide_range to slides 3 through 10.
  3. Request structured output.
  4. Return JSON or a downloadable JSON file.

Parameters still to define:

ParameterOpen Question
page_range vs slide_rangeWhich name should the API/MCP use consistently?
include_coordinatesShould shape positions be returned by default?
output_formatInline JSON response or generated JSON file?

Merge Several PPTX Files

User prompt:

Merge these three PPTX files in the order uploaded.
Keep each deck's original formatting as much as possible.

Expected agent flow:

  1. Preserve the upload order or ask the user to confirm ordering.
  2. Call compose_files with operation=pptx_merge.
  3. Poll until complete.
  4. Return the merged deck as a temporary download link.

Parameters the user or agent should provide:

ParameterExample
operationpptx_merge
filesOrdered PPTX file references
preserve_stylestrue
output_nameOptional filename

Compress A Delivery Package

User prompt:

Compress this PPTX so I can email it, but keep image quality high.

Expected agent flow:

  1. Call optimize_file with operation=file_compress.
  2. Choose a conservative compression preset.
  3. Return the compressed file as a temporary download link, plus before/after size if available.

Parameters still to define:

ParameterOpen Question
qualityPreset enum or numeric value?
target_size_mbShould the user be able to request a max size?
size_reportShould the result include before/after byte size?

Agent Behavior Guidelines

Agents should ask a follow-up question when:

  • The source file is missing.
  • The user requests a Brand DNA profile, template, or glossary but has not specified which one and no default exists.
  • The output format is unsupported or ambiguous.
  • The task could overwrite or delete an existing workspace asset.
  • Multiple files are attached and ordering matters.

Agents should proceed without extra questions when:

  • The user attached exactly one compatible file.
  • The requested operation and output format are clear.
  • DeckFlow capabilities can be discovered through get_deckflow_capabilities.
  • Sensible defaults are defined by the final schema.

Example Capability Discovery Prompt

Use DeckFlow MCP to inspect available capabilities, then tell me which operations support PPTX input and which output formats each one can produce.

Expected agent flow:

  1. Call get_deckflow_capabilities.
  2. Filter capabilities where input formats include PPTX.
  3. Summarize supported outputs and limits.