Skip to main content
Glama

Target or untarget track

set_track_target
Idempotent

Enable or disable targeting for a single video or audio track so razor, paste, and Up/Down edit-point keys act on it. Returns the resulting track state.

Instructions

Turn track targeting on or off for one track (the highlighted V1/A1 header button). Targeted tracks are the ones that Premiere's razor-at-playhead, paste, Up/Down edit-point keys and match frame act on, and that tools with a targeted-only option use. Returns the track state read back. Use set_all_tracks_target for every track.

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": {
      "track_type": "<track_type>",
      "track_index": "<track_index>",
      "targeted": "<targeted>"
    },
    "name": "set_track_target"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetedYestrue = target the track, false = untarget it.
track_typeYesTrack type: "video" or "audio".
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
track_indexYes0-based track index (0 = V1 or A1).
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?

Adds real value beyond the annotations: it discloses the downstream behavioral consequences of targeting and that the tool returns the track state read back. Annotations already declare idempotent=true and destructiveHint=false, so the safety profile is covered; the description's contribution is the effect model, though it omits failure modes (locked/missing track, inactive sequence).

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?

Front-loaded with the action, then consequences, then the sibling routing — a sensible ordering with no filler. The middle sentence is long and dense but every clause carries information an agent needs.

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?

With five parameters at full schema coverage, an annotation set covering mutability and idempotency, and an explicit statement that the state is read back, an agent has everything needed to invoke this correctly. No output schema exists, and the description accounts for that by noting the return.

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 five parameters including the track_type enum and the 0-based index semantics are already documented in the schema. The description references the track header concept but adds no syntax, defaults, or precedence detail beyond what the schema states (e.g. sequence_id vs sequence_name resolution).

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 ("Turn track targeting on or off for one track") and anchors it to the UI element ("the highlighted V1/A1 header button"). This is clearly distinct from the sibling set_all_tracks_target, which operates on every track.

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?

Explicitly routes the multi-track case to set_all_tracks_target, and the middle sentence explains what targeting actually affects (razor-at-playhead, paste, Up/Down edit-point keys, match frame, tools with targeted-only options). It gives clear context for when this matters, though it does not state explicit exclusions such as whether targeting can fail on locked tracks.

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