Skip to main content
Glama

Get clip transform

get_clip_transform
Read-onlyIdempotent

Read a video clip's Motion and Opacity settings—position, scale, rotation, anchor, crop, opacity, blend mode, keyframe status, frame sizes, and bounding box—at an optional sequence time.

Instructions

Read a video clip's Motion and Opacity settings in friendly units: position (sequence pixels and normalised), scale, scale width/height, uniform-scale flag, rotation (degrees), anchor point (source pixels and normalised), anti-flicker, crop left/top/right/bottom (percent), opacity (percent), blend mode name, and for each whether it is keyframed. Also returns the source frame size, the sequence frame size and the clip's on-screen bounding box in sequence pixels. Pass time to read the animated values at that moment.

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

Input Schema

NameRequiredDescriptionDefault
timeNoOptional sequence time in seconds at which to evaluate keyframed values. Default: the static/current values.
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.9/5.0
Behavior4/5

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

Annotations already establish readOnly/idempotent/non-destructive/closed-world, so the description's job is to add substance, and it does: it specifies the exact value semantics and units (sequence pixels vs normalised, degrees, percent, blend mode name) and that keyframe state is reported per property. It omits failure behavior when a clip id/index is invalid, which is the remaining gap.

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?

Two sentences, front-loaded with the verb and resource, and the long field enumeration is justified because no output schema exists. The list is dense but every element maps to a returned value, so little is wasted.

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 seven fully documented parameters and no output schema, the description carries the return-value burden well by enumerating every returned property and its units. It is nearly complete for this read tool; only error/edge behavior and sibling routing are missing.

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 the baseline is 3. The description reinforces the meaning of `time` by pairing it with the keyframed-value reporting, but the clip_id/clip_index/track/sequence resolution precedence is documented entirely in the schema, not added here.

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?

The description opens with a specific verb and resource ("Read a video clip's Motion and Opacity settings") and then enumerates exactly which values come back, including units. That level of specificity makes it clearly distinct from the mutating siblings (set_clip_transform, animate_clip_transform, reset_clip_transform) without needing to name them.

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 only implied: "Pass `time` to read the animated values at that moment" tells the agent how to switch modes, but there is no explicit when-to-use versus get_transform_keyframes, get_clip_details, or get_clip_info. An agent must infer the routing from the field list rather than being told.

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