Skip to main content
Glama

Set playhead position

set_playhead_position
Idempotent

Move a sequence's playhead to a specified time in seconds, snapped to the nearest frame, and return the read-back position as seconds, frame, and timecode.

Instructions

Move the playhead of a sequence to a time in seconds, snapped to the nearest frame. Returns the position read back as seconds, frame and timecode. Use set_playhead_timecode for a timecode string, move_playhead_by_frames for relative steps, go_to_clip to park on a clip.

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

Input Schema

NameRequiredDescriptionDefault
timeYesTimeline position, in seconds from the sequence start.
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
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.5/5.0
Behavior4/5

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

Annotations already declare this is a non-destructive, idempotent, non-open-world write; the description adds the frame-snapping behavior (so the resulting position may differ from the requested value) and describes the read-back return (seconds, frame, timecode) even though no output schema exists. It does not mention what happens if the time exceeds sequence length or whether the active sequence is required, which keeps it short of a 5.

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?

Two sentences, front-loaded with the primary action, followed by return values and a compact list of alternatives. No redundant restatement of the tool name or title.

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

Completeness5/5

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

For a three-parameter mutation with no output schema, the description covers purpose, snapping semantics, return shape, and alternatives to all sibling positioning tools. Nothing an agent needs in order to select and call it correctly is missing.

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 coverage is 100%, so time, sequence_id and sequence_name are fully documented in the schema already. The description only reinforces that time is in seconds and that it is snapped to a frame; it adds little semantic meaning beyond that. Baseline 3 is appropriate.

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 ("Move the playhead of a sequence"), the unit of the target value (seconds), and a behavioral detail (snapped to the nearest frame). It is immediately distinguishable from set_playhead_timecode and move_playhead_by_frames.

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 routes the agent to three alternatives with the condition selecting each: set_playhead_timecode for a timecode string, move_playhead_by_frames for relative steps, go_to_clip to park on a clip. When-to-use and when-not-to-use are both covered.

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