Skip to main content
Glama

enqueue_revise_scene

Regenerate ALL of one scene's artifacts after its script content changed: re-drafts the storyboard prompt from the CURRENT script text, re-renders the storyboard frame, regenerates the scene's shots (replacing the old ones), and — only when the scene was rendered before — re-renders the scene video, all chained server-side from one call. A scene that never had a video is NOT rendered by this call: the user renders it with enqueue_generate_scene_video when the shots look right. Use when the user confirms they want a scene's visuals updated to match an edited script ("yes, regenerate scene 3", "update the video to match"). One scene per call. Prefer this over manually sequencing enqueue_generate_storyboards / enqueue_generate_shots / enqueue_generate_scene_video for the edited-scene case. Costs image/video credits like the individual steps. On a scene whose finished video still matches its script ("redo scene 5", "try it again"), it starts nothing and the server offers two options with their prices: a new take of the current shots, or new shots. The user chooses one by tapping its button: never confirm either option yourself.

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": "enqueue_revise_scene"
  }
}

Input Schema

NameRequiredDescriptionDefault
movieIdYesThe movie id (uuid) this call operates on. Get it from create_movie or list_movies.
quoteIdNoThe quoteId from the price answer this call confirms. The render starts only while that quote stands: same scene and model, a price no higher, at most 15 minutes old, used once.
sceneIdYesScene id (number) from list_scenes / find_entity.
modelNameNoOnly when the user asks for another video model. Omitted: a scene rendered before is redone on the model it was made on (list_scenes: videoModel), else (a first render, or a free preview take) on the account default.
confirmCostNoLeave unset on the first call: the server answers with the real credit price (continuation parts included), the user's balance and a quoteId instead of starting, and says what to tell the user. Set true ONLY in a later turn, after the user has replied yes to that price, and pass the quoteId with it.
confirmRerenderNoOnly when the scene ALREADY has a finished video and its script and shots have not changed since: set true ONLY if the user's latest message explicitly asks for a NEW render of that scene and they know it costs credits again. "Finish", "complete" or "check" scene N never means re-render. Leave unset otherwise; the price answer says when a render would replace a finished video, and agreeing to that price is enough (no second flag).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses credit consumption, the two-turn price/quote confirmation flow, quote validity constraints (same scene and model, no higher price, 15 minutes, single use), and that a scene with a matching finished video starts nothing. The remaining gap is that it never states what the call returns on success (job id, status), which matters given there is no output schema.

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 core action and its sub-steps, then layered with usage, cost, and edge-case rules in a logical order. It is long and repeats the confirmation protocol in both the paragraph and the schema-adjacent prose, so some tightening is possible, but for a 6-parameter tool with a multi-stage side effect almost every sentence carries information.

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?

Covers the complex conditional logic (render video only if previously rendered), the cost-confirmation lifecycle, the unchanged-scene branch, and the prohibition on auto-confirming options — everything an agent needs to call it correctly and safely. Absent annotations and output schema, this is as complete as the description can reasonably be, short of return-value details.

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

Parameters3/5

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

Schema description coverage is 100% and the parameter descriptions already explain quoteId expiry, confirmCost two-turn flow, confirmRerender semantics, and modelName defaulting. The description reinforces the confirmCost/confirmRerender protocol narratively ("never confirm either option yourself", "Finish, complete or check never means re-render") but adds little per-parameter meaning beyond the schema, so the baseline 3 applies.

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 precise verb and resource ("Regenerate ALL of one scene's artifacts") and enumerates the concrete sub-actions chained server-side: storyboard prompt re-draft, frame re-render, shot regeneration, conditional video re-render. It also explicitly bounds scope ("One scene per call") and distinguishes itself from the manual sequence of sibling generation tools.

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 (user confirms visuals should match an edited script, with sample utterances), an explicit non-trigger (a scene that never had a video is NOT rendered here; use enqueue_generate_scene_video instead), and an explicit preference over manually sequencing enqueue_generate_storyboards / enqueue_generate_shots / enqueue_generate_scene_video. It even handles the unchanged-script case and forbids the agent from choosing between the offered options.

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