Skip to main content
Glama

label_import

Import labels from a standard Audacity label file by parsing tab-separated start, end, and text entries. Invalid lines are skipped and reported, so partial imports succeed.

Instructions

Import labels from a standard Audacity label text file (tab-separated start\tend\ttext per line; point labels have start == end).

There is no C++ import/export primitive for this in v4 (unlike v3's ImportLabels/ExportLabels scripting commands) - implemented here in pure Python instead, parsing the file directly and adding each label via the same primitives label_add_batch uses. Lines that don't parse as start/end/text are skipped and reported rather than failing the whole import.

Args: path: Absolute path to the labels text file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and discloses key behaviors: it parses the file directly, skips and reports unparseable lines rather than failing, and adds labels via the same primitives as label_add_batch. It does not mention whether labels are appended to an existing track or whether a label track must already exist, but the stated behavior is more transparent than most.

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 compact and front-loaded with the primary purpose and file format. The v3 comparison is slightly extra but provides useful rationale for the implementation. Each part contributes to understanding the tool's behavior.

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?

For a one-parameter tool with no output schema, the description is mostly adequate. It explains format, error handling, and the parameter. Missing material details include whether an existing label track is required or created, whether import appends or replaces existing labels, and what the return value is.

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?

Schema description coverage is 0%, so the description compensates with an Args section specifying that 'path' is the absolute path to the labels text file. It also explains the file format earlier, giving the parameter meaningful context beyond the bare schema.

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 states a specific verb and resource: 'Import labels from a standard Audacity label text file' and specifies the exact tab-separated format. It distinguishes itself from sibling label tools by explaining that it parses the file directly and uses the same primitives as label_add_batch, and from v3's ImportLabels command.

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 implies the tool is for file-based label import and explains why it exists (no C++ primitive in v4). However, it does not explicitly contrast it with alternatives like label_add, label_add_batch, or label_export, nor does it state when not to use it.

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/Audacity4-MCP'

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