Skip to main content
Glama

Copy markers to another sequence

copy_markers_to_sequence
Destructive

Copies markers between Premiere Pro sequences while preserving name, comment, duration, type, colour, and link. Filter by ID or attributes and apply a time offset to place only the needed markers.

Instructions

Copy the markers of one sequence (all, or those matching marker_ids / the filters) to another sequence, keeping name, comment, duration, type, colour and link, with an optional time offset. The source is not changed. Markers that would land before 0 are skipped and counted. Target and source may be the same sequence only with a non-zero time_offset (duplicates markers). Returns copied, skipped_before_start, cleared_in_target and the new markers of the target.

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

Input Schema

NameRequiredDescriptionDefault
textNoOnly markers whose name or comment contains this text (plain substring, case-insensitive).
typeNoOnly markers of this type. One of "comment", "chapter", "segmentation", "web_link".
colorNoOnly markers of this colour. Colour index or name: 0 green, 1 red, 2 purple, 3 orange, 4 yellow, 5 white, 6 blue, 7 cyan.
to_timeNoOnly markers that start at or before this sequence time, in seconds.
from_timeNoOnly markers that start at or after this sequence time, in seconds.
marker_idsNoOnly copy these markers (combined with any filters). Omit: all markers that match the filters.
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
time_offsetNoSeconds added to every copied marker's time (negative = earlier). Default 0.
clear_targetNoDelete every marker of the target sequence first (destructive). Default false.
sequence_nameNoSequence name; used only when sequence_id is not given.
target_sequence_idNoId of the sequence that receives the copies (from list_sequences). Give this or target_sequence_name.
target_sequence_nameNoName of the receiving sequence; used when target_sequence_id is not given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior5/5

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

Adds real behavior beyond the annotations: the source is untouched, out-of-range markers are skipped and counted, clear_target wipes the target first, and same-sequence copying only works with an offset because it duplicates. That is exactly the destructive/permission context the hints alone don't supply.

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?

Front-loaded with the action, then constraints, then return values — a logical order with no filler sentences. It is a single dense block, so the self-copy rule and skip behavior would scan better as separate clauses, but nothing is wasteful.

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?

With 12 optional parameters and no output schema, the description still names the return fields (copied, skipped_before_start, cleared_in_target, new markers), which is important given destructiveHint=true. The main gap is that source vs target sequence parameters are never explicitly disambiguated.

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 the baseline is 3; the description still adds meaning by framing marker_ids and the filters as combined selectors and describing the offset as an optional shift applied to every copy. It does not clarify that sequence_id is the source while target_sequence_id is the receiver, which is the one parameter distinction an agent could get wrong.

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 pair ('Copy the markers of one sequence ... to another sequence') plus scope ('all, or those matching marker_ids / the filters'). It is clearly distinguishable from add_markers, shift_markers, or delete_markers without opening any schema.

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 concrete selection conditions: filters/marker_ids narrow the source set, and source may equal target only with a non-zero time_offset. It does not name a sibling alternative for cases better served by shift_markers or add_markers, so it stops short of full when-not guidance.

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