Skip to main content
Glama

Change blocks on several slides

edit_slides

Change blocks on many slides in one step (and one version in the history). "edits" is a list of {"slide_id", "add", "update", "delete", "at_bottom", "base_version"}; on its slide each item adds new blocks ("add": [{"type", "props"}], on top or with "at_bottom": true under the others), changes the given props of blocks ("update": [{"id" | "ids": [...] | "inside": , "props"}]) and deletes blocks ("delete": [ids]). Nothing is changed when one item is wrong (or its slide changed meanwhile). Returns the changed slides.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesThe presentation's slug (its address: /movie/<slug>/).
editsYesUp to 100 items: [{"slide_id", "add"?, "update"?, "delete"?, "at_bottom"?, "base_version"?}].
responseNo"brief" (default): only the ids, numbers and types of the slides and blocks; "full": every prop of every block too.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
slidesYesThe changed slides.
layout_warningsNoHow the changed slides will probably look: texts too long for their blocks, blocks outside the slide, texts over each other (estimated -- look at them).
missing_translationsNoWhat is not translated yet into the other languages of the site (add it): the first ones; "missing_translations_count" says how many there are.
missing_translations_countNoHow many texts are not translated yet.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing atomicity ('Nothing is changed when one item is wrong'), optimistic-concurrency behavior ('or its slide changed meanwhile'), and the version-history effect. These are non-obvious traits not derivable from readOnlyHint/destructiveHint, and they do not conflict with destructiveHint=false since deletes are recoverable through the created version.

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 one-step value proposition and otherwise dense with essential semantics; there is some packing of three operations into a single sentence, but no filler sentences.

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

Completeness5/5

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

A high-complexity batch mutation tool whose gotchas (atomicity, concurrency check, history version, response verbosity) are all covered; return values are further backed by an output schema, so nothing critical is missing.

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

Parameters5/5

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

The schema types `edits.items` only as a generic object, and the description compensates fully by spelling out the item keys (slide_id, add, update, delete, at_bottom, base_version) and the semantics of add placement, update targeting (id/ids/inside), and delete. Without it, the array would be opaque.

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?

Specific verb+resource+scope: 'Change blocks on many slides in one step (and one version in the history)'. The batch scope implicitly distinguishes it from edit_blocks/update_slide, but no sibling is named explicitly, so an agent must infer that edit_blocks is the single-slide variant.

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

Usage Guidelines3/5

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

The 'in one step' phrasing implies this is the batch alternative to single-slide editing and surfaces the versioning advantage, but there is no explicit when-to-use/when-not statement or named alternative among the many sibling write tools (edit_blocks, update_slide, add_slide, reorder_slides).

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