Skip to main content
Glama

Add a scene

add_scene
DestructiveIdempotent

Insert one scene using the supported scene shape returned by get_project_context; after null inserts it at the start. Read get_project_context first and pass its base_version and selected output_id. Saves a playable project; request a file separately with check_video with_download. Unsupported changes refuse without rebuilding. Preserve operation_id and exact inputs on retries. Uses the account's direct-edit allowance. Cost: Free: no credits.

Input Schema

NameRequiredDescriptionDefault
afterYesThe scene it follows; null for the start.
sceneYesThe new scene, shaped like the others.
video_idYesThe video id from list_videos.
output_idNoOne output (a hook, a Short, a format) from check_video; the main film when left out.
base_versionNoThe version the edits are for; the current one when left out.
operation_idNoA stable ID for this request. Preserve it on retries. Use a new ID only for a deliberate new request.

Output Schema

NameRequiredDescriptionDefault
codeNo
costNo
errorNo
stateNo
statusNo
dry_runNo
messageNo
plan_idNo
style_idNo
video_idNo
availableNo
import_idNo
output_idNo
studio_urlNo
version_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Adds real context beyond annotations: saves a playable project, unsupported changes refuse without rebuilding, retries must reuse operation_id and exact inputs, consumes the account's direct-edit allowance, and is free of credits. It doesn't spell out what state is overwritten or what the destructive mutation affects, which would complete the picture for a destructiveHint=true tool.

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 and dense with useful facts; most clauses earn their place. The semicolon-chained phrasing and 'Cost: Free: no credits' are slightly awkward, but nothing is padding.

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?

Given an output schema exists, return values needn't be described. For a destructive, versioned mutation it covers prerequisites, failure mode, retry behavior, and billing. It leaves the direct-edit allowance's limits and the precise 'unsupported changes' condition implicit.

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. The description still adds value by naming the source of the scene shape (get_project_context), specifying which output_id and base_version to pass, and reinforcing retry semantics for operation_id.

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+resource ('Insert one scene') and a concrete placement rule ('after null inserts it at the start'), which separates it from move_scene, remove_scene, and replace_scene_screen. An agent can identify the operation without opening 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?

Explicit prerequisites: 'Read get_project_context first and pass its base_version and selected output_id', and it routes file generation to 'check_video with_download'. It doesn't explicitly say when to prefer siblings like replace_scene_screen or how it differs from move_scene, but the workflow context is strong.

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