Skip to main content
Glama

Edit

edit

Apply commands to the open audio file—undo, cut, crop, trim, insert silence, nudge, or repeat—so each change lands in History and stays reversible.

Instructions

Edit commands on the open file, as the person's own: each lands in History and undoes with edit.undo. edit.undo — Undo edit.redo — Redo edit.cut — Cut edit.copy — Copy edit.paste — Paste edit.delete — Delete edit.trim — Trim edit.trimToStart — Trim to Start edit.trimToEnd — Trim to End edit.crop — Crop edit.insertSilence — Insert Silence (value: Length s, 0.10000000149011612 to 30, default 1) edit.padStart — Pad Start (Silence) (value: Length s, 0.10000000149011612 to 30, default 1) edit.padEnd — Pad End (Silence) (value: Length s, 0.10000000149011612 to 30, default 1) edit.trimSilence — Trim Silence (value: Threshold dB, -96 to -20, default -60) range.slideLater — Slide Audio Later Under Selection range.slideEarlier — Slide Audio Earlier Under Selection edit.copyToNew — Copy to New edit.selectAll — Select All edit.nudgeStartEarlier — Nudge Start Earlier edit.nudgeStartLater — Nudge Start Later edit.nudgeEndEarlier — Nudge End Earlier edit.nudgeEndLater — Nudge End Later edit.repeat — Repeat (value: Times ×, 2 to 16, default 2) edit.trimToPeak — Trim Beginning to Peak

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": "edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueNothe command's value, where it takes one (its range is in the list)
commandYesthe command's id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.2.2
    • changedInput schema / properties / command / enum
      Previous value: -[
      -  "edit.undo",
      -  "edit.redo",
      -  "edit.cut",
      -  "edit.copy",
      -  "edit.paste",
      -  "edit.delete",
      -  "edit.trim",
      -  "edit.trimToStart",
      -  "edit.trimToEnd",
      -  "edit.crop",
      -  "edit.insertSilence",
      -  "edit.padStart",
      -  "edit.padEnd",
      -  "edit.trimSilence",
      -  "range.slideLater",
      -  "range.slideEarlier",
      -  "edit.halveSelectionFromStart",
      -  "edit.halveSelectionFromEnd",
      -  "edit.doubleSelectionFromStart",
      -  "edit.doubleSelectionFromEnd",
      -  "edit.copyToNew",
      -  "edit.selectAll",
      -  "edit.nudgeStartEarlier",
      -  "edit.nudgeStartLater",
      -  "edit.nudgeEndEarlier",
      -  "edit.nudgeEndLater",
      -  "edit.repeat",
      -  "edit.trimToPeak"
      -]New value: +[
      +  "edit.undo",
      +  "edit.redo",
      +  "edit.cut",
      +  "edit.copy",
      +  "edit.paste",
      +  "edit.delete",
      +  "edit.trim",
      +  "edit.trimToStart",
      +  "edit.trimToEnd",
      +  "edit.crop",
      +  "edit.insertSilence",
      +  "edit.padStart",
      +  "edit.padEnd",
      +  "edit.trimSilence",
      +  "range.slideLater",
      +  "range.slideEarlier",
      +  "edit.copyToNew",
      +  "edit.selectAll",
      +  "edit.nudgeStartEarlier",
      +  "edit.nudgeStartLater",
      +  "edit.nudgeEndEarlier",
      +  "edit.nudgeEndLater",
      +  "edit.repeat",
      +  "edit.trimToPeak"
      +]
  2. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

The description adds real context beyond the annotations by disclosing that every edit lands in History and is reversible via edit.undo — which also explains why destructiveHint=false despite delete/crop/trim commands. Beyond that, it says nothing about selection requirements, what happens when no selection exists, or whether value defaults apply automatically.

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 lead sentence is front-loaded and efficient, and the value ranges make the list worthwhile. However, most list entries merely restate the command id and a title that the enum schema already provides, so roughly two-thirds of the lines add no information an agent can't already get from the schema.

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 24-command dispatcher, the definition covers the undo model and value ranges but omits selection preconditions, per-command preconditions (e.g. crop requires a range), and failure behavior. There is no output schema to lean on, so the remaining gaps are on the description.

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 coverage is 100% and the schema explicitly defers to 'the list' for value ranges, so the description must supply them — and it does, giving min/max/defaults for insertSilence, padStart, padEnd, trimSilence, and repeat. Range semantics are still absent for commands whose behavior depends on the current selection, and the value type (number vs. enum) is not reconciled beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence names the resource (the open file) and the effect (edit commands applied as the user's own), and the full command enumeration makes the operation set concrete. It does not explicitly contrast with siblings like process or set_selection, so an agent must infer the boundary, but the scope is unambiguous.

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?

Usage is implied through the command list: trim/crop/delete act on a selection, undo/redo manage History. There is no explicit when-to-use versus alternatives (e.g. process, set_selection, file), nor any statement about prerequisites such as an active selection.

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