Skip to main content
Glama

Create Scene

create_scene

Create a scene file in scenes/ and register it in composition.json, with frame duration derived from audio segment timing for narration-driven videos.

Instructions

Create a new scene file in scenes/ and register it in composition.json. For narration-driven videos, set durationFrames from audio segment timing: durationFrames = Math.ceil((segmentEndTime - segmentStartTime) * fps) After creating, remind the user to check the preview.

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": {
      "projectPath": "<projectPath>",
      "sceneId": "<sceneId>",
      "sceneName": "<sceneName>",
      "sceneType": "<sceneType>",
      "durationFrames": "<durationFrames>"
    },
    "name": "create_scene"
  }
}

Input Schema

NameRequiredDescriptionDefault
propsNo
objectsNo
sceneIdYesUnique scene ID, e.g. 'scene-001'
sceneNameYesHuman-readable name, e.g. 'intro'
sceneTypeYes
transitionNo
projectPathYes
durationFramesYesDuration in frames. At 30fps: 30=1sec, 90=3sec
audioSegmentIdsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It usefully discloses the dual write effect (scene file plus composition.json registration) and a required user reminder, but says nothing about collision behavior when a sceneId already exists, ordering/reindexing side effects, failure modes, or permissions. For a multi-file mutation tool this leaves significant behavioral gaps.

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 purpose, then the derivation rule, then the follow-up reminder — every sentence adds something. Minor deduction for the awkward mid-sentence line break in the formula sentence, which slightly hurts scanability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter mutation tool with nested transition objects, no annotations, and no output schema, the description covers purpose and one key parameter but omits how props/objects/transition should be shaped and what the tool returns or how failures appear. Adequate, not complete.

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 coverage is low at 33% across 9 parameters, so the description needs to compensate. It does add real meaning for durationFrames by giving the frame-conversion rule from audio segment timing, but props, objects, transition, audioSegmentIds, and projectPath remain undocumented in both schema and description.

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 non-obvious side effect: it creates a file in scenes/ AND registers it in composition.json. That two-part effect clearly separates it from update_scene or delete_scene. It does not name any sibling explicitly, so it falls just short of 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The narration-driven formula implies when this tool is appropriate (building scenes from audio segments) and the closing line gives a post-use workflow step. However, there is no when-not-to-use guidance and no pointer to update_scene or add_overlay for modifying an existing scene, leaving the alternative selection implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.