Skip to main content
Glama

Create a subsequence from the in/out range

create_subsequence

Creates a new sequence containing the in-to-out portion of an existing sequence without changing its source clips. Set the in/out points first or reuse existing points.

Instructions

Create a new sequence that contains the part of a sequence between its in and out points (Make Subsequence). Pass in_point and/or out_point to set the range first (they stay set on the source); otherwise the existing points are used, and the call fails with BAD_ARGS unless both are set. The source's clips are not changed. Returns the range used and the new sequence (new_sequence).

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": "create_subsequence"
  }
}

Input Schema

NameRequiredDescriptionDefault
in_pointNoStart of the range, in seconds from the sequence start. Omit to use the current in point.
new_nameNoName for the new sequence. Omit to keep Premiere's "<name>_Sub_01".
out_pointNoEnd of the range, in seconds from the sequence start. Omit to use the current out point.
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
sequence_nameNoSequence name; used only when sequence_id is not given.
ignore_track_targetingNotrue = take clips from every track; false = only from targeted tracks. Default true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare a non-readonly, non-destructive, non-idempotent, closed-world write. The description adds context the annotations cannot: the source's clips are untouched, the supplied in/out points persist on the source as a side effect, and a missing range fails with BAD_ARGS. It does not discuss permissions or what happens on name collisions, which keeps it short of a 5.

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?

Four sentences with the core action front-loaded and zero filler; the parenthetical "(Make Subsequence)" and the return-value note each earn their place. The middle sentence is overstuffed, bundling range-setting, persistence, fallback, and failure into one clause chain, which costs a little readability.

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 6-parameter, zero-required tool with no output schema, the description covers action, side effects, error condition, and return payload (range used plus new_sequence). Nothing essential to a correct first invocation is missing.

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 100%, so each parameter is already documented, and the description largely restates the in/out behavior while adding the useful "both must be set or BAD_ARGS" constraint. It says nothing about new_name, sequence_id/sequence_name precedence, or ignore_track_targeting (default true, takes clips from every track), leaving those to the schema. Baseline 3 is appropriate when the schema carries the detail.

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 ("Create a new sequence that contains the part of a sequence between its in and out points") and ties it to the host application's own label ("Make Subsequence"). The clarifying sentence "The source's clips are not changed" separates it from range-consuming siblings such as extract_range or lift_range without needing their schemas.

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?

Gives a clear operating condition: pass in_point/out_point to define the range first, otherwise the existing points are used, and BAD_ARGS is raised unless both are set. That is genuine when-to-use and failure guidance, but it never names an alternative tool for adjacent jobs (e.g. extracting or lifting the range instead of copying it), so the routing advice is implicit rather than explicit.

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