Skip to main content
Glama

reframe_clip

Render a stabilized, keyframed rectilinear 16:9 or 9:16 MP4 straight from raw dual-fisheye Insta360 .lrv or .insv footage, with IMU horizon lock and camera moves.

Instructions

Render a FlowState-stabilized (1000 Hz SLERP + rolling shutter), keyframed rectilinear 16:9 or 9:16 MP4 directly from raw dual-fisheye Insta360 .lrv or .insv footage.

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": {
      "input_path": "<input_path>",
      "output_path": "<output_path>",
      "keyframes": "<keyframes>"
    },
    "name": "reframe_clip"
  }
}

Input Schema

NameRequiredDescriptionDefault
crfNox264 CRF quality (default 18).
endNoTrim end in seconds (defaults to last keyframe t).
satNoSaturation multiplier for built-in grade (default 1.12).
modeNoYaw stabilization mode (default world).
gradeNoApply built-in I-Log preview grade or leave raw (default ilog).
no_rsNoDisable 8-band vertical rolling shutter compensation.
startNoTrim start in seconds (defaults to first keyframe t).
widthNoOutput width in pixels (default 1280).
heightNoOutput height in pixels (default 720).
warmthNoWarmth multiplier for built-in grade (default 1.0).
no_stabNoDisable IMU horizon stabilization.
lut_pathNoOptional .cube 3D LUT path (overrides built-in I-Log curve).
keyframesYesOrdered camera keyframes: [{t, yaw, pitch, roll, fov, ease}].
input_pathYesPath to Insta360 .lrv or .insv clip.
smooth_panNoGaussian smoothing in seconds for 3+ keyframes (default 0.35).
yaw_smoothNoYaw-follow smoothing sigma in seconds (default 1.2).
output_pathYesOutput MP4 path.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations at all, the description carries the full burden, and it discloses only pipeline internals (1000 Hz SLERP, rolling shutter compensation, stabilization) — which is really restated purpose. It says nothing about cost or duration of a render, whether an existing output_path file is overwritten, GPU/CPU requirements, or how failures are surfaced. For a heavyweight mutation that writes a file, those omissions are significant.

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?

A single front-loaded sentence with the verb first and zero filler; every clause adds a distinguishing qualifier. It is dense with jargon (SLERP, FlowState, rectilinear) but not padded, and it could be broken into purpose + requirements for readability.

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

Completeness3/5

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

For a 17-parameter render tool with no annotations and no output schema, the definition covers what is produced but not what is returned (output path echo, duration, progress) or what preconditions must hold. It is adequate to know what the tool does, but thin for invoking it confidently end-to-end.

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% and every parameter carries its own description and default, so the schema already does the heavy lifting. The description adds only indirect hints — '16:9 or 9:16' gestures at width/height, 'keyframed' at the keyframes array — without explaining syntax, units, or interactions between grade/lut_path or no_stab/no_rs. Baseline 3 applies.

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 (Render) plus a precisely scoped resource: a FlowState-stabilized, keyframed, rectilinear 16:9 or 9:16 MP4 produced directly from raw dual-fisheye Insta360 .lrv/.insv footage. The input-format and output-format constraints make it unmistakable against the inspect_* siblings, which only read metadata, and against export_resolve_fusion.

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?

There is no explicit when-to-use, when-not-to-use, or alternative routing. The phrase 'directly from raw ... footage' implies this is the render step for unstitched source files, but the agent must infer that, and nothing states prerequisites (e.g., IMU data present in the file) or which sibling should precede it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.