Skip to main content
Glama

Add markers at a regular interval

add_markers_at_interval

Add evenly spaced markers every N seconds across a Premiere Pro sequence time range, with optional frame snapping and skipping existing markers.

Instructions

Add a marker every N seconds over a time range of a sequence (default: from 0 to the end of the sequence; a marker lands on both ends when they fall on the grid). At most 2000 markers per call. Markers are named name_prefix + a running number ("Marker 1", "Marker 2" ...). Returns added, skipped_existing and the new markers.

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": {
      "interval": "<interval>"
    },
    "name": "add_markers_at_interval"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoNo marker is placed after this sequence time, in seconds. Must not be before start. Default: the end of the sequence.
urlNoLink address of a web_link marker. Required when type is "web_link" (unless the marker already is one); only web_link markers use it.
typeNoType of the new markers. Default "comment". One of "comment", "chapter", "segmentation", "web_link".
colorNoColour of the new markers. Colour index or name: 0 green, 1 red, 2 purple, 3 orange, 4 yellow, 5 white, 6 blue, 7 cyan.
startNoSequence time of the first marker, in seconds. Default 0.
commentNoComment given to every new marker. Default empty.
intervalYesDistance between markers, in seconds. Must be greater than 0.
name_prefixNoText before the running number. Default "Marker ".
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
frame_targetNoFrame target of a web_link marker, e.g. "_blank". Default empty.
number_namesNoAppend the running number to name_prefix. Default true; false names every marker exactly name_prefix.
start_numberNoNumber of the first marker. Default 1.
sequence_nameNoSequence name; used only when sequence_id is not given.
skip_existingNoDo not add a marker where one already starts within half a frame. Default false.
snap_to_framesNoRound each time to the nearest frame of the sequence. 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 write, non-idempotent, non-destructive, non-open-world, so the safety profile is covered. The description nonetheless adds real behavioral context: a hard 2000-marker-per-call limit, both-ends grid placement, automatic running-number naming, and a return payload of added/skipped_existing/new markers. It stops short of saying what happens on partial failure or whether the operation is undoable.

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 tight sentences: operation and scope first, then the cardinality limit, then naming and return shape. No filler, and the most decision-relevant constraint (2000 cap) appears before the low-stakes naming detail.

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 15-parameter write tool with no output schema, the description covers the range semantics, the cap, the naming rule, and the return fields, while 100% schema coverage handles the rest. Minor residual gap: no statement of what happens when the requested grid exceeds the cap (truncation vs error) or whether existing markers of other types are counted.

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, but the description adds meaning the schema does not: the default time window spanning 0 to sequence end, the both-ends grid inclusion rule, and how name_prefix combines with the running number (with 'Marker 1', 'Marker 2' concretely illustrated). That is genuine added interpretation of the naming and boundary parameters.

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?

Specific verb plus resource plus scope, distinguishable from interval-free siblings without reading the schema.

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

Usage Guidelines3/5

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

The default range (0 to end of sequence) and the 2000-marker cap imply when the tool applies, but there is no explicit when-to-use versus add_markers, add_scene_markers, or add_markers_at_clip_starts, and no stated preconditions such as requiring an open/active sequence. Usage is inferable rather than instructed.

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