Skip to main content
Glama

add_marker

Places a timeline marker on a specified After Effects layer or composition at a given time or frame, with optional comment, duration, and color label.

Instructions

Add a marker on a layer or on the comp. Time can be seconds, or pass frame. Optional comment, duration, label (0–16, AE's color labels).

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

Input Schema

NameRequiredDescriptionDefault
urlNo
compNoComp: name (string), or { id: N } for duplicate-name-safe stable-id addressing. Defaults to active comp.
timeNo
frameNo
labelNo
layerNoLayer: name (string), 1-based index (integer), or { id: N } for duplicate-name-safe stable-id addressing.
chapterNo
commentNo
durationNo
instanceNoTarget a specific AE when more than one is connected (e.g. "2026", "2025", or a major like "26"). Omit when only one AE is open — see list_instances.
frameTargetNo
cuePointNameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses only that a marker is attached to a layer or comp and that time may be expressed in seconds or frames. It says nothing about whether markers can collide or be overwritten, whether an AE connection is required, how the multi-instance targeting behaves, or what is returned.

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?

Two short sentences with the primary action and placement scope front-loaded, followed by the most error-prone parameter detail. No filler, though the parenthetical label range is redundant with the schema and spends words on the least ambiguous field.

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

Completeness2/5

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

For a 12-parameter mutation with no annotations and no output schema, the description is thin: over half the parameters are undocumented and there is no statement of required connection state, side effects, or result. An agent could call it, but would be guessing on instance targeting and the chapter/cuePoint fields.

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 only 25% across 12 parameters, so the description must compensate and it only partly does. The 'seconds, or pass `frame`' distinction is genuinely useful and not obvious from the raw `time`/`frame` types, but url, chapter, instance, frameTarget and cuePointName go entirely unexplained in both schema and description, and the 0–16 label range merely restates the schema's maximum/minimum.

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 opens with a specific verb and resource ('Add a marker') and immediately narrows the scope to 'on a layer or on the comp', which is the key distinction an agent needs. It does not explicitly contrast with the sibling add_markers_batch, but the singular/plural split is inferable from the names alone.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance; the second sentence is parameter advice about time units rather than usage context. Nothing tells the agent when to pick this over add_markers_batch or how layer-vs-comp placement should be chosen in practice.

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