Skip to main content
Glama

Auto Reframe a sequence

auto_reframe_sequence

Copy a sequence into another aspect ratio with Auto Reframe: it analyzes the picture and adds motion keyframes to keep the subject in frame, leaving the source sequence unchanged.

Instructions

Create a copy of a sequence in another aspect ratio using Auto Reframe, which analyses the picture and adds motion keyframes to keep the subject in frame. The ratio is numerator:denominator (9:16 vertical, 1:1 square, 4:5, 16:9). The source sequence is not changed; use set_sequence_frame_size to change a frame size without reframing. Analysis continues in the background after the call returns: poll get_sequence_render_status until analysis_done=true. Returns the new sequence (new_sequence) and analysis_done.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "numerator": "<numerator>",
      "denominator": "<denominator>"
    },
    "name": "auto_reframe_sequence"
  }
}

Input Schema

NameRequiredDescriptionDefault
new_nameNoName of the new sequence. Default "<name> - (<numerator>x<denominator>)".
numeratorYesAspect ratio numerator (width part), 1-100, e.g. 9 for 9:16.
denominatorYesAspect ratio denominator (height part), 1-100, e.g. 16 for 9:16.
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
motion_presetNoHow quickly the reframing follows motion. Default "default".
sequence_nameNoSequence name; used only when sequence_id is not given.
use_nested_sequencesNotrue = nest each clip so that existing motion adjustments are kept. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior4/5

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

Adds substantial behavior beyond the annotations: the operation is non-destructive to the source, analysis is asynchronous and continues after return, and the agent must poll a named sibling for completion. Annotations already declare readOnlyHint=false and destructiveHint=false, so the description complements rather than repeats them; it stops short of describing failure cases or what happens on cancel.

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?

Three dense sentences, front-loaded with what the tool does, then constraints/alternatives, then async follow-up and return values. Every clause carries information an agent needs; nothing is redundant.

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

Completeness5/5

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

For a mutating, asynchronous tool with no output schema, the description covers the non-destructive guarantee, the required polling loop, and the returned fields (new_sequence, analysis_done). The annotations plus 100%-covered schema fill the remaining gaps.

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 all seven parameters are already documented, including numerator/denominator examples and the motion_preset enum. The description's ratio examples (9:16 vertical, 1:1 square, 4:5) only lightly reinforce what the schema already says; it adds no meaning for new_name, motion_preset, or use_nested_sequences.

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?

States a specific verb and resource ('Create a copy of a sequence'), names the mechanism (Auto Reframe) and the transformation (another aspect ratio). It clearly separates itself from siblings by noting the source sequence is unchanged and naming set_sequence_frame_size as the non-reframing alternative.

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?

Explicitly routes the agent: use set_sequence_frame_size to change frame size without reframing, and use this tool when motion-keyframed reframing is wanted. It also prescribes the follow-up workflow (poll get_sequence_render_status until analysis_done=true), 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