Skip to main content
Glama

Go to previous edit point

go_to_previous_edit_point

Move the playhead to the previous edit point before its current position, using clip starts or ends. Returns moved=false when no earlier edit point exists.

Instructions

Move the playhead to the last edit point (clip start or end) more than half a frame before its current position, like the Up arrow key. Returns moved=false and leaves the playhead alone when there is none. Returns the position read back, the previous position (from, seconds) and the edit point.

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

Input Schema

NameRequiredDescriptionDefault
track_typeNoOnly consider tracks of this type: "video", "audio" or "both". Omit for "both".
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
sequence_nameNoSequence name; used only when sequence_id is not given.
targeted_onlyNotrue = only consider clips on targeted tracks (what Premiere's Up/Down arrow keys do). Default false: every track.

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 flag readOnlyHint=false and idempotentHint=false; the description adds real value on top by disclosing the half-frame threshold that defines 'previous', the graceful no-op behavior when no edit point exists, and the three values returned. Remaining gaps are minor (no statement about selection state or locked/targeted track interactions beyond the schema).

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?

Three dense sentences that front-load the action and the Up-arrow analogy; every sentence carries information. The final return-value sentence is a slightly list-like run-on but still earns its place by pre-empting output-schema questions.

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 4-parameter navigation tool with fully documented schema and existing annotations, the description covers purpose, boundary semantics, no-op behavior, and return contents. Nothing an agent needs to 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 description coverage is 100%, so track_type, sequence_id/sequence_name, and targeted_only are already documented in the schema. The description adds no parameter-specific meaning (e.g., how targeted_only interacts with the half-frame rule), so the baseline of 3 applies.

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?

Specific verb (move the playhead) plus resource (edit point) and an explicit direction/qualifier: the last edit point more than half a frame before the current position. The 'like the Up arrow key' analogy plus the direction word cleanly separates it from go_to_next_edit_point.

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?

Clear context for when it applies, including the no-op case ('returns moved=false and leaves the playhead alone when there is none'). It does not explicitly name alternatives (go_to_next_edit_point, go_to_previous_marker) or state exclusions, so it stops short of full routing guidance.

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