Skip to main content
Glama

truncate_silence

Remove or compress silent gaps in audio recordings to eliminate dead air and improve pacing. Configure volume thresholds and duration parameters to control silence detection and reduction.

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
threshold_dbNo
min_durationNo
truncate_toNo
compress_percentNo
actionNoTruncate
Behavior2/5

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

No annotations are provided, so the description carries full disclosure burden. While it mentions the operation applies to 'selected audio,' it fails to state whether the operation is destructive (modifies source), reversible, or what occurs if no silence meets the threshold. Critical safety/behavioral context for an audio editing operation is missing.

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 structure is logical with the purpose statement front-loaded, followed by the necessary Args documentation. While including defaults in the description text is slightly redundant with the schema's default values, it improves readability given the schema's lack of descriptions. No extraneous sentences are present.

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 the 5-parameter complexity and lack of annotations/output schema, the description adequately covers parameter meanings but leaves gaps regarding the operation's side effects, return behavior, and success/failure conditions. It mentions 'selected audio' but doesn't confirm if the selection must be pre-existing or if the tool handles selection errors.

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

Parameters5/5

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

With 0% schema description coverage (only titles present), the Args section in the description provides essential semantic meaning for all 5 parameters, explaining concepts like 'Volume below this is considered silence' for threshold_db and conditional usage for compress_percent. It fully compensates for the schema's lack of descriptions.

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 'Truncate[s] or compress[es] silence in the selected audio' with specific verbs and identifies the target resource (silence/dead air). However, it doesn't explicitly differentiate from the sibling tool 'edit_silence', which could cause confusion about which to use for silence manipulation.

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 phrase 'Great for removing dead air' provides implied context for when to use the tool, but lacks explicit guidelines on when to choose 'Truncate' versus 'Compress' actions, or prerequisites like requiring an active audio selection before invocation.

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/xDarkzx/Audacity-MCP'

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