Skip to main content
Glama

Select clips made from a project item

select_clips_by_item
Idempotent

Select every timeline clip made from one project item to find all video and audio uses of a source clip in a sequence; returns matched clips.

Instructions

Select every timeline clip (video and audio) that was made from one project item, i.e. all uses of a source clip in the sequence. Returns the matched clips. To go the other way (timeline clip to project item) use select_clip_source_in_project.

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

Input Schema

NameRequiredDescriptionDefault
item_idNoStable project item id (from list_project_items). Preferred.
item_nameNoItem name; the first match in the project is used.
item_pathNoPath in the Project panel, e.g. "Footage/Day 1/clip.mp4".
track_typeNoOnly "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.
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

A4/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is largely covered. The description adds the matching semantics and that matched clips are returned, but does not mention that the operation alters the current selection (replacing it unless add_to_selection is set) — that side effect is only documented in the schema property.

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 with the core behavior front-loaded, then the source-clip clarification, then the alternative routing. No filler or repetition.

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 7-parameter selection tool with no output schema, the description adequately states what is matched and returned. Minor gaps remain: behavior on zero matches and the selection-replacement effect are not surfaced in the description itself.

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 track_type filtering and add_to_selection is already documented. The description adds only the conceptual notion of 'source clip uses' and no additional parameter detail, so the baseline 3 applies.

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: select every timeline clip made from one project item, clarifying scope as 'all uses of a source clip in the sequence'. It explicitly distinguishes itself from the inverse sibling select_clip_source_in_project, so an agent can route without opening either schema.

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?

Gives a clear use context and names the alternative for the reverse direction (timeline clip to project item). It does not address when to prefer this over other selection siblings such as select_clips_by_name or select_all_clips, but usage is unambiguous for its stated scope.

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