Skip to main content
Glama

Reorder Scenes

reorder_scenes

Change the order of video scenes by supplying scene IDs in the desired sequence, then recalculate startFrame values and regenerate Root.tsx.

Instructions

Change the order of scenes. Provide the new order as an array of scene IDs. Recalculates all startFrame values and regenerates 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>",
      "sceneOrder": "<sceneOrder>"
    },
    "name": "reorder_scenes"
  }
}

Input Schema

NameRequiredDescriptionDefault
sceneOrderYesOrdered array of scene IDs in desired sequence
projectPathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose two concrete side effects: recalculating all startFrame values and regenerating Root.tsx. However, it omits critical behavioral details such as whether sceneOrder must list every scene, what happens to scenes omitted from the array, and whether the operation is reversible.

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?

Three short sentences, each earning its place: purpose, input requirement, and side effects. The core action is front-loaded with zero filler.

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 mutation tool with no annotations and no output schema, the description covers purpose, input shape, and side effects, but leaves meaningful gaps: whether the array must be exhaustive, how unlisted scenes are treated, and what projectPath expects. It is adequate but 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 50%: sceneOrder is documented in the schema and the description reinforces it as the desired ordering. The projectPath parameter has no schema description and receives no explanation in the description, leaving its expected format unaddressed.

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?

The description states a specific verb and resource ('Change the order of scenes'), which is clearly distinct from siblings like update_scene, create_scene, and delete_scene. It does not explicitly name a sibling to contrast against, but the operation is unambiguous.

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 when-to-use or when-not-to-use guidance and no alternatives are named (e.g., when to use update_scene instead). The instruction 'Provide the new order as an array of scene IDs' is a parameter hint rather than situational guidance.

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