Skip to main content
Glama

insert_scene

Insert a scene with one beat into a kinoscript file, positioned after a given scene ID, at the end of a specified act, or at the script's end.

Instructions

Add a scene (with one beat) after afterSceneId, else at the end of act N (1-based), else at the end.

Input Schema

NameRequiredDescriptionDefault
actNo
fileYesScript file name in the folder, e.g. "fog-signal.kinoscript.json" (from list_scripts).
audioNo
videoNo
headingNoThe scene line, e.g. "the pier, last ferry".
ifUpdatedAtNoOptional: the updated_at you last read. The write is refused if the file changed since.
afterSceneIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden and does contribute the important behavioral facts that a beat is auto-created and that placement follows a fallback chain. It still omits failure behavior, whether the file must exist, what the response contains, and any note on the write-refusal path (ifUpdatedAt lives only in the 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?

A single dense sentence with the placement rule front-loaded and no filler. Minor awkwardness ("after afterSceneId") costs it a point but it is well-sized for the tool's scope.

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 7-parameter mutation tool with no annotations and no output schema, the description covers the placement logic that matters most but leaves the media parameters, error/refusal conditions, and return shape unaddressed. Adequate to invoke successfully in the common case, incomplete for edge cases.

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 only 43%, so the description must compensate; it does add real meaning for act ("1-based") and afterSceneId (used as insertion anchor). But audio, video remain completely unexplained in both schema and description, so the compensation is partial.

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 ("Add a scene") and immediately discloses a non-obvious nesting side effect ("with one beat"). The resource-level distinction from siblings like insert_beat and insert_act is clear from the noun, though no sibling is named explicitly.

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 placement precedence chain (afterSceneId > act N > end) implicitly tells the agent how to steer the call, which is genuinely useful. However, it never says when to choose insert_beat or insert_act instead, and there are no stated preconditions (e.g., file must already exist, scene id must be valid).

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