Skip to main content
Glama

Cut silent sections

cut_silence

Detect and remove silent sections from a video, then concatenate the remaining segments. Adjust the silence threshold and minimum silence length to control which quiet spans are removed.

Instructions

Detect and remove silent sections from a video. Runs silencedetect to find quiet spans, then concatenates the remaining segments. Tune with noiseDb (threshold) and minSilence (minimum silence length to cut).

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": {
      "input": "<input>",
      "output": "<output>"
    },
    "name": "cut_silence"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesPath to the source video.
outputYesPath for the de-silenced output video.
noiseDbNoSilence threshold in dB (e.g. -30). Lower = stricter.
overwriteNoOverwrite the output file if it already exists.
minSilenceNoMinimum silence duration (seconds) to treat as cuttable.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose the internal pipeline: silencedetect locates quiet spans, then the remaining segments are concatenated. That is useful beyond the schema, but it omits important behavior such as whether the output is re-encoded, how overwrite conflicts are handled, and what the result looks like.

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 short sentences with the core action front-loaded and the tuning knobs placed last. There is no filler, though the parenthetical glosses on noiseDb and minSilence duplicate what the schema already states.

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 five-parameter, two-required tool with no annotations and no output schema, the description gives enough to call it correctly: the mechanism, the threshold, and the minimum-silence knob. It falls short on output/overwrite behavior and on how the concatenation affects the resulting file, which matters given there is no output schema.

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 all five parameters are already documented, including the 'Lower = stricter' hint for noiseDb. The description's 'Tune with noiseDb (threshold) and minSilence' restates the schema rather than adding new meaning, so the baseline of 3 applies.

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?

The description opens with a specific verb+resource pair, 'Detect and remove silent sections from a video,' and names the underlying operation (silencedetect plus concatenation). The operation is distinct enough from siblings like trim or concat that an agent can select it, though no sibling is named explicitly.

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?

Usage is only implied by the purpose itself — the agent can infer you call this when a video has dead air. There is no explicit when-to-use/when-not guidance and no comparison to alternatives such as trim or concat, so the agent must reason about the choice on its own.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.