Skip to main content
Glama

Set clip anti-flicker

set_clip_anti_flicker
Idempotent

Sets a clip's Motion Anti-flicker Filter (0-1) to soften thin horizontal lines that flicker on interlaced displays, clearing existing keyframes so one value holds for the whole clip.

Instructions

Set a video clip's Motion Anti-flicker Filter (0-1). Softens thin horizontal lines that flicker on interlaced displays. A parameter that is keyframed gets its keyframes removed first, so the new value holds for the whole clip. Returns the clip's transform.

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": {
      "amount": "<amount>"
    },
    "name": "set_clip_anti_flicker"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesAnti-flicker amount, 0 (off) to 1.
clip_idNoStable clip id (from get_sequence_structure / list_clips). Preferred.
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

B3.4/5.0
Behavior1/5

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

The description discloses a genuinely important behavior beyond the annotations: a keyframed parameter has its keyframes removed first, so the new value holds for the whole clip. However, that is a destructive update to existing keyframe data, which directly contradicts the destructiveHint=false annotation. The disclosure is valuable, but as written the definition conflicts with its structured safety signal, so it scores 1 and is flagged.

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?

Four short sentences, front-loaded with the action and value range, followed by purpose, the keyframe caveat, and the return value. Every sentence carries distinct information with no filler.

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?

Despite seven parameters, the schema fully documents clip/sequence identification and ordering, and the description adds the return value and the keyframe side effect, so an agent has what it needs. The only gap is that the destructive keyframe behavior is not reconciled with the annotation.

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%: amount's 0-1 range, clip_id vs clip_index preference, track_type default, and sequence resolution are all documented in the schema itself. The description adds the keyframe caveat relevant to amount but no additional parameter semantics, so the 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 (Set), a specific resource (a video clip's Motion Anti-flicker Filter), and the value domain (0-1). An agent can distinguish it from sibling setters like set_clip_transform or set_clip_opacity without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives context — anti-flicker softens thin horizontal lines on interlaced displays — which implies when the tool is relevant, but it never states when not to use it or names an alternative sibling. Usage is inferable from the property name rather than explicitly guided.

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