Skip to main content
Glama

Write a cut into the film

apply_cut

Write a cut script into the film's main track: each cut becomes a clip whose id is the cut's id, playing its clip from its in label to its out label, in the script's order, filling the film's frame or cropped to its crop. fixes applies fixes from the last review_cut_script first. Answers each cut's start and end in film seconds: put music, sound, titles and effects on other tracks, attached to the cuts (at="@C03.start"). The main track's other clips are replaced; a clip already there with a cut's id keeps its transitions, fades and grade. Other tracks stay as they are. It writes only cuts a review_cut_script looked at: a cut added or moved after the last review, or a stretch a review dropped, is sent back for review first; dropping it is also fine, since a shorter film beats one padded with unreviewed shots.

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": {
      "script": "<script>",
      "fixes": "<fixes>",
      "projectId": "<projectId>"
    },
    "name": "apply_cut"
  }
}

Input Schema

NameRequiredDescriptionDefault
fixesYesFix ids from the last review_cut_script (F1, F3) to apply to the script before it is written; null applies none.
scriptYesThe cut script to write into the film.
projectIdYesThe project this call runs on without changing the open project. null (or leaving it out) uses the open project. wait_for_jobs takes the projectId of the calls that started the jobs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior1/5

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

The description discloses rich behavior, including that the main track's other clips are replaced and that same-id clips keep transitions, fades, and grade. However, this directly conflicts with the annotation destructiveHint=false: replacing existing main-track clips is destructive behavior, so the description contradicts the structured hint.

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?

The description is dense but front-loads the main write effect, then covers preservation, track separation, and the review gate. It is appropriately sized for a complex nested script, though the single long paragraph could be structured more clearly.

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

Completeness5/5

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

Given three required parameters with deeply nested objects and no output schema, the description covers the mutation effect, replacement scope, same-id preservation, untouched other tracks, review constraints, and useful return/timing details such as start and end in film seconds and the at= attachment syntax. It is complete enough for an agent to call correctly.

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% and the nested fields are already well documented. The description still adds meaningful integration beyond the schema: cut id becomes clip id, in/out define the played range, crop null fills the film frame, script order controls timeline order, and fixes are applied before writing.

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: writing a cut script into the film's main track. It explains the concrete result — each cut becomes a clip whose id is the cut's id, playing from its in to out label — which clearly distinguishes it from review_cut_script and track-editing siblings.

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

Usage Guidelines5/5

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

It explicitly ties use to a prior review_cut_script, says fixes are applied first, and states that cuts added or moved after review are sent back for review rather than written. It also directs music, sound, titles, and effects to other tracks via at="@C03.start", giving clear alternative placement guidance.

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.