Skip to main content
Glama

Silence a time range

mute_audio_range

Silence a segment of audio between two sequence times by writing Volume Level keyframes, useful for bleeping words. Acts on one clip or every overlapping clip on the given audio tracks.

Instructions

Silence audio between start_time and end_time (sequence seconds), e.g. to bleep a word, by writing Volume > Level keyframes: the current level at start_time - ramp, silence from start_time to end_time, back to the current level at end_time + ramp. Acts on one clip (clip_id or track_index + clip_index) or on every clip of the given audio tracks that overlaps the range. Returns the keyframes written per clip.

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": {
      "start_time": "<start_time>",
      "end_time": "<end_time>"
    },
    "name": "mute_audio_range"
  }
}

Input Schema

NameRequiredDescriptionDefault
rampNoRamp length on each side, in seconds. Default 0.03.
clip_idNoOne audio clip to act on.
end_timeYesEnd of the silence, sequence seconds.
clip_indexNo0-based position of the clip in its audio track.
start_timeYesStart of the silence, sequence seconds.
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
track_indexNoWith clip_index: one clip by position on this audio track.
sequence_nameNoSequence name; used only when sequence_id is not given.
track_indicesNoInstead of one clip: every clip on these audio tracks that overlaps the range.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

With readOnlyHint=false and destructiveHint=false already declared, the description adds real substance: it describes the exact automation shape written (current level at start_time - ramp, silence in between, restore at end_time + ramp) and that all clips overlapping the range are affected in track_indices mode. It also states the return payload ('keyframes written per clip'), which the annotations do not cover. The notable gap is how pre-existing keyframes in the range are handled, which matters given 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One front-loaded sentence opens with purpose and time range, then layers mechanism, targeting modes, and return value in a sensible order with no filler. It is dense and slightly run-on, with the targeting clause crammed into parentheses, but every clause carries information an agent needs.

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 9-parameter mutation tool with no output schema, the definition covers purpose, automation shape, all three targeting modes, and the return value, so an agent has enough to call it correctly. Missing is the edge-case behavior that a non-idempotent writer should disclose — overwriting or merging existing Volume keyframes in the range, and what happens if the range extends past a clip's bounds.

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 schema already carries most parameter meaning and baseline is 3. The description does add non-obvious semantics the schema cannot express — that clip_id and track_index+clip_index are alternative single-clip selectors and track_indices is a bulk mode — but the three targeting modes are all packed into one parenthetical and only lightly explained, which tempers the added value.

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+resource ('Silence audio between start_time and end_time') and immediately discloses the underlying mechanism (Volume > Level keyframes), which distinguishes it from the mute-flag siblings such as set_track_mute and from detect_silence_in_file. An agent can tell what this does and roughly how, 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 Guidelines4/5

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

Gives a concrete motivating use case ('e.g. to bleep a word') and, more usefully, spells out the three targeting modes — one clip by clip_id, one clip by track_index+clip_index, or all overlapping clips on the given tracks via track_indices — so the agent knows which parameter group to choose. It stops short of stating when not to use it (e.g. when a plain track mute is the intent), so it is clear context rather than full when/when-not guidance.

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