Skip to main content
Glama

Move the playhead to the previous marker

go_to_previous_marker

Moves the playhead to the nearest marker before its current position, optionally filtering by text, type, colour or time range. Returns moved, previous playhead and marker details without changing the active sequence.

Instructions

Move the playhead to the last marker strictly before its current position (optionally only markers matching the filters). When there is none it returns moved=false and leaves the playhead where it is, unless wrap is true. Returns moved, previous_playhead, playhead and the marker.

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

Input Schema

NameRequiredDescriptionDefault
textNoOnly markers whose name or comment contains this text (plain substring, case-insensitive).
typeNoOnly markers of this type. One of "comment", "chapter", "segmentation", "web_link".
wrapNoJump to the last marker when there is none before the playhead. Default false.
colorNoOnly markers of this colour. Colour index or name: 0 green, 1 red, 2 purple, 3 orange, 4 yellow, 5 white, 6 blue, 7 cyan.
to_timeNoOnly markers that start at or before this sequence time, in seconds.
activateNoAlso make the sequence the active one in the timeline. Default false: the sequence's playhead moves but the active sequence does not change.
from_timeNoOnly markers that start at or after this sequence time, in seconds.
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.2/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent operation. The description adds useful outcome behavior: when no marker qualifies it returns moved=false and leaves the playhead unchanged unless wrap is true, and it identifies the returned fields.

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 front-loaded sentences cover the core movement rule, fallback behavior, and return shape without redundant wording.

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?

With nine optional parameters and no output schema, the description does well by explaining the no-marker case and enumerating returned fields. Remaining details such as sequence selection and activate behavior are fully handled by the parameter schema.

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 nine parameters are already documented, including wrap, filters, sequence selection, and activate. The description only restates the optional filter and wrap behavior, adding little parameter meaning beyond the schema.

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?

The description states a specific verb and resource: move the playhead to the last marker strictly before its current position. The phrase 'strictly before' and the marker filters distinguish it clearly from next-marker and arbitrary-marker navigation siblings.

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?

The description gives clear context for when this operation applies, including the optional filtering and the no-marker fallback. It does not explicitly name alternatives such as go_to_next_marker or go_to_marker, but the previous-marker scope is unambiguous.

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