Skip to main content
Glama

Delete Scene

delete_scene

Remove a scene from a Remotion project by deleting its .tsx file, updating composition.json and Root.tsx, and recalculating startFrame for later scenes.

Instructions

Delete a scene. Removes the .tsx file, removes the entry from composition.json, recalculates startFrame for all subsequent scenes, and updates Root.tsx.

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>"
    },
    "name": "delete_scene"
  }
}

Input Schema

NameRequiredDescriptionDefault
sceneIdYesID of the scene to delete
projectPathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden; it discloses meaningful side effects including file removal, composition.json entry removal, startFrame recalculation, and Root.tsx updates. It still omits irreversibility, undo behavior, error conditions (e.g., missing scene), and permission requirements, keeping it short of a 5.

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?

The response is two sentences, front-loaded with the core action and followed by a compact list of side effects. Every clause adds relevant information, and there is no redundant or filler wording.

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?

The description is complete enough to understand the cascading file operations, which is valuable for a destructive multi-file tool. However, with no annotations, no output schema, and one undocumented parameter, it leaves out operational details an agent would need, such as error handling, irreversibility, and what projectPath should contain.

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

Parameters2/5

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

Schema description coverage is only 50%, and the description itself adds no meaning for either parameter. The sceneId is at least described in the schema, but projectPath is undocumented in both places; the description does not compensate for this gap.

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?

The description states a specific verb and resource ("Delete a scene") and immediately enumerates the concrete artifacts affected: the .tsx file, composition.json, subsequent startFrame values, and Root.tsx. This clearly distinguishes it from create_scene, update_scene, and overlay-related siblings.

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

Usage Guidelines2/5

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

There is no explicit guidance on when to use this tool versus alternatives, nor any prerequisites or exclusions. The only usage signal is the imperative "Delete a scene"; an agent must infer the context from the name and sibling list.

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