Skip to main content
Glama

Add a marker to a source clip

add_item_marker

Adds a marker to a project item's source clip, making it visible in the Source Monitor and on every timeline instance. Specify position in seconds from media start; returns the new marker's ID.

Instructions

Add a marker to a project item (a clip marker stored on the source clip, visible in the Source Monitor and on every timeline instance). time is in seconds from the media start. For markers on a sequence's timeline use add_marker. Returns the new marker with its marker_id.

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": {
      "time": "<time>"
    },
    "name": "add_item_marker"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoLink target; only for type "weblink".
nameNoMarker name.
timeYesMarker position, in seconds from the media start.
typeNoMarker type: "comment" (default), "chapter", "segmentation" or "weblink" (needs url).
commentNoMarker comment.
item_idNoStable project item id (from list_project_items). Preferred.
durationNoMarker duration, in seconds. Default 0 (a point marker).
item_nameNoItem name; the first match in the project is used.
item_pathNoPath in the Project panel, e.g. "Footage/Day 1/clip.mp4".
color_indexNoMarker colour index 0-7 (0 green, 1 red, 2 purple, 3 orange, 4 yellow, 5 white, 6 blue, 7 cyan).
frame_targetNoFrame target of the link; only for type "weblink".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), so the safety bar is partly cleared. The description adds genuinely useful behavior beyond that: the marker lives on the source clip and propagates to the Source Monitor and every timeline instance, plus it discloses the return value (new marker with marker_id). It still says nothing about permissions, duplicate-marker handling, or whether existing markers are affected.

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?

Three short sentences, front-loaded with the purpose and the sibling routing before the return-value note; no filler. The time-units sentence duplicates the schema, a small redundancy, but nothing bloats the definition.

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 an 11-parameter mutation tool with only one required field, full schema coverage, and no output schema, the description covers purpose, scope, the key alternative, and the shape of the return value. What is missing (ownership of the source clip, behavior when a marker already exists at that time, error conditions) is secondary rather than blocking for a correct call.

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 description coverage is 100%, so all 11 parameters including the item_id/item_name/item_path selector triad and the type/url coupling are documented in the schema itself. The description's only parameter-adjacent detail ('time is in seconds from the media start') restates the schema, so it adds no meaning beyond structured data. Baseline 3 applies.

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 a marker to a project item') and immediately disambiguates the scope: a clip marker stored on the source clip, visible in the Source Monitor and on every timeline instance. An agent can distinguish this from add_marker without opening either schema.

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

Usage Guidelines5/5

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

Explicitly names the alternative and the condition that selects it: 'For markers on a sequence's timeline use add_marker.' This is the single ambiguity an agent would face here, and it is resolved in one sentence.

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