Skip to main content
Glama

Get linked clips

get_linked_clips
Read-onlyIdempotent

Retrieve the clips linked to a timeline clip, including linked status and count, to identify paired audio or video and detect unlinked clips.

Instructions

Return the clips linked to a timeline clip (for a video clip, usually its audio): is_linked, linked_count and linked. linked is empty and is_linked false for an unlinked clip.

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

Input Schema

NameRequiredDescriptionDefault
clip_idNoStable clip id (from get_sequence_structure / list_clips). Preferred.
clip_indexNo0-based index of the clip in its track's clip list, as reported by list_clips / get_sequence_structure. Usually time order, but a moved clip can keep its old index, and indices shift after edits: prefer clip_id.
track_typeNoUsed with track_index + clip_index when clip_id is not given. Default "video".
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
track_indexNo0-based track index (0 = V1 or A1).
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

B3.4/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint=false), so the description only needs to add context. It does add the returned field names and the unlinked-clip edge case, but says nothing about what happens when clip_id is absent, which sequence is consulted, or whether linked clips can span tracks.

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?

A single front-loaded sentence plus one short edge-case clause; the field enumeration is compact and every element (return fields, empty-when-unlinked behavior) earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description usefully lists the returned keys, which is the most important gap it fills. However, for a tool with six optional parameters and multiple ways to identify the target clip, it gives no indication of which identifier combinations are valid or what happens when the target clip does not exist.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% with rich per-parameter text (including the clip_id-vs-clip_index preference and the note that indices shift after edits), so the schema already carries parameter meaning. The description adds nothing beyond it, but with all six optional params fully documented the baseline of 3 is exceeded slightly by the description's confirmation that a single clip is the input anchor.

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 ('Return the clips linked to a timeline clip') and names the returned fields, so the operation is unambiguous. It does not distinguish itself from the sibling select_linked_clips, so an agent must infer that this one reads rather than selects.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, and no alternative is named even though select_linked_clips is an obvious candidate. The only contextual hint is the parenthetical that a video clip's link is 'usually its audio', which describes the data rather than the usage decision.

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