Skip to main content
Glama

project_export_audio

Export an Audacity project's audio to a file. Choose the output format via the file extension (wav, mp3, ogg, flac, aiff) and set the channel count.

Instructions

Export the project audio to a file. Format is determined by file extension.

MANDATORY: ALWAYS tell the user where the file will be saved BEFORE exporting. Example: "I'll save your audio to C:\Users\Name\Music\file.mp3"

NEVER save directly to the user's home folder (e.g. ~/file.mp3 or C:\Users\Name\file.mp3). ALWAYS save to a subfolder. If the user doesn't specify a path, call get_default_export_folder to get their Music folder and save there. Acceptable locations:

  • Music folder: ~/Music/file.mp3

  • Documents folder: ~/Documents/file.mp3

  • Desktop: ~/Desktop/file.mp3 NEVER save to the home folder root — this clutters the user's home directory.

Args: path: Absolute path for exported file. Extension determines format (wav, mp3, ogg, flac, aiff). num_channels: Number of channels (1=mono, 2=stereo). Default: 2

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
num_channelsNo
Behavior4/5

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

With no annotations, the description carries full burden. It discloses the export behavior and adds essential constraints like mandatory path announcement, prohibition on home-folder saves, and acceptable locations. However, it does not mention whether files are overwritten or what the return value is, leaving some behavioral gaps.

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 well-structured with purpose first, then critical mandatory instructions, acceptable locations, and parameter details. While somewhat long, every sentence carries essential operational information, and the use of bold headings and lists aids readability.

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?

For a two-parameter export tool, the description covers the main functionality, path rules, and parameter semantics thoroughly. It lacks explicit return value/error handling details and does not state overwrite behavior, but the provided guidance is sufficient for simple export tasks. No output schema exists, so some return information would improve completeness.

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?

The Args section explicitly describes both parameters: path as the absolute path with extension determining format (wav, mp3, ogg, flac, aiff), and num_channels with default 2 and clarification (1=mono, 2=stereo). This fully compensates for the schema having no property descriptions.

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 clearly states the tool exports project audio to a file, with format determined by file extension. This specific verb+resource distinguishes it from siblings like project_export_labels and project_import_audio.

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 provides clear operational context: mandatory user notification before export, never save to home folder, and accept only specified subfolders. It also references calling get_default_export_folder as an alternative when no path is given, though it doesn't explicitly contrast with other export 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