Skip to main content
Glama

clean_voice

Cleans a take's voice to sound like a proper mic by reducing echo, noise, clipping and hum, then applying EQ, compression and loudness. Use the resulting WAV as the take's voice in edits.

Instructions

Make a take's voice sound like a proper mic (the user's voice-cleanup: room echo, noise, clipping, hum, then EQ, compressor and loudness). The first call starts it in the background (about 15-60 s per minute of audio); get_session then shows 'voice' under the take, with 'file' when it is done: use that WAV as the take's voice in edits instead of the audio in the .mov. Later calls only change the settings (instant). The user sets the same in the app's player.

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": {
      "session": "<session>",
      "take": "<take>"
    },
    "name": "clean_voice"
  }
}

Input Schema

NameRequiredDescriptionDefault
onNofalse = use the original audio (keeps the cleaned files).
kindNocamera (default) or screen: the file with the voice.
takeYesTake number.
rerunNoClean again from the raw take.
sessionYesSession: 'Project/folder', an absolute path or its id (from get_session). Old paths still work.
loudnessNonormal = -14 LUFS (default), quiet = -18 LUFS (under music).
strengthNo0-1. How much of the cleanup: 1 = full (default), lower keeps some room.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2026.11.11
    • changedInput schema / properties / session / description
      Previous value: -"Session as 'Project/folder', an absolute path, or its id (from get_session). An old path still works after a rename or move."New value: +"Session: 'Project/folder', an absolute path or its id (from get_session). Old paths still work."
  2. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only say it is a non-read-only, non-destructive, closed-world tool; the description adds substantial context beyond that. It discloses async behavior with a runtime estimate (about 15-60 s per minute of audio), where the result surfaces (get_session shows 'voice' under the take, then 'file' when done), and that on=false preserves the cleaned files. It does not say what happens to the original audio or how failures surface, keeping it short of a 5.

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 key operation and scope are front-loaded in the first sentence, with lifecycle and output handling following in a logical order. The nested parentheticals make it dense and slightly run-on, but nearly every clause carries information an agent needs.

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 an async mutation tool with seven parameters and no output schema, the definition covers what an agent needs: how to kick it off, expected latency, how to poll, and what artifact to consume afterward. The remaining gap is failure and persistence behavior, which is minor relative to what is provided.

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 description coverage is 100%, so every parameter is already documented, including the loudness enum values and the strength range. The description reinforces the rerun/on semantics through the first-call-versus-later-call lifecycle, but adds no syntax or format detail beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource: cleans a take's voice (echo, noise, clipping, hum, EQ, compressor, loudness) and writes a WAV. That is far more concrete than a restatement of the name. It does not, however, differentiate itself from the sibling tools change_voice or design_voice, which an agent may reasonably confuse with this one.

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 explains the call lifecycle well: the first call starts the job in the background, later calls only change the settings instantly, and rerun re-cleans from the raw take. It also says to use the resulting WAV in edits instead of the .mov audio. What is missing is explicit routing guidance — when to prefer change_voice or design_voice, or when not to clean at all.

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