Skip to main content
Glama

Set clip frame blending

set_clip_frame_blend
Idempotent

Turn frame blending on or off for a video clip, switching between frame blending and frame sampling time interpolation. Use it to control motion blur behavior on video clips only.

Instructions

Turn frame blending on or off for a video clip. On is the same as time interpolation frame_blending; off returns the clip to frame_sampling. Use set_clip_time_interpolation to choose optical flow. Video clips only (BAD_ARGS for audio). Leaves the sequence active. Returns frame_blend and time_interpolation as read back.

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": {
      "enabled": "<enabled>"
    },
    "name": "set_clip_frame_blend"
  }
}

Input Schema

NameRequiredDescriptionDefault
clip_idNoStable clip id (from get_sequence_structure / list_clips). Preferred.
enabledYestrue = frame blending on, false = off (frame sampling).
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.5/5.0
Behavior4/5

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

Annotations already declare idempotent=true, destructive=false and readOnly=false, so the bar is lower. The description still adds real behavior beyond them: the on/off mapping to frame_blending vs frame_sampling, the BAD_ARGS failure mode for audio clips, and the fact that the sequence is left active and values are read back after the change.

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?

Five short sentences, each carrying a distinct fact (action, state mapping, alternative tool, eligibility/error, side effects/return), front-loaded with the core action. No filler.

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 7-parameter but mostly-optional tool with full schema coverage and no output schema, the description covers the state semantics, the alternative, the error condition, and what is returned (frame_blend and time_interpolation), leaving nothing an agent needs to call it correctly.

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 schema already explains clip_id, enabled, clip_index and the rest; the description's 'on = frame_blending, off = frame_sampling' restates the enabled parameter's schema note rather than extending it. Baseline 3 applies when the schema carries parameter meaning.

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 ('Turn frame blending on or off for a video clip') and immediately maps the two states to underlying interpolation modes, distinguishing it from the related interpolation setter.

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?

Names the alternative explicitly ('Use set_clip_time_interpolation to choose optical flow') and gives a clear eligibility constraint ('Video clips only (BAD_ARGS for audio)'), so an agent knows both when to pick this tool and when to reach for the sibling.

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