Skip to main content
Glama

Fade clip in

fade_in_clip

Fades a clip in from transparent by creating opacity keyframes over a set duration, replacing only in-range keyframes while preserving existing fades.

Instructions

Fade a video clip in from transparent: opacity keyframes 0% at the clip's first frame and the clip's current opacity (or to) after duration seconds. Existing opacity keyframes inside that range are replaced; others (e.g. a fade-out) are kept. For a dissolve between two clips use the transitions tools. Returns the opacity keyframes.

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": {
      "duration": "<duration>"
    },
    "name": "fade_in_clip"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoOpacity reached at the end of the fade, percent. Default: the clip's current static opacity (100 if it is keyframed).
clip_idNoStable clip id (from get_sequence_structure / list_clips). Preferred.
durationYesFade length in seconds (clipped to the clip's duration).
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.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint false, destructiveHint false), yet the description adds real mutation semantics: keyframes inside the range are replaced while others such as a fade-out are preserved, and the call returns the opacity keyframes. It goes beyond the annotations without contradicting them.

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 sentences, front-loaded with the verb and mechanism, followed by the mutation side effects and the sibling exclusion. No filler and no repetition of the title.

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?

Despite 8 parameters, only `duration` is required and the targeting options are fully documented in the schema. The description covers mutation scope and return values, which is the right division of labor for a tool with no output schema.

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 coverage is 100%, so the baseline is 3. The description restates the `to` and `duration` behavior that the schema already documents, adding little new meaning such as edge cases for clip targeting when both clip_id and track/clip_index are supplied.

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?

Names a specific verb (fade in) plus resource (video clip) and states the exact mechanism: opacity keyframes from 0% at the first frame to the current opacity (or `to`) after `duration` seconds. This distinguishes it cleanly from fade_in_audio, fade_out_clip, and the transitions tools.

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?

Explicitly routes the dissolve-between-two-clips case to the transitions tools, which is the main ambiguity for this operation. It does not otherwise enumerate when to prefer this over sibling tools like fade_out_clip, but the verb makes the split obvious.

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