Skip to main content
Glama

Apply an audio effect to a clip

apply_audio_effect

Add a default audio effect to one audio clip by exact effect name; returns the new effect index, display name, match name, and parameters.

Instructions

Add an audio effect with default settings to one audio clip by its exact name (see list_audio_effects; case-insensitive, no partial match). Pass track_type "audio" when addressing the clip by position (the default is video, which fails with BAD_ARGS). A new audio effect goes last in the clip's effect list. Returns the new effect's effect_index, display name, match name and parameter list. For an effect on a whole audio track use apply_track_audio_effect.

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": {
      "effect_name": "<effect_name>"
    },
    "name": "apply_audio_effect"
  }
}

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.
track_typeNoUsed with track_index + clip_index when clip_id is not given. Default "video".
effect_nameYesExact audio effect name, case-insensitive, e.g. "Lowpass".
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.9/5.0
Behavior5/5

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

Beyond the annotations (which only say non-readonly, non-idempotent, non-destructive), it discloses that effects are appended last in the effect list, that settings are defaults, that matching is case-insensitive with no partial match, and that the wrong track_type yields BAD_ARGS. That failure mode and ordering side effect are exactly the kind of detail annotations cannot carry.

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 compact sentences, front-loaded with the action followed by the name/positioning caveats and the alternative. No sentence is redundant with the title or with another.

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?

With no output schema, the description compensates by naming what is returned (effect_index, display name, match name, parameter list). For a 7-parameter mutation tool, the match semantics, ordering, error mode and return shape are all present.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so effect_name, clip_id, track_index and sequence_id are already documented. The description adds one thing the schema does not: the default track_type of "video" causes BAD_ARGS for audio clips, turning a silent default into an explicit pitfall.

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+resource+scope: 'Add an audio effect with default settings to one audio clip by its exact name'. It also names the sibling it is not (apply_track_audio_effect for whole tracks), so an agent can route correctly without opening either schema.

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?

Explicitly points to list_audio_effects for name discovery, gives the track_type "audio" requirement when addressing by position, and redirects whole-track work to apply_track_audio_effect. When-to-use and when-to-use-something-else are both covered.

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