Skip to main content
Glama

rearrange_slides

Rearrange PowerPoint slides by reordering, duplicating, or deleting them using a custom sequence of indices to create customized presentations.

Instructions

Rearrange slides in a PowerPoint presentation. Can duplicate, delete, and reorder slides based on a sequence of indices. Slide indices are 0-based. The same index can appear multiple times to duplicate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
template_pathYesPath to the template/input PowerPoint file
output_pathYesPath for the output PowerPoint file
slide_sequenceYesComma-separated slide indices (0-based), e.g., '0,34,34,50,52'
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It explains the core functionality (rearranging, duplicating, deleting) and index format (0-based), but lacks critical details like whether the operation modifies the original file (it doesn't, based on separate input/output paths), error handling for invalid indices, or performance implications for large presentations. This leaves significant gaps for a mutation tool.

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?

The description is extremely concise and front-loaded, with every sentence earning its place. The first sentence states the core purpose, the second explains capabilities, and the third clarifies technical details—all without redundancy or fluff. It efficiently communicates essential information in three sentences.

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

Completeness2/5

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

For a mutation tool with no annotations and no output schema, the description is incomplete. It covers the basic operation but misses important context like whether the tool is idempotent, what happens to the original file, error conditions, or output format. Given the complexity of slide manipulation and lack of structured safety hints, more behavioral details are needed.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents all three parameters thoroughly. The description adds value by clarifying that slide indices are 0-based and can repeat for duplication, which provides context beyond the schema's technical definitions. However, it doesn't explain parameter interactions or edge cases, meeting the baseline for high schema coverage.

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 the specific action ('rearrange slides'), resource ('PowerPoint presentation'), and scope ('duplicate, delete, and reorder slides based on a sequence of indices'). It distinguishes itself from sibling tools like 'create_presentation' or 'apply_text_replacements' by focusing on slide manipulation rather than creation or content editing.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing an existing presentation), exclusions (e.g., not for creating new slides), or comparisons to siblings like 'create_presentation' for new files or 'extract_text_inventory' for analysis. Usage is implied but not explicitly defined.

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/shjanjua/pptx-mcp-server'

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