Skip to main content
Glama

Edit presentation

edit_deck
Destructive

Edit a presentation with a batch of ops, and optionally rename it (name). add_slide / replace_slide take a layout and its slots, and Draftt places everything on the 1920x1080 slide. Also delete_slide, move_slide, set_background, set_hidden (a hidden slide stays in the deck but is skipped when presenting and on public links), and for fine adjustments add_element / update_element / delete_element (boxes in slide px; a line shape can carry arrowheads; type chart adds a real, editable chart: column, bar, line, area, pie or donut). get_deck gives the slide ids. The response lists warnings for every slide touched (overflow, overlaps, text off the slide).

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": {
      "deck_id": "<deck_id>"
    },
    "name": "edit_deck"
  }
}

Input Schema

NameRequiredDescriptionDefault
opsNoApplied in order, no rollback. On failure the response says which ops applied so you can retry only the rest.
nameNoRename the presentation
themeNoDeck colors and fonts for layout slides. Pass the same theme on every call that builds slides of one deck.
deck_idYesPresentation to edit

Output Schema

NameRequiredDescriptionDefault
dataYes
actionYes
changedNo
resourceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true, so the safety burden is partly carried. The description adds genuinely non-obvious behavior: a hidden slide stays in the deck but is skipped when presenting and on public links, everything is placed on a 1920x1080 canvas, elements are positioned in slide px, and the response lists warnings for every touched slide (overflow, overlaps, text off the slide). It does not repeat the critical 'applied in order, no rollback, partial-failure reporting' contract, which is buried in the ops schema rather than the description.

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 verb and batch concept, then a logical op inventory followed by response behavior — no filler sentences. The parenthetical cascade (chart types, arrowheads, slide px) makes it a dense run-on that takes effort to parse, but each clause carries information an agent needs.

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?

For a ten-op batch mutation tool with nested layouts, this is close to complete: it explains slide authoring, element authoring, hidden semantics, and the warning channel, and the output schema covers return shape. Gaps are the atomicity/no-rollback contract and the theme parameter, both of which matter for correct multi-call deck building and are only discoverable in the schema.

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 deck_id, name, theme and every op field in detail, and the baseline is 3. The description adds a little: 'optionally rename it (name)' and the get_deck pointer for slide ids. The important theme parameter and its cross-call consistency rule are left entirely to the schema, so the description does not materially extend parameter meaning.

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?

States a specific verb and resource ('Edit a presentation with a batch of ops') and then enumerates the entire op vocabulary (add_slide, replace_slide, delete_slide, move_slide, set_background, set_hidden, add_element, update_element, delete_element), so an agent knows exactly what surface it covers. It also distinguishes the layout-driven path from the element-level path, and points to get_deck as the source of slide ids.

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?

'for fine adjustments add_element / update_element / delete_element' and the contrast with layout+slots slides gives real routing guidance between the two editing modes, and 'get_deck gives the slide ids' tells the agent the prerequisite call. It stops short of explicit exclusions (when to use create_deck or edit_board/edit_doc instead, or when not to touch a deck at all).

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