Skip to main content
Glama

add_marker

Place a named timeline marker at the playhead, a frame offset, or an absolute timeline_frame; out-of-range positions are refused and both frame spaces are reported.

Instructions

Add a timeline marker at the playhead, at frame (offset from timeline start), or at timeline_frame.

timeline_frame is the absolute frame used by timeline_overview, split_clip and timeline_audio results, so pass those values as timeline_frame, not frame. Out-of-range positions are refused. The result reports both spaces.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
noteNo
colorNoBlue
frameNo
durationNo
timeline_frameNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.14.5
    • addedInput schema / properties / timeline_frame
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Timeline Frame"
      +}
  2. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden and does disclose two useful traits: out-of-range positions are refused rather than clamped, and the result reports both frame spaces. It is silent on preconditions (open project/timeline, playhead availability) and on whether the marker is undoable/removable, which matters for an unannotated mutation.

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, front-loaded with the placement modes, then the disambiguation rule, then error and return behavior. No filler and no repetition of the schema.

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?

An output schema exists, so the return-value explanation is a bonus rather than a requirement, and the frame-space disambiguation is the highest-value content. But for a six-parameter, unannotated write operation it omits preconditions and the fate of the created marker (how to remove it, undo behavior), leaving the caller to discover those at runtime.

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 0%, so the description must compensate. It explains the two ambiguous parameters well -- frame as an offset from timeline start and timeline_frame as the absolute space -- but leaves name, note, color, and duration (including duration's unit) entirely undocumented, so half the surface is still inference.

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?

Names a specific verb and resource ('Add a timeline marker') and enumerates the three placement modes (playhead, frame offset, timeline_frame), so the agent knows exactly what the tool produces. It does not need sibling differentiation since the only near-neighbor, delete_marker, is self-evidently the inverse operation.

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 explicit when-to-use guidance for the two positional parameters: values coming from timeline_overview, split_clip, or timeline_audio must be passed as timeline_frame, not frame. There is no tool-level alternative or precondition guidance (e.g., must a timeline be open first), but for this operation none is strictly required.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.