Skip to main content
Glama

compressor

Apply dynamic range compression to even out volume differences in audio. Control threshold, ratio, attack, and release settings for mastering, mixing, or voice processing.

Instructions

Apply dynamic range compression. Evens out volume differences.

For mastering, use ratio 1.5-2:1 with attack > 80ms to preserve transients. For podcasts/voice, use ratio 4-8:1 with use_peak=True for tighter control. Higher ratios (4:1+) and fast attacks are mixing tools, not mastering tools.

WARNING: normalize=True will re-peak your audio to 0 dB after compression, which can make loud audio even louder. Use loudness_normalize() instead for proper LUFS-based loudness control.

Args: threshold_db: Level above which compression starts (dB). Default: -12 noise_floor_db: Level below which audio is not boosted (dB). Default: -40 ratio: Compression ratio (e.g. 2.0 = 2:1). Default: 2.0 attack_time: How fast compressor engages (seconds). Default: 0.2 release_time: How fast compressor releases (seconds). Default: 1.0 normalize: Normalize to 0dB peak after compression. Default: False use_peak: Compress based on peaks instead of RMS (better for voice/podcast). Default: False

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
threshold_dbNo
noise_floor_dbNo
ratioNo
attack_timeNo
release_timeNo
normalizeNo
use_peakNo
Behavior4/5

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

With no annotations provided, the description carries the full burden. It excellently discloses the critical side effect of normalize=True ('will re-peak your audio to 0 dB') and domain-specific behavior (transient preservation, RMS vs peak detection). Deducted one point because it does not explicitly state whether the operation modifies the current selection in-place or returns new audio data.

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?

Perfectly structured and front-loaded: purpose statement → use-case guidelines → critical warning → parameter reference. No filler text; every sentence provides actionable domain knowledge or safety warnings. Appropriate length for the complexity of 7 parameters.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given high complexity (7 optional parameters, specialized audio domain, 0% schema coverage), the description is remarkably complete. It covers purpose, domain-specific usage patterns, dangerous flag combinations with alternatives, and full parameter semantics. Absence of output schema is mitigated by clear indication that audio is modified.

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?

Schema has 0% description coverage (only titles). The Args section fully compensates by documenting all 7 parameters with units (dB, seconds), semantic meaning ('Level above which compression starts'), format examples ('2.0 = 2:1'), and usage context ('better for voice/podcast'), exceeding what the schema provides.

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?

Opens with specific verb-object pair ('Apply dynamic range compression') and immediate outcome ('Evens out volume differences'). Clearly distinguishes from siblings like limiter or normalize through the detailed WARNING about normalize=True behavior and explicit reference to use loudness_normalize() instead for LUFS-based control.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit contextual guidance for two distinct use cases ('For mastering...' vs 'For podcasts/voice...') with specific parameter values. Explicitly names an alternative tool ('Use loudness_normalize() instead') and clarifies when NOT to use certain settings ('Higher ratios... are mixing tools, not mastering tools').

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