Skip to main content
Glama

studio.update_scene

Update a scene's prompt or duration. EDIT-INVALIDATES-ASSET: changing the prompt of a generated scene resets it to pending and drops its footage (a stale render cannot survive a prompt edit) — say so before doing it. With ripple_secondary "shift" (the default) the other lanes follow the footage: time the scene loses at its start or end is cut from every lane at that edge, and time it gains is inserted there, so clips, captions and stickers stay over the frames they were placed on (one that spans that edge is split or stretched). "none" changes the main track alone. Refuses a shift that moves a locked track (unlock it with lock_track, or pass ripple_secondary "none").

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": {
      "project_id": "<project_id>",
      "scene_id": "<scene_id>"
    },
    "name": "studio.update_scene"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptNoNew prompt (optional).
scene_idYes
project_idYesThe studio project (vp_…) this tool acts on.
duration_secondsNoNew duration in seconds (optional).
ripple_secondaryNo"shift" (default) keeps clips, captions and stickers in sync with the scenes; "none" edits the main track alone.shift

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false, so the description carries the real burden and does: it discloses irreversibility of consequence (a prompt edit "resets it to pending and drops its footage"), the exact ripple mechanics at each edge, and refusal conditions tied to locked tracks. This is consequence-level detail an agent could not otherwise infer.

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-loads the action, then the destructive-consequence warning, then ripple semantics, then the refusal — a logical order with no filler. The ripple paragraph is dense (nested parentheses, quoted enum values) and slightly heavy for a single tool, but every clause conveys operative behavior.

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 mutation tool with no output schema and partial annotation coverage, the description supplies what an agent needs to call it safely: side effects, data loss, ripple effects on secondary lanes, and failure/refusal handling with remediation. Nothing material is missing.

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 80%, so baseline is 3; the description goes further by explaining the mechanism behind ripple_secondary "shift" (time lost at an edge is cut from every lane, gained time inserted, spanning clips split or stretched) whereas the schema only says "keeps clips, captions and stickers in sync." The prompt and duration_seconds parameters get no added semantics beyond the schema, which holds it back from a 5.

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?

States a specific verb and resource plus the exact editable fields ("Update a scene's prompt or duration"), which cleanly separates it from neighbors like studio.update_clip or studio.update_text_overlay. It never names a sibling tool by name (e.g. trim_scene vs. duration change), so differentiation is inferred rather than explicit.

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 a clear precondition ("changing the prompt of a generated scene") with a required agent action ("say so before doing it"), and offers an explicit alternative path when a shift is refused: "unlock it with lock_track, or pass ripple_secondary 'none'." It does not compare against duration-editing siblings such as trim_scene, leaving one routing question unanswered.

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