Skip to main content
Glama

Target or untarget all tracks

set_all_tracks_target
Idempotent

Turn track targeting on or off for all video and/or audio tracks in a sequence in one call, returning changed counts and targeted track indices.

Instructions

Turn track targeting on or off for every video and/or audio track of a sequence in one call. Returns how many tracks changed and the targeted 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": {
      "targeted": "<targeted>"
    },
    "name": "set_all_tracks_target"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetedYestrue = target every track in scope, false = untarget 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 mutation (readOnlyHint=false) with idempotent and non-destructive semantics, so the description doesn't need to repeat safety. It adds real value by disclosing the return payload (count of changed tracks and targeted indices per type) which is otherwise undocumented since there is no output schema. It stops short of noting edge cases, e.g. what happens when the sequence has no tracks of the requested type.

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, both load-bearing: the first defines the action and scope, the second defines the result. Front-loaded and free of restatement of the title.

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 four-parameter bulk toggle with full schema coverage and no output schema, the description supplies enough to call it correctly, including the return shape. Minor gaps remain around no-op/error behavior and whether targeting affects subsequent editing operations.

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%, including the track_type enum and the sequence_id/sequence_name precedence, so the schema already carries parameter meaning. The description only loosely echoes 'video and/or audio track' and adds no format, default, or interaction details beyond the schema; 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 and resource (turn track targeting on/off) plus an explicit scope: every video and/or audio track of a sequence. The phrase 'in one call' and 'for every ... track' implies the bulk counterpart to set_track_target, but no sibling is named, so differentiation is inferred rather than stated.

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?

Usage is only implied: the 'in one call'/'every track' wording signals this is the bulk operation, but it never says when to prefer it over set_track_target or get_targeted_tracks, and gives no exclusions or prerequisites for sequence selection.

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