Skip to main content
Glama

pptx_to_template

Read-onlyIdempotent

Turn a PowerPoint (.pptx) from freedailypro into a .potx template (base64) and optionally change its theme: colors is {dk1, lt1, dk2, lt2, accent1..accent6, hlink, folHlink} as six-digit hex, plus headingFont, bodyFont and the theme name. keepSlides all, first or none. format pptx gives a re-themed deck instead. Shapes with their own fixed colour or font do not follow the theme; fixedColorShapes and fixedFontRuns count them. The .potx has been checked in LibreOffice, not in desktop PowerPoint.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "fileBase64": "<fileBase64>"
    },
    "name": "pptx_to_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoThe theme's name
colorsNoTheme colours by key, hex without #
formatNoDefault potx
bodyFontNo
fileBase64YesThe presentation (.pptx), base64 encoded. Up to 50 MB and 500 slides. Old .ppt files and password-protected files are not supported.
keepSlidesNoDefault all
headingFontNo
removeNotesAndAuthorNoRemove notes, comments and the author's name from the kept slides

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

Adds genuinely useful behaviour beyond the readOnly/idempotent annotations: theme inheritance gaps for fixed-colour shapes and fixed font runs, and the caveat that output was validated in LibreOffice rather than desktop PowerPoint. But fixedColorShapes and fixedFontRuns are referenced as if they were outputs with no output schema to confirm that, leaving the agent guessing. No notes on failure modes, size/time behaviour, or what the base64 payload contains.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core transformation, then progressively the theme model, then the slide-retention and caveats. Efficient overall, though the second sentence is a long run-on that crams the colour key list, fonts and theme name into one clause chain.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 8 parameters, a nested object and no output schema, the description covers the transformation and theme model adequately. It falls short on the return side: fixedColorShapes and fixedFontRuns are mentioned without saying they are response fields, and no return shape is described at all. It also omits the size/slide limits that the schema carries for fileBase64.

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 75%, and the description fills a real gap: the colors object is only declared as free-form additionalProperties in the schema, while the description enumerates the exact keys (dk1, lt1, dk2, lt2, accent1..6, hlink, folHlink) and the six-digit hex format. It also clarifies headingFont/bodyFont/name roles and the keepSlides semantics. removeNotesAndAuthor is left entirely to the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb+resource+output format: convert a .pptx into a .potx template (base64), with optional theme re-theming. It distinguishes the potx path from the pptx variant ('format pptx gives a re-themed deck instead'). It never names or differentiates against neighbors like pptx_clean or csv_to_pptx, and the 'from freedailypro' qualifier is unexplained noise.

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

Usage Guidelines4/5

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

Gives clear in-tool branching: choose format=pptx when a re-themed deck is wanted instead of a template, and keepSlides all/first/none controls slide retention. It also flags a real exclusion (shapes with fixed colour/font won't follow the theme) so the agent knows when the result will be partial. No guidance on when to pick this over sibling tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources