Skip to main content
Glama

Get clip source info

get_clip_source_info
Read-onlyIdempotent

Retrieves a timeline clip's source details—project item, media path, offline state, covered source range, speed/direction, and adjustment-layer or MOGRT status—to trace its origin.

Instructions

Describe where a timeline clip comes from: the source project item (id, name, bin path, kind), media file path, offline state, the part of the source the clip covers (source_in < source_out, in clip source time: seconds from the media start, speed already applied; a reversed clip plays that range backwards), the source item's own in/out points and duration, the clip's speed and direction, and whether it is an adjustment layer or a Motion Graphics template. source_range_exact is false for reversed clips: their range is derived from the item's out point and is off if the project item has an out mark. Clips without a project item (some graphics) return item null.

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_clip_source_info"
  }
}

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

A3.7/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description goes well beyond them by disclosing result caveats an agent could not otherwise anticipate: source_in/source_out are in clip source time with speed applied, reversed clips play the range backwards, source_range_exact is false and unreliable for reversed clips when the item has an out mark, and item is null for clips with no project item. These are exactly the behavioral traits that cause wrong downstream reasoning if unstated.

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?

Front-loads the purpose in a short opening clause and follows with dense but relevant enumeration plus two caveat sentences. The middle sentence is long and comma-chained, which slightly hurts readability, but no sentence is filler.

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?

With no output schema, the description fully carries the return-value burden and does so thoroughly, including null/edge cases. The remaining gap is identification strategy across six all-optional parameters (clip_id vs track_index+clip_index vs sequence_id vs sequence_name), which is delegated entirely to the schema.

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 one of the six parameters is already documented with its own meaning and precedence rules. The description adds no parameter-level meaning, which is acceptable at full coverage but yields only the baseline score.

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 ('describe where a timeline clip comes from') and enumerates the facts returned: project item identity, bin path, media path, offline state, source range, speed/direction, adjustment-layer status. It does not differentiate itself from near-name siblings such as get_clip_info, get_clip_details, or get_item_media_info, so an agent must still infer the boundary from names alone.

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?

The description contains no when-to-use, when-not-to-use, or alternative-tool guidance. There is no statement like 'use this instead of get_clip_info when you need source provenance,' nor any prerequisite about resolving a clip first. The only selection hints ('Preferred' clip_id, index caveats) live in the input schema, not the description.

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