Skip to main content
Glama

Apply Gaussian Blur

apply_gaussian_blur

Adds a Gaussian Blur effect to a Premiere Pro video clip and sets its blurriness in one call, removing the effect if Premiere rejects the value and returning the effect index and read-back values.

Instructions

Add a Gaussian Blur effect to a video clip and set its blurriness in one call (apply_video_effect + set_effect_parameter). If Premiere rejects a value the new effect is removed again and the call fails. Returns effect_index, legacy and the values 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": {
      "blurriness": "<blurriness>"
    },
    "name": "apply_gaussian_blur"
  }
}

Input Schema

NameRequiredDescriptionDefault
legacyNoUse "Gaussian Blur (Legacy)" instead of the current "Gaussian Blur" effect. Default false; implied by dimensions or repeat_edge_pixels.
clip_idNoStable clip id (from get_sequence_structure / list_clips). Preferred.
blurrinessYesBlur amount in the effect's own units: Amount (current Gaussian Blur) or Blurriness (legacy). 0 = none.
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.
dimensionsNoBlur direction. Only the legacy effect has it, so giving it selects the legacy effect.
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.
repeat_edge_pixelsNoAvoid dark edges by repeating the border pixels. Only the legacy effect has it, so giving it selects the legacy effect.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing the failure path: if Premiere rejects a value, the newly added effect is removed and the call fails. It also names the return payload (effect_index, legacy, values read back). It does not address what happens on repeated invocation, even though idempotentHint=false.

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 short sentences, front-loaded with the action and the composition it replaces, then failure semantics, then return values. No filler and nothing buried.

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?

For a 10-parameter mutation tool this covers the essential extras: composite behavior, rollback on rejection, and return keys, on top of a fully documented schema. Minor gap around repeat-invocation semantics given idempotentHint=false.

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 baseline is 3. The description confirms the singular required parameter (blurriness) is set in the same call, but adds no syntax or unit detail beyond what the schema already documents.

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 ("Add a Gaussian Blur effect to a video clip") plus the distinctive scope: it composes apply_video_effect + set_effect_parameter in one call. An agent can immediately tell this apart from the two generic siblings it names.

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?

The parenthetical "(apply_video_effect + set_effect_parameter)" tells the agent this is the one-shot alternative to the two-step composition, which is real routing guidance. It stops short of explicit exclusions, e.g. when to prefer the generic apply_video_effect for non-blur parameters.

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