Skip to main content
Glama

trim_clip

Adjust a clip's in or out edge by a set number of seconds or frames; use ripple trimming to shift later clips and close gaps.

Instructions

Move a clip's in or out edge. Positive delta moves the edge later. Regular trim leaves a gap; ripple trim shifts later clips.

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": {
      "clip": "<clip>",
      "edge": "<edge>"
    },
    "name": "trim_clip"
  }
}

Input Schema

NameRequiredDescriptionDefault
clipYesTimeline clip id (from list_timeline)
edgeYes
deltaNoEdge offset in seconds (negative = earlier)
rippleNo
projectNoPath to the .fcproj project file; omit to edit the FilmCraft app connected with connect_app
deltaFramesNoEdge offset in frames, instead of delta

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and openWorldHint=false, so the description carries the burden of mutation semantics, and it does disclose the important downstream effect of ripple mode shifting later clips. It doesn't mention saving the project, undo behavior, or what happens if the trim would invalidate the clip.

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, front-loaded with the action, then the delta convention, then the ripple distinction. No filler and nothing repeated from structured fields unnecessarily.

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

Completeness4/5

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

For a six-parameter mutation tool with no output schema, the description covers the action, direction convention, and the ripple/regular tradeoff well. Minor gaps remain around failure modes and persistence, but an agent can call it correctly from this plus the schema.

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 67% and the schema already documents clip, delta, deltaFrames, and project. The description adds meaning the schema lacks by stating the positive-delta direction and, crucially, the semantics of the ripple flag, which has no description in the schema beyond a false default.

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 opens with a precise verb+resource: "Move a clip's in or out edge." That distinguishes it cleanly from sibling tools such as split_clip, move_clip, and fit_clip, which operate on whole clips rather than an edge.

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

Usage Guidelines4/5

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

It explains the choice between regular and ripple trim by describing the consequence of each (gap vs shifting later clips), which is the key decision an agent must make. It stops short of naming sibling alternatives or stating prerequisites such as the clip needing to exist on the timeline.

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