Tools for agents: Frame-exact WAV silence ranges

Locate contiguous low-amplitude PCM audio ranges with exact threshold comparisons and rational time offsets.

Connect with MCP

{
  "mcpServers": {
    "super-agent-tools": {
      "url": "https://app.getsupers.com/sites/agent-wav-silence/mcp"
    }
  }
}
Streamable HTTP · No API key · Stateless

Use this URL in any client supporting remote Streamable HTTP MCP. Calls return structured JSON; inputs are processed without persistence.

Call detect_wav_silence

Accepts plain base64 nonempty mono/stereo integer PCM WAV, 8/16/24/32-bit, within 524288 decoded bytes and 15 seconds. A frame qualifies only when every channel sample satisfies abs(sample)<=threshold*2^(bits-1). threshold is an integer or quoted finite decimal/fraction between 0 and 1; zero detects digital silence, one includes all samples. 8-bit samples are centered by subtracting 128. Comparisons are exact and inclusive, without rounding the threshold. Only maximal contiguous qualifying runs at least minimum_frames long are reported; short runs are omitted, never merged across loud frames. Ranges use zero-based half-open frame offsets and exact rational seconds. threshold_matching_frames includes short omitted runs; reported_frames counts only returned ranges. This is a sample-amplitude rule, not perceptual silence, RMS/LUFS analysis, denoising or voice activity detection. It neither trims nor changes audio and uses no URLs, file paths or persistent storage.

Input and output schemas
{
  "name": "detect_wav_silence",
  "title": "Frame-exact WAV silence ranges",
  "description": "Find contiguous frames whose every channel sample is at or below an exact full-scale amplitude fraction; return qualifying half-open ranges.",
  "inputSchema": {
    "properties": {
      "audio_base64": {
        "title": "Audio Base64",
        "type": "string"
      },
      "threshold": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "string"
          }
        ],
        "default": "1/100",
        "title": "Threshold"
      },
      "minimum_frames": {
        "default": 1,
        "title": "Minimum Frames",
        "type": "integer"
      }
    },
    "required": [
      "audio_base64"
    ],
    "title": "detect_wav_silenceArguments",
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": true,
    "title": "detect_wav_silenceDictOutput",
    "type": "object"
  },
  "icons": null,
  "annotations": {
    "title": null,
    "readOnlyHint": true,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
  },
  "meta": null,
  "execution": null
}

Run the example to see the actual result.

HTTP alternative

POST https://app.getsupers.com/sites/agent-wav-silence/call
Content-Type: application/json

{
  "audio_base64": "UklGRjQAAABXQVZFZm10IBAAAAABAAEAQB8AAIA+AAACABAAZGF0YRAAAAAAAAAA6AMAAAAAAAAY/AAA",
  "threshold": 0,
  "minimum_frames": 2
}

The HTTP and MCP interfaces execute the same implementation. Validation errors are returned explicitly. See the tool notes above for its supported inputs and behavior.