Skip to main content
Glama

Get clip details

get_clip_details
Read-onlyIdempotent

Fetches a timeline clip’s position, source range, speed, linked items, and QE-only flags in a single call, briefly activating and restoring the sequence as needed.

Instructions

Read one timeline clip's properties in a single call: position (sequence seconds), source_in/source_out, enabled, selected, speed, reversed, time interpolation, frame blend, Scale to Frame Size, adjustment layer / Motion Graphics Template flags, linked clip ids and the source project item. Use get_clip_source_info when only the source media matters, and get_clip_info for neighbours, gaps and effect names. Briefly activates the sequence to read the QE-only flags, then restores the previously active one.

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

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

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so safety is covered; the description adds the non-obvious side effect that it briefly activates the sequence to read QE-only flags and then restores the previously active one. That is exactly the kind of hidden state change an agent needs to know about, though it could say more about what happens if activation fails.

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-loaded with purpose, then routing, then the side-effect caveat. The middle property list is long but each item helps an agent confirm coverage; it could be trimmed to a summary without much loss.

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?

There is no output schema, so the description correctly compensates by enumerating returned fields, and the six-parameter selection logic is left to a fully-covered schema. Minor gap: it doesn't state the default resolution path when every optional argument is omitted.

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 parameter meaning (clip_id preferred vs clip_index fallback, track_type default, sequence_id vs sequence_name precedence) is already fully documented. The description's property enumeration describes return values, not input semantics, so it adds nothing to the parameters beyond the schema.

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?

Uses a specific verb and resource ("Read one timeline clip's properties in a single call") and then enumerates the exact property set returned (position, source_in/out, speed, frame blend, linked clip ids, source project item, etc.). This is enough for an agent to decide this tool returns the property it needs without opening the schema.

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

Usage Guidelines5/5

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

Gives explicit routing rules: use get_clip_source_info when only the source media matters, and get_clip_info for neighbours, gaps and effect names. Both alternatives are named with the condition that selects them, leaving nothing to inference.

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