Skip to main content
Glama

Set several parameters of an effect

set_effect_parameters
Idempotent

Sets multiple static effect parameters in a single call, returning per-parameter results and reporting failures without aborting remaining updates.

Instructions

Set several static parameters of one effect in a single call. Each entry names a parameter (param_name or param_index) and its value. Returns per entry ok, previous_value, the read-back value and applied; entries that fail (e.g. animated parameters) are reported with ok false and an error without aborting the rest.

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": {
      "parameters": "<parameters>"
    },
    "name": "set_effect_parameters"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.
parametersYesParameters to set, each {param_name or param_index, value}; value as in set_effect_parameter.
track_typeNoUsed with track_index + clip_index when clip_id is not given. Default "video".
effect_nameNoEffect display name or match name, case-insensitive, e.g. "Gaussian Blur" or "Motion". The first match is used. Ignored when effect_index is given.
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
track_indexNo0-based track index (0 = V1 or A1).
effect_indexNo0-based index of the effect in the clip's effect list (from list_clip_effects). Use it when the clip has two effects with the same name.
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

A3.7/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing the per-entry return fields (ok, previous_value, read-back value, applied) and, crucially, that failures are isolated — a bad entry returns ok false with an error without aborting the remaining entries. The animated-parameter failure mode is also flagged. It is consistent with idempotentHint and destructiveHint=false, though it does not discuss permission or undo considerations.

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?

Three sentences, front-loaded with the action and scope, then entry shape, then return/failure semantics. No filler, though the final sentence is dense and could be split for scannability.

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?

With nine parameters, no output schema, and multiple ways to target the clip, the description covers the essential gaps: batch semantics, per-entry results and partial-failure behaviour. Clip/effect resolution details are left to the schema's thorough field descriptions, which is a reasonable division of labour.

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% and already documents clip_id vs clip_index, effect_name vs effect_index and the value types, so the description is not required to compensate. It adds only the shape of each array entry and the static-only constraint, which the schema also conveys.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Set several static parameters of one effect") plus the batching scope ("in a single call"), which distinguishes it from a single-parameter setter. It never names the singular sibling set_effect_parameter, so the differentiation is inferred rather than stated.

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?

"Several ... in a single call" implies this is the batch path and "static" implies animated parameters are out of scope, but neither is framed as a when-to-use rule. The nearest alternatives (set_effect_parameter, set_effect_color_parameter) are never mentioned; the colour exclusion only appears in the schema.

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