Skip to main content
Glama

analyze_label_sounds

Segment audio recordings automatically by labeling sound regions or silences, using adjustable thresholds for precise analysis and trimming.

Instructions

Automatically label regions of sound separated by silence.

A good starting point for segmenting a long recording: label every passage of sound, or with label_type="between" label the silences instead so they can be trimmed with label_delete_regions.

measurement, label_type, pre_offset, post_offset and label_text are new and not yet independently live-tested against a running Audacity — verified against the scripting reference and unit tests with mocked responses only. threshold_db/min_silence_duration/min_sound_duration predate this and are unaffected.

Args: threshold_db: Volume threshold to distinguish sound from silence (dB). Default: -30 min_silence_duration: Minimum duration of silence between sounds (seconds). Default: 0.5 min_sound_duration: Minimum duration of a sound region (seconds). Default: 0.1 measurement: How level is measured — peak, avg or rms. Default: peak label_type: What to label — before, after, around or between the sounds. Default: before pre_offset: Seconds to extend each label before the sound starts. Default: 0 post_offset: Seconds to extend each label after the sound ends. Default: 0 label_text: Text for each label. Default: Audacity's own default

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
label_textNo
label_typeNobefore
pre_offsetNo
measurementNopeak
post_offsetNo
threshold_dbNo
min_sound_durationNo
min_silence_durationNo
Install Server

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It does disclose operation semantics, label placement options, and a notable reliability caveat that several parameters are "not yet independently live-tested" and only mock-verified. However, it does not mention side effects on existing labels, whether a selection is required, or what the command ultimately returns.

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 organized into a one-sentence summary, a practical use case, a reliability caveat, and a clean Args list. It is longer than the minimum but every section contributes useful information, and the Args section is scannable.

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?

The description covers the operation, use case, parameter semantics, and even reliability caveats, which is unusually complete for a tool with no annotations and no output schema. It falls short only by not clarifying prerequisites such as existing selection/audio project state or whether existing labels are preserved or replaced.

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 coverage is 0%, so the description must compensate, and it does comprehensively: all eight parameters are individually explained with units, allowed values, and defaults. This adds real meaning beyond the bare schema fields, including threshold in dB, durations in seconds, and label_type options.

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?

The description opens with a specific verb and resource: "Automatically label regions of sound separated by silence." This uniquely distinguishes the tool from manual label tools like label_add or interval-based label_regular_intervals, and the additional label_type details clarify the exact scope.

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

Usage Guidelines4/5

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

It gives a clear use case: "A good starting point for segmenting a long recording," and explains when to use label_type="between" for trimming silences with label_delete_regions. It does not explicitly list when not to use it or name direct alternative tools, but the context is strong enough for an agent to select it appropriately.

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

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

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