Skip to main content
Glama

Save or export

file
Destructive

Save or export the open audio document: write edits as a new document, save to a path, or export slices, marker regions, or per-channel mono audio.

Instructions

Write the open file, as the person's File menu: save (Save Edit: the edit as a file of its own, the source untouched), save_as (to a path; its extension the container, the document's own rate, depth and channels), export_slices or export_marker_regions (a folder of files in the folder named), export_channels (a mono file for each lit channel, in a folder made in the folder named). Waits for the person's Return in the Library's band only if they asked SoundEdit to wait; the reply says where it went.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "command": "<command>"
    },
    "name": "file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNosave_as: the new file's path (.wav, .aif, .caf, .flac); the exports: the folder to make their folder in; ~ is home
commandYeswhat to write
wait_secondsNoseconds to wait for the person's Return (default 120)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false; the description adds real context beyond that, notably that it may block waiting for the person's Return in the Library band and that the reply reports the output location. It does not explain overwrite confirmation or what happens on timeout, which keeps it at 4.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core intent is front-loaded, but the body is one long colon-and-parenthesis-chained sentence that takes effort to parse, and the 'as the person's File menu' framing adds little. Nothing is redundant, yet the structure is harder to read than it needs to be.

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?

With no output schema, the description usefully notes that the reply says where files went, and it covers wait behavior and per-command destinations. It is complete enough to invoke correctly, though overwrite/failure behavior for a destructive write is left implicit.

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

Parameters3/5

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

Schema coverage is 100%, so both path and wait_seconds are already documented. The description adds that a save_as extension determines the container along with the document's own rate, depth and channels, but otherwise largely restates the path semantics already in the 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 names a specific verb (write) and enumerates every command's effect: save overwrites the open file, save_as writes a new path, export_slices/export_marker_regions produce a folder of files, export_channels writes one mono file per lit channel. This distinguishes the tool from siblings like edit or library without ambiguity.

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 routes between the five commands explicitly, including the key distinction that save leaves the source untouched (Save Edit) while save_as writes a new file, and that exports write into a folder made inside the named folder. It does not state when to avoid the tool or point at sibling alternatives, so it stops short of 5.

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