Skip to main content
Glama

Invert clip selection

invert_clip_selection

Invert the current timeline selection so selected clips become unselected and all others become selected. Optionally limit the inversion to video or audio clips only, leaving the other track type unchanged.

Instructions

Invert the timeline selection: selected clips become unselected and the others selected. With track_type, only clips of that type are inverted and the other type keeps its state. Returns the resulting selection.

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

Input Schema

NameRequiredDescriptionDefault
track_typeNoInvert only "video" or only "audio" clips. Default: 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.9/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and idempotentHint=false without explaining why; the description supplies that context by defining the operation as a state swap, which makes the non-idempotency self-evident. It also discloses the asymmetric behavior of track_type — the non-matching clip type 'keeps its state' — and notes that the resulting selection is returned. What is missing is edge-case behavior: what happens with an empty selection or when no sequence is active.

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 tight sentences with the core semantics front-loaded, followed by the track_type qualifier and the return value. Every sentence earns its place; the only minor cost is that the return-value note is a terse fragment rather than fully specified.

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 zero-required-parameter mutation tool with no output schema, the description covers the operation, the scoping conditional, and the return value, which is close to sufficient. The remaining gap is behavioral edge cases (empty selection, missing active sequence) that an agent would otherwise have to discover at call time.

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 coverage is 100%, so the schema already documents track_type, sequence_id, and sequence_name, establishing the baseline of 3. The description adds one meaningful nuance beyond the schema — that clips of the other type retain their state — but says nothing extra about sequence_id versus sequence_name resolution beyond what the schema states.

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?

Names a specific verb (invert) and resource (timeline clip selection) and immediately defines the operation precisely: 'selected clips become unselected and the others selected.' No sibling tool in the list performs selection inversion, so the agent can identify it unambiguously from the name and first clause alone.

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 track_type sentence gives a conditional usage rule (scope the inversion to video or audio only, otherwise both), which is genuinely helpful. However, there is no explicit when-to-use guidance, no statement of prerequisites (an active sequence or an existing selection), and no exclusions. Usage is implied rather than stated.

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