Skip to main content
Glama

Process

process

Apply audio DSP edits to the open file—gain, normalize, fades, pitch, stretch, and channel changes—with each action saved in History for undo.

Instructions

Process commands on the open file, as the person's own: each lands in History and undoes with edit.undo. dsp.gain — Gain (value: Gain dB, -24 to 24, default 0) dsp.normalizePeak — Normalize Peak (value: Peak dBFS, -24 to 0, default -1) dsp.normalizeLUFS — Normalize Loudness (value: Target LUFS, -36 to -6, default -14) dsp.fadeInLinear — Fade In (Linear) dsp.fadeInLog — Fade In (Log) dsp.fadeInS — Fade In (S-Curve) dsp.fadeInEqualPower — Fade In (Equal Power) dsp.fadeOutLinear — Fade Out (Linear) dsp.fadeOutLog — Fade Out (Log) dsp.fadeOutS — Fade Out (S-Curve) dsp.fadeOutEqualPower — Fade Out (Equal Power) dsp.dcOffset — Remove DC Offset dsp.invertPhase — Invert Phase dsp.reverse — Reverse dsp.silence — Silence dsp.stretch — Stretch (value: Length %, 25 to 400, default 100) dsp.stretchToBPM — Stretch to BPM (value: Tempo BPM, 30 to 400, default 120) dsp.pitchShift — Pitch Shift (value: Pitch st, -24 to 24, default 0) dsp.commitWarp — Commit at Library Tempo dsp.pitchFormants — Pitch: Preserve Formants dsp.bakeInPlace — Bake in Place dsp.swapChannels — Swap Left and Right dsp.monoMix — Convert to Mono (Mix) dsp.monoLeft — Convert to Mono (Left) dsp.monoRight — Convert to Mono (Right) dsp.moveChannelsUp — Move Channels Up dsp.moveChannelsDown — Move Channels Down dsp.removeChannels — Remove Channels dsp.duplicateChannels — Duplicate Channels dsp.addChannel — Add Channel dsp.channelLayout — Channel Layout (value: Layout , 0 to 2, default 1) dsp.normalizeRMS — Normalize RMS (value: RMS dBFS, -40 to 0, default -18) dsp.balance — Balance (value: Balance L−R, -100 to 100, default 0) dsp.midSideEncode — Mid/Side Encode dsp.midSideDecode — Mid/Side Decode dsp.monoToStereo — Convert to Stereo dsp.restampRate — Re-stamp Sample Rate (value: Rate Hz, 1000 to 768000, default 48000)

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

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. 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 it is a non-read-only, non-idempotent, non-destructive, closed-world mutation, so the safety profile is carried by structured data. The description adds real context the annotations lack: results are attributed to the user, each command lands in History, and undo is via edit.undo. It does not mention selection scope or error behavior.

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?

Behavior is front-loaded in one sentence, then the command catalog follows in a scannable one-line-per-command format. It is long, but every line carries unique parameter or capability information rather than filler.

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 enum tool with no output schema, the description covers purpose, undo pathway, and full per-command value semantics. The remaining gap is scope – whether commands apply to the whole file or the current selection – and what happens without an open file.

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 100%, but the schema only says the value's range 'is in the list' – the description is where that range actually lives, giving per-command unit, bounds, and default (e.g. Gain dB -24 to 24 default 0; Target LUFS -36 to -6 default -14). It also identifies which commands take no value at all, a distinction the schema cannot express.

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 description states a concrete verb and resource: it applies DSP commands to the open file, and the full command catalog makes the scope unambiguous. The generic name 'process' is rescued entirely by the description, though it never explicitly differentiates from siblings like eq or edit.

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?

It establishes that the operations act 'as the person's own' and are reversible via edit.undo, which implies a context of intentional, user-attributable file processing. However, it never says when to prefer this tool over eq, edit, channels, or tempo, and gives no prerequisites such as requiring an open file.

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