Skip to main content
Glama

Add markers at clip starts

add_markers_at_clip_starts

Adds one sequence marker at each clip start on a track, named by optional prefix plus clip name. Converts edits into chapters or a shot list.

Instructions

Add one sequence marker at the start of every clip of one track, named name_prefix + the clip name. Useful to turn an edit into chapters or a shot list. At most 2000 markers per call. Returns clips (on the track), added, skipped_existing and the new markers.

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

Input Schema

NameRequiredDescriptionDefault
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.
commentNoComment given to every new marker. Default empty.
span_clipsNoGive each marker the duration of its clip instead of making point markers. Default false.
track_typeNoTrack type: "video" or "audio". Default "video".
name_prefixNoText put before each clip name, e.g. "Shot: ". Default none.
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
track_indexNo0-based track index (0 = V1 or A1). Default 0.
frame_targetNoFrame target of a web_link marker, e.g. "_blank". Default empty.
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.

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 declare a safe, local, non-idempotent write (destructiveHint=false, openWorldHint=false); the description adds behavior the annotations cannot convey: a hard limit of 2000 markers per call and the exact return payload (clips, added, skipped_existing, new markers). The skip_existing dedup semantics are left to the schema rather than explained here.

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: behavior, purpose, limit, return values. Front-loaded with the core action and no filler or repetition. Every sentence carries distinct information.

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 12-parameter mutating tool with no output schema, the description is unusually complete: it explains the marker naming scheme, the per-call ceiling, and the return fields. Minor gaps remain around what happens when multiple clips share a start frame and how skipped_existing interacts with the count returned.

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?

With 100% schema description coverage the schema already documents every parameter, so the baseline is 3. The description adds only the naming composition (name_prefix + clip name), which the schema also describes, and says nothing extra about color, type, span_clips or the sequence_id/sequence_name precedence.

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 ('Add one sequence marker at the start of every clip of one track') plus the derived naming rule, so it is clearly distinguishable from add_markers, add_markers_at_interval and add_scene_markers. An agent can tell exactly which markers get created and where.

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 concrete use case ('turn an edit into chapters or a shot list'), which frames when this tool is appropriate. It does not name alternatives such as add_markers_at_interval or add_scene_markers, nor state when not to use it, so it falls short of full routing 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