Skip to main content
Glama

detect_silence

Find silent stretches in sequence audio and return padded timeline ranges ready for removal, helping automate jump cuts and tighten edits.

Instructions

Find silent stretches in the sequence audio (ffmpeg). Returns timeline ranges with padding already applied, ready for remove_ranges.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "detect_silence"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNo
startNo
paddingNoSeconds of breathing room kept on each side
sequenceNoSequence name or ID. Defaults to the active sequence.
minSilenceNo
thresholdDbNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose two useful traits: the work is done via ffmpeg and returned ranges already include padding. It does not say whether the operation is read-only and non-mutating, whether analysis covers the whole sequence or only start/end, or whether units are seconds or frames.

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?

Two short sentences, front-loaded with the action and resource, with the most decision-relevant fact (output is ready for remove_ranges) placed second. No filler wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With six optional parameters, no annotations and no output schema, the description should say more about what a returned 'timeline range' looks like (object shape, units) since that dictates whether remove_ranges can consume it directly. As written it covers purpose and the padding behavior but leaves the analysis-window parameters and return structure underspecified.

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

Parameters2/5

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

Only 33% schema coverage (sequence and padding are documented; start, end, minSilence and thresholdDb are not). The description adds real meaning for padding by saying it is already applied to the output, preventing an agent from double-padding, but it explains nothing about the analysis window (start/end) or the meaning of minSilence and thresholdDb defaults.

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 ('Find silent stretches in the sequence audio') and names the implementation engine (ffmpeg). It also implicitly distinguishes itself from the sibling remove_ranges by framing its output as input to that tool, so an agent can tell detection from removal without opening a 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?

The 'ready for remove_ranges' clause gives a clear workflow context: call this first to get ranges, then pass them to remove_ranges. There is no explicit when-not-to-use guidance (e.g., when a manually marked range already exists, or when audio has no speech track), which keeps it from a 5.

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