Skip to main content
Glama

Update slideshow run

update_slideshow_run

Partially update an existing slideshow run by runId, patching slide copy, layout, style, slots, or brand settings while preserving unspecified fields with revision-safe concurrency.

Instructions

Partially update slide copy, slot bindings, layout, styling, or brand settings of an existing Slideshow Run by runId. Call get_slideshow_run first to obtain current revision and slide data. Do NOT use to create new runs (use create_slideshow_run) or delete runs (use delete_slideshow_run). Safe partial patch: unspecified fields are preserved. Requires baseRevision for optimistic concurrency locking; on revision mismatch returns 409 Conflict (no auto-merge), requiring a fresh get_slideshow_run. To patch a single slide, provide pageIndex (0-indexed) with slots, layout, or style. To update entire deck, provide pack. Returns updated SlideshowRun with incremented revision number.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
packNoUpdated complete content-pack.v1 structure. Overrides entire slide deck when provided.
runIdYesThe unique Slideshow Run identifier to update.
slotsNoKey-value map of slot text/image overrides for the specified pageIndex.
styleNoStyle token adjustments for the specified pageIndex.
layoutNoLayout adjustments for the specified pageIndex.
brandIdNoUpdated Brand ID styling reference applied across slides.
pageIndexNoIndex of a single slide page to patch (0-indexed). Must be paired with slots, layout, style, or decorations.
contentSlugNoUpdated content topic slug.
decorationsNoVisual decorations list for the specified pageIndex.
baseRevisionNoCurrent revision number for optimistic concurrency locking to prevent overwrite races. Must match latest revision from get_slideshow_run.
brandProfileIdNoOptional legacy brand profile ID.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
runIdNoRun identifier.
revisionNoIncremented revision number.
studioUrlNoStudio review URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.1.17
    • changedInput schema / properties / baseRevision / description
      Previous value: -"Current revision number for optimistic concurrency locking to prevent overwrite races."New value: +"Current revision number for optimistic concurrency locking to prevent overwrite races. Must match latest revision from get_slideshow_run."
    • changedInput schema / properties / brandId / description
      Previous value: -"Updated Brand ID styling reference."New value: +"Updated Brand ID styling reference applied across slides."
    • changedInput schema / properties / pack / description
      Previous value: -"Updated complete content-pack.v1 structure."New value: +"Updated complete content-pack.v1 structure. Overrides entire slide deck when provided."
    • changedInput schema / properties / pageIndex / description
      Previous value: -"Index of a single slide page to patch (0-indexed)."New value: +"Index of a single slide page to patch (0-indexed). Must be paired with slots, layout, style, or decorations."
    • changedInput schema / properties / slots / description
      Previous value: -"Key-value map of slot overrides for the specified pageIndex."New value: +"Key-value map of slot text/image overrides for the specified pageIndex."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "revision": {
      +      "description": "Incremented revision number.",
      +      "type": "number"
      +    },
      +    "runId": {
      +      "description": "Run identifier.",
      +      "type": "string"
      +    },
      +    "studioUrl": {
      +      "description": "Studio review URL.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed11 schema fields changedv0.1.16
    • addedInput schema / properties / baseRevision / description
      Added value: +"Current revision number for optimistic concurrency locking to prevent overwrite races."
    • addedInput schema / properties / brandId / description
      Added value: +"Updated Brand ID styling reference."
    • addedInput schema / properties / brandProfileId / description
      Added value: +"Optional legacy brand profile ID."
    • addedInput schema / properties / contentSlug / description
      Added value: +"Updated content topic slug."
    • addedInput schema / properties / decorations / description
      Added value: +"Visual decorations list for the specified pageIndex."
    • addedInput schema / properties / layout / description
      Added value: +"Layout adjustments for the specified pageIndex."
    • addedInput schema / properties / pack / description
      Added value: +"Updated complete content-pack.v1 structure."
    • addedInput schema / properties / pageIndex / description
      Added value: +"Index of a single slide page to patch (0-indexed)."
    • addedInput schema / properties / runId / description
      Added value: +"The unique Slideshow Run identifier to update."
    • addedInput schema / properties / slots / description
      Added value: +"Key-value map of slot overrides for the specified pageIndex."
    • addedInput schema / properties / style / description
      Added value: +"Style token adjustments for the specified pageIndex."
  3. First observedv0.1.13

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already establish readOnly=false, destructive=false, idempotent=false, and openWorld=false, but the description adds substantial context beyond them. It explains that unspecified fields are preserved, that baseRevision is required for optimistic concurrency, that a mismatch returns 409 Conflict with no auto-merge and requires a fresh get_slideshow_run, and that the response increments the revision number.

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 front-loaded with the core action and then proceeds through prerequisites, exclusions, concurrency behavior, and patch modes. Despite covering a complex mutation, every sentence contributes operationally relevant context and there is little or no filler.

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?

For a complex partial-update tool with eleven parameters, nested objects, an output schema, and non-idempotent concurrency semantics, the description covers the necessary operational context. It explains mutation scope, preservation semantics, revision locking, conflict behavior, and return behavior, so the agent has what it needs to call the tool correctly.

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 100%, so the schema already documents all eleven parameters. The description still adds useful semantic relationships beyond the schema, particularly that pageIndex is 0-indexed and must be paired with slots, layout, style, or decorations for single-slide patches, and that pack overrides the entire deck for whole-deck updates.

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 opens with a specific verb and resource: partially update an existing Slideshow Run by runId. It enumerates the mutable aspects (slide copy, slot bindings, layout, styling, brand settings) and explicitly distinguishes this tool from create_slideshow_run and delete_slideshow_run, so an agent can identify it without opening sibling schemas.

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

Usage Guidelines5/5

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

It gives explicit when-to-use guidance: call get_slideshow_run first to obtain the revision and slide data, and do not use this tool to create or delete runs. It also states when to provide pageIndex with slots/layout/style versus when to provide pack for the entire deck, leaving no routing ambiguity.

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