Skip to main content
Glama

Lock or unlock all tracks

set_all_tracks_lock
Idempotent

Lock or unlock all video and/or audio tracks in a Premiere Pro sequence with one call; returns changed track counts and locked track indices.

Instructions

Lock or unlock every video and/or audio track of a sequence in one call. Returns how many tracks changed and the locked track indices per type afterwards.

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

Input Schema

NameRequiredDescriptionDefault
lockedYestrue = lock every track in scope, false = unlock them.
track_typeNoWhich tracks to act on: "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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuine value beyond that by describing the return payload ('how many tracks changed and the locked track indices per type'), which matters since no output schema exists. It does not mention failure behavior when no sequence is resolvable.

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, no filler: the first carries the action and scope, the second carries the return contract. The action is front-loaded and nothing is repeated from the title alone.

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?

For a 4-parameter mutation tool with no output schema, the description covers the action, scope, and result shape — enough to call it correctly. Minor gaps remain around sequence resolution failure and whether locking affects any downstream editing behavior, but they are peripheral.

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 every parameter including the 'both' enum default is already documented in the schema. The description restates the video/audio scope and sequence scoping at a high level but adds no format, precedence, or edge-case detail beyond the schema, so the baseline 3 applies.

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?

States a specific verb ('Lock or unlock') and resource ('every video and/or audio track of a sequence'), plus the bulk scope via 'in one call', which cleanly separates it from a per-track lock operation. It never names the sibling it contrasts with (e.g. a single-track lock tool), so differentiation is implied rather than explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'in one call' hints that this is the bulk alternative to per-track locking, but no explicit when-to-use / when-not-to-use guidance or named alternative is given. An agent can infer the bulk intent but must reason about the single-track case on its own.

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