Skip to main content
Glama

truncate_silence

Truncate or compress silent sections in audio files using configurable threshold, minimum duration, and target length or compression percentage. Ideal for removing dead air.

Instructions

Truncate or compress silence in the selected audio. Great for removing dead air.

Args: threshold_db: Volume below this is considered silence (dB). Default: -40 min_duration: Minimum silence duration to act on (seconds). Default: 0.5 truncate_to: Truncate silence to this duration (seconds). Default: 0.3 compress_percent: Compress silence by this percentage (only for Compress action). Default: 50 action: "Truncate" or "Compress". Default: "Truncate"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionNoTruncate
truncate_toNo
min_durationNo
threshold_dbNo
compress_percentNo
Behavior3/5

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

No annotations are provided, so the description carries full burden. It describes parameters but lacks details on whether the operation is destructive, how the selection is affected, or undo behavior. The phrase 'in the selected audio' provides some context but is insufficient.

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?

The description is brief (one sentence plus a list) and structured. The list is clear and easy to parse. The initial sentence could be more precise, but overall it is efficient.

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?

Given 5 parameters and no output schema or annotations, the description covers parameters well but omits important behavioral context (e.g., if it modifies the track or selection, prerequisites, undoability). It is adequate but not complete.

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

Parameters4/5

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

The Args section adds meaningful explanations beyond the schema names and defaults, including units (dB, seconds) and action-specific behavior (compress_percent only for Compress). However, the action parameter's two options are not explained.

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 clearly states the tool truncates or compresses silence in selected audio, with a practical use case (removing dead air). It is specific but does not explicitly differentiate from related sibling tools like edit_silence.

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?

The description suggests when to use it (removing dead air) but offers no guidance on when not to use it or alternatives. The action parameter is introduced without context on choosing between Truncate and Compress.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/robworks-code/audacity-mcp-max'

If you have feedback or need assistance with the MCP directory API, please join our Discord server