Skip to main content
Glama

Update a sequence marker

update_marker
Idempotent

Update a Premiere Pro marker's name, comment, time, duration, colour, or type in one call; unspecified fields stay unchanged, and time changes preserve duration.

Instructions

Change any of a marker's name, comment, time, duration, colour and type in one call; fields that are not given stay as they are. Changing time moves the marker and keeps its duration. Changing the type also sets the colour to that type's default unless color or keep_color is given. Returns the updated marker and changed (the fields that were written).

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

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.
nameNoNew name.
timeNoNew start time in sequence time, in seconds from the start of the timeline.
typeNoNew type. One of "comment", "chapter", "segmentation", "web_link".
colorNoNew colour. Colour index or name: 0 green, 1 red, 2 purple, 3 orange, 4 yellow, 5 white, 6 blue, 7 cyan.
commentNoNew comment.
durationNoNew duration, in seconds. 0 makes it a point marker.
marker_idNoStable marker id (from list_markers, add_marker ...). Preferred.
keep_colorNoWhen the type changes, keep the marker's current colour. Default false.
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.
marker_indexNo0-based position of the marker in time order; used when marker_id is not given. Shifts when markers are added, moved or deleted.
sequence_nameNoSequence name; used only when sequence_id is not given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare the write, idempotency and non-destructive profile, and the description goes well beyond that by disclosing cascade semantics: moving time preserves duration, changing type resets colour unless color or keep_color is supplied, and unchanged fields are preserved. It also states the return payload (updated marker plus changed fields), which is valuable since no output schema exists.

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, front-loaded with the mutable field list, then partial-update semantics, then the two non-obvious side effects. No redundant restatement of the title or name.

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 13-parameter mutation tool with no output schema, the description covers the highest-risk semantics (partial update, type/colour cascade, return shape) and would let an agent call it correctly. The web_link url prerequisite and the marker_id vs marker_index vs sequence_name precedence are documented only in the schema, not reinforced here.

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 cross-parameter meaning the schema cannot express: the keep_color/color/type interaction and the time-plus-duration coupling. The web_link/url requirement is left entirely to the schema, which keeps this from a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ("Change ... a marker's name, comment, time, duration, colour and type") and enumerates exactly which attributes are mutable, so an agent knows this is a partial-field updater rather than a single-attribute setter. It stops short of naming siblings like set_marker_color or set_marker_type, so the differentiation from those is inferred rather than stated.

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?

"in one call" and "fields that are not given stay as they are" imply this is the tool for multi-field edits, which weakly signals when to prefer it over the single-purpose setters. There is no explicit when-to-use/when-not statement or named alternative, so routing is left to inference.

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