Skip to main content
Glama

update_scene

Edit a scene's title, body content, duration or place in the script. Use when the user asks to rewrite or refine a scene. Pass only the fields you want to change. Does NOT regenerate downstream artifacts (storyboard prompt, storyboard image, shots) — those keep their old text until you call the matching enqueue_* tool with replace=true.

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": {
      "movieId": "<movieId>",
      "sceneId": "<sceneId>"
    },
    "name": "update_scene"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoNew scene title.
contentNoNew scene body / screenplay content.
movieIdYesThe movie id (uuid) this call operates on. Get it from create_movie or list_movies.
placeIdNoMove the scene to this place (an id from list_locations), or "none": the scene has no place. Only when the user asked to change where the scene is set. A move makes the scene out of date (its shots and video were made in the old place); the redo is the priced enqueue_revise_scene. Moving a scene to the place it is already in changes nothing.
sceneIdYesScene id (number) from list_scenes / find_entity.
durationNoNew scene duration in seconds.
newPlaceNoMove the scene to a NEW place: its name and a one-line look (for its image, no people). A place of the same name already in the film is reused. Use instead of placeId.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries the burden and does well: it discloses partial-update semantics and, critically, that downstream artifacts keep stale text until an explicit priced re-enqueue. It stops short of stating permissions/auth needs, whether edits are reversible, or how conflicts with in-flight jobs are handled.

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?

Four sentences, front-loaded with the action and editable fields, then usage, then the non-regeneration caveat. Every sentence adds information an agent needs; nothing is restated from the name or schema.

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 seven-parameter mutation tool with a nested object, no annotations, and no output schema, the description covers the important behaviors: patch semantics, side-effect staleness, and the required follow-up call. It does not mention what the call returns or whether unrelated prior renders are affected by title/content-only edits, leaving a small gap.

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 baseline is 3, but the description adds real meaning beyond the schema by declaring that only changed fields should be passed, which defines patch semantics the schema does not express. The placeId vs newPlace choice and its cost implications are handled inside the schema descriptions rather than the tool description.

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 (edit) and resource (scene) plus the exact editable fields: title, body content, duration, place in the script. It also carves out what the tool is not (it does not regenerate storyboard prompt, storyboard image, or shots), so an agent can distinguish it from the enqueue_* siblings without opening a schema.

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?

Gives an explicit trigger ('Use when the user asks to rewrite or refine a scene'), an invocation rule ('Pass only the fields you want to change'), and an explicit exclusion plus the correct follow-up path ('call the matching enqueue_* tool with replace=true'). The agent knows both when to pick this tool and what to do next for downstream artifacts.

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