Skip to main content
Glama

Detect Silence Timestamps in Audio/Video

media_silence_detect
Read-only

Detect silence intervals in local audio or video files using FFmpeg and return exact start, end, and duration values for podcast or video editing.

Instructions

Analyze a local audio or video file with FFmpeg silencedetect filter and return exact silence intervals (startSec, endSec, durationSec) for podcast/video editing.

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": {
      "inputPath": "<inputPath>"
    },
    "name": "media_silence_detect"
  }
}

Input Schema

NameRequiredDescriptionDefault
noiseDbNoNoise floor threshold in dB (default: -30)
inputPathYesLocal audio or video file path
minSilenceSecNoMinimum silence duration in seconds (default: 0.5)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, and the description usefully adds that the work is done by the FFmpeg silencedetect filter and that results come back as discrete intervals with named fields (startSec, endSec, durationSec) — meaningful since no output schema exists. It stops short of disclosing processing cost on long files or failure behavior for unsupported/corrupt inputs.

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?

A single sentence that front-loads the action, the engine used, and the return shape, with no filler or repetition of schema details.

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 no output schema, the description compensates by naming the returned interval fields, and the annotations plus fully documented params cover safety and inputs. The remaining gap is behavioral edge cases (very large files, non-media inputs), which is a minor omission for an otherwise simple three-parameter read tool.

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%, with noiseDb, inputPath, and minSilenceSec each documented including defaults and ranges, so the schema carries the parameter burden. The description adds no interpretation of how noiseDb or minSilenceSec affect results, which is the baseline 3 for a fully documented schema.

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 names a specific verb-and-resource pair ('Analyze a local audio or video file with FFmpeg silencedetect filter') and states the concrete output ('silence intervals (startSec, endSec, durationSec)'), so the agent knows exactly what it gets back. It does not explicitly contrast itself with any sibling such as media_info, so it falls short of a 5.

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?

'for podcast/video editing' implies the usage context (finding dead air to cut), which is helpful framing. However, there is no explicit when-to-use/when-not guidance and no named alternative, leaving the agent to infer that this is for silence detection rather than general media inspection.

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