Skip to main content
Glama

List keyframes of a parameter

list_keyframes
Read-onlyIdempotent

Retrieves an effect parameter's keyframes in time order, returning index, time, value, and whether values vary, so you can inspect animation or confirm a static parameter.

Instructions

List the keyframes of one effect parameter in time order: index, time and value, plus supports_keyframes, time_varying and (for a static parameter) its value. Interpolation types cannot be read back from Premiere. For Motion/Opacity keyframes of a clip get_transform_keyframes gives a friendlier view.

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

Input Schema

NameRequiredDescriptionDefault
clip_idNoStable clip id (from get_sequence_structure / list_clips). Preferred.
time_baseNoHow times are measured. "sequence" (default): sequence time, seconds from the start of the timeline. "clip": clip source time, seconds from the start of the source media (the unit Premiere stores keyframes in). Times in the result use the same base. The sequence-to-source conversion ignores clip speed: on a speed-changed or reversed clip use "clip".
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.
param_nameNoParameter display name, case-insensitive, e.g. "Blurriness". The first match is used. Ignored when param_index is given.
track_typeNoUsed with track_index + clip_index when clip_id is not given. Default "video".
effect_nameNoEffect display name or match name, case-insensitive, e.g. "Gaussian Blur" or "Motion". The first match is used. Ignored when effect_index is given.
param_indexNo0-based parameter index (from get_effect_parameters). Required for parameters with an empty display name.
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
track_indexNo0-based track index (0 = V1 or A1).
effect_indexNo0-based index of the effect in the clip's effect list (from list_clip_effects). Use it when the clip has two effects with the same name.
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.2/5.0
Behavior4/5

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

Annotations already declare this as a read-only, idempotent, non-destructive operation, so the safety profile is covered. The description adds genuinely new behavioral context: results are in time order, parameters may be static or time-varying, and interpolation types are not readable back from Premiere, which sets an expectation about data loss an agent might otherwise assume exists.

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?

Two sentences, zero filler. The return shape is front-loaded ahead of the caveat and the sibling routing pointer, which is the right ordering for an agent scanning for purpose first.

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 11 parameters and no output schema, the description carries the burden of explaining return values, and it does so by listing the fields returned. The remaining gap is minor: it does not address behavior when the parameter has no keyframes or how the static-value case is represented.

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 the sequence/clip time_base distinction and the clip_id-vs-clip_index preference, is already documented in the schema. The description adds no parameter-specific meaning beyond that, which is the correct baseline when the schema does the work.

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 states a specific verb and resource ("List the keyframes of one effect parameter in time order") and enumerates what is returned (index, time, value, supports_keyframes, time_varying, static value). It explicitly distinguishes itself from get_transform_keyframes, so an agent can route between the two without opening a 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?

It names an alternative and the condition that selects it: use get_transform_keyframes for Motion/Opacity keyframes of a clip. It stops short of stating prerequisites, such as needing to resolve the effect parameter first via get_effect_parameters, but the primary routing decision is covered.

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