Skip to main content
Glama

Add composition marker

add_comp_marker

Adds a composition marker at a specified or current time with optional comment, duration, chapter, URL, color label, and protected region for organizing or exporting timing cues.

Instructions

Add a composition marker at 'time' (default current time) with comment, duration, chapter, URL, label color and protected region.

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_comp_marker"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoWeb link URL.
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
timeNoTime: seconds (number), '12f' for frames, or 'HH:MM:SS:FF' timecode.
labelNoMarker color label index 0-16 (0 = none, 1 = red, 2 = yellow, 9 = green ...).
paramsNoCustom key/value parameters stored on the marker.
chapterNoChapter name (for exported video).
commentNoMarker comment text.
durationNoMarker duration in seconds (0 = single-frame marker).
frameTargetNoWeb link frame target.
cuePointNameNoFlash/cue point name.
protectedRegionNoProtected region (composition markers with duration; keeps timing when the comp is stretched in Essential Graphics).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the mutation/safety profile is covered structurally. The description adds only the default-time behavior and the existence of a protected region; it says nothing about whether the marker is immediately persisted, whether the comp must be open, or what happens if 'comp' is omitted and no comp is active.

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?

A single front-loaded sentence with no filler, starting with the verb and resource before listing optional attributes. The trailing field list is slightly redundant with the schema but does not become noise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 11 optional parameters, all covered by the schema, and no output schema, the description covers the invocation surface adequately. It falls short on two points an agent would want: how the call differs from layer-marker creation, and what the call returns (marker index or object) since no output schema exists.

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% and every parameter (label index mapping, time formats '12f'/'HH:MM:SS:FF', protectedRegion semantics, params key/value bag) is richly documented in the schema itself. The description merely enumerates a subset of those fields and adds no format or default information beyond what the schema already provides.

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?

States a specific verb and resource ('Add a composition marker') plus the key fields it can carry, so the action is unambiguous. It does not, however, distinguish itself from the sibling add_layer_marker, leaving the composition-vs-layer marker distinction for the agent to infer from the name alone.

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?

Usage is only implied: the description notes that 'time' defaults to the current time and the schema says comp can be omitted to use the active composition, which helps invocation but not tool selection. There is no statement of when to prefer this over add_layer_marker or add_markers_bulk, and no prerequisites or exclusions.

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