Skip to main content
Glama

Select clips on a track

select_clips_on_track
Idempotent

Select all clips on a specified video or audio track, replacing the current selection by default or adding to it when requested, and return the matched clips and resulting selection.

Instructions

Select every clip on one video or audio track. Replaces the current selection unless add_to_selection is true. Returns the matched clips and the resulting selection.

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>"
    },
    "name": "select_clips_on_track"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.
add_to_selectionNoKeep the current selection and add to it. Default false: the current selection is replaced.

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?

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false), the description discloses that the current selection is replaced by default and that add_to_selection preserves it, which is the key side effect an agent needs. It also notes what is returned, compensating for the missing output schema. It does not mention auth, locked tracks, or failure behavior.

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?

Three short sentences, front-loaded with the action and scope, then the selection-replacement caveat, then the return value. No filler and nothing repeated from the schema descriptions.

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 five-parameter selection tool with no output schema, the description covers the operation, the side effect on existing selection, and the return payload, which is sufficient to call it correctly. Minor gaps remain around sequence resolution and behavior on locked or hidden tracks.

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 all five parameters including track_type, track_index, sequence_id/sequence_name, and add_to_selection are already documented in the schema. The description reinforces the add_to_selection semantics but adds no syntax, defaults, or edge cases beyond what the schema provides, which fits the baseline 3.

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 with a clear scope: "Select every clip on one video or audio track." The per-track scope implicitly separates it from range-, name-, and item-based selection siblings, but it never names an alternative, so the agent must infer the distinction from scope 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?

Usage is implied by the scope rather than stated: the description identifies the tool as the track-level selector, but gives no explicit when-to-use versus when-not-to-use guidance and no mention of alternatives such as range or name-based selection. The add_to_selection note is behavioral, not a routing rule.

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