Skip to main content
Glama

Append clip at the end

append_clip

Place a project item after the last clip on its target video and audio tracks without overwriting or shifting existing clips; optionally start after the sequence end.

Instructions

Place a project item right after the last clip of the tracks it lands on: the picture goes to video_track_index, the audio (linked) to audio_track_index, and the clip starts at the later of the ends of the tracks that really receive material (a still or a silent video only looks at the video track, a sound file only at the audio track). With after_sequence_end=true it starts after the last clip of the whole sequence instead. Nothing is overwritten or shifted. Returns the start time used, the created clips and the sequence duration.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "append_clip"
  }
}

Input Schema

NameRequiredDescriptionDefault
item_idNoStable project item id (from list_project_items). Preferred.
item_nameNoItem name; the first match in the project is used.
item_pathNoPath in the Project panel, e.g. "Footage/Day 1/clip.mp4".
source_inNoStart of the part of the source to use, in seconds from the media start. Default: the item's current in point (normally 0).
source_outNoEnd of the part of the source to use, in seconds from the media start. Default: the item's current out point (normally the media end; the default still duration for a still).
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
sequence_nameNoSequence name; used only when sequence_id is not given.
audio_track_indexNo0-based audio track that receives the item's audio (0 = A1). Default 0.
video_track_indexNo0-based video track that receives the picture (0 = V1). Default 0.
after_sequence_endNoStart after the last clip of ANY track instead of the tracks the item lands on. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false), the description confirms non-destructive behavior ('Nothing is overwritten or shifted') and explains the track-dependent start-time computation. It does not address the non-idempotent nature declared in idempotentHint=false — e.g. that repeated calls create duplicate clips — which is the main residual gap.

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?

Placement behavior is front-loaded and no sentence is filler, but the opening is a single long clause chain with nested parentheticals that slows parsing. Slightly tighter sentence splitting would improve scanability without losing content.

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?

For a 10-parameter, non-read-only, no-output-schema tool, the description covers placement rules, per-track semantics, the after_sequence_end override, non-destructiveness, and the return payload (start time, created clips, sequence duration). Nothing an agent needs before calling it is missing.

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%, so baseline would be 3; the description exceeds it by explaining that video_track_index receives the picture while audio goes to audio_track_index, and that 'a still or a silent video only looks at the video track'. It adds the cross-parameter start-time rule ('later of the ends') that the schema cannot express.

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?

States a specific verb and resource ('Place a project item right after the last clip') and pins down the exact placement rule, including per-track routing of picture vs. linked audio. The 'Nothing is overwritten or shifted' clause cleanly separates it from an insert/ripple sibling like insert_clip.

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?

The description gives clear operating context: default is append after the tracks the item lands on, and after_sequence_end=true switches to the whole sequence's end. It does not explicitly name a competing sibling or state when-not-to-use this tool, so it stops short of a 5.

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

Deploy Server

Other Tools