Skip to main content
Glama

Update Video Workflow

update_video_workflow
Destructive

Revise one preview of a saved video workflow (a swap_video_characters session) using session_id and the current expected_version, or redo all previews from the original frames with scope=all. Free, up to 12 changes per swap. The swap then waits in Review again with the updated previews; if a video was already rendered, rendering again is a new paid render. Refused while the render is running. source_video_job_id is accepted for compatibility: sources are fitted automatically, so it changes nothing. video_model changes are not supported. Returns the updated state and version.

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": {
      "session_id": "<session_id>",
      "expected_version": "<expected_version>"
    },
    "name": "update_video_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeNoUpdate one frame (default) or redo every preview from the original source frames.
sourceNoRefine the previous preview, or restart from the original source frame to fix pose, anatomy, crop or background drift. Defaults to previous.
changesNoWhat to change in that preview, in plain words.
session_idYesThe session ID from the workflow’s result, for example a swap_video_characters result.
skills_usedNoOptional workflow analytics: names of the skills (or skill/reference paths) followed for this call. Stored with generation jobs only. Never include private data, local paths or media URLs.
video_modelNoNot supported: only Seedance 2.5 renders swaps, so these values return an error.
preview_indexNoWhich preview to change, counting from 0 in the result’s previews list.
expected_versionYesThe version from the latest result for this session. A stale version is refused so a newer change is never overwritten; check_job with the session ID returns the current one.
source_video_job_idNoAccepted for compatibility: sources are fitted automatically, so it is never needed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: the free allowance (up to 12 changes per swap), that the swap returns to Review rather than rendering, that a re-render is separately paid, that the call is blocked during an active render, and that stale versions are refused to protect concurrent edits. It also flags two dead parameters (source_video_job_id, video_model) so the agent does not waste a call on them. This is exactly the mutation-cost and failure-mode disclosure destructiveHint=true implies but cannot spell out.

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?

Tight and front-loaded: the primary action and its two modes come first, then cost and blocking caveats. It is dense with load-bearing facts and nearly free of filler, though the run-on sentence packing scope, cost, review state and the paid re-render into one line could be split for scanability.

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 nine-parameter mutating workflow tool with no output schema, the description covers what changes, what it costs, what state the swap lands in, what is refused, and that the call returns updated state and version. An agent has enough to invoke it correctly and to explain the outcome.

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 description coverage is 100%, so the baseline is 3, but the description adds cross-parameter behavior the schema cannot: the coupling of session_id plus current expected_version, the choice between refining and redoing previews, and the fact that source_video_job_id and video_model change nothing. Some of this duplicates the schema wording, keeping it below a 5.

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: 'Revise one preview of a saved video workflow (a swap_video_characters session)', and immediately names the alternative mode (scope=all redoes every preview). The parenthetical explicitly ties it to the sibling that creates the session, so an agent can place it in the workflow without reading the schema.

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 conditions: default revises a single preview, scope=all redoes everything, and the call is 'Refused while the render is running'. It also warns that re-rendering an already-rendered video is a new paid render, which is directly actionable. It stops short of naming other tools for adjacent tasks, but the when-to-use context is clear.

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.