Skip to main content
Glama

Detect silence / dead air

detect_silence

Find silent stretches below a noise threshold for a minimum duration, returning timestamps, totals, and padded keep segments so you can plan jump cuts. Export keep lists as CSV or ffmpeg concat files.

Instructions

Find silent stretches (below a noise threshold for at least a minimum duration). Returns each gap with timestamps and totals, and optionally the inverse — padded 'keep' segments — so you can plan jump cuts or tighten a podcast. Can export the keep list as CSV or an ffmpeg concat-ready list.

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": {
      "path": "<path>"
    },
    "name": "detect_silence"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute path to a local audio or video file. ~ is expanded.
startNoOnly analyse from this time (seconds or HH:MM:SS).
durationNoOnly analyse this many seconds.
max_rowsNo
noise_dbNoAnything quieter than this counts as silence. Raise (e.g. -35) for noisy rooms.
overwriteNo
audio_streamNoWhich audio stream to use if the file has several (0 = first).
csv_output_pathNoWrite silences and keep segments to CSV.
min_silence_secondsNo
keep_padding_secondsNoBreathing room left around speech when building keep segments.
include_keep_segmentsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

readOnlyHint=false is consistent with the description's disclosure that the tool can export CSV / ffmpeg lists, and it additionally describes the result shape (gap timestamps plus totals, optional inverse keep segments). It does not mention overwrite behavior or that a CSV write is a side effect the agent should plan for, so it stops short of full disclosure.

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?

Two sentences, front-loaded with the detection rule and followed by the output shape and use case; almost every clause earns its place. The export sentence is slightly compressed into one line covering two formats.

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 11 parameters and no output schema, the description usefully fills the return-value gap (gaps with timestamps and totals, optional keep segments). It is adequate for correct invocation, though the file-writing side effect and the interaction between include_keep_segments and csv_output_path go unstated.

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 64%, and the description adds qualitative meaning only for the threshold ('below a noise threshold'), the minimum-duration gate, and keep-segment padding. Several parameters (start, duration, max_rows, audio_stream, overwrite) get no elaboration in the description, and the mention of an 'ffmpeg concat-ready list' export does not map cleanly to csv_output_path in the schema.

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 object — find silent stretches, defined precisely as audio below a noise threshold for at least a minimum duration — and names the return payload. This is clearly distinguishable from siblings like detect_clipping or measure_loudness.

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?

It supplies a downstream motivation ('plan jump cuts or tighten a podcast') and the export options, which implies when the tool is useful, but it gives no explicit when-to-use/when-not-to-use rule and never routes the agent to any sibling (e.g. measure_loudness for level work).

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