Skip to main content
Glama

Clean up the voices in a sound

isolate_voice

Clean the speech of a video or a sound: studio voice restoration reduces wind, traffic, music, a crowd, room echo and microphone noise. Where restoration suppresses speech, a safeguard keeps the original recording for that stretch, which may retain background noise. Listen to the new asset before replacing the original sound, especially on quiet speakers; its copied transcript is a timing guide, not proof that every word is audible. Pass startSeconds and endSeconds with the stretch the film uses of a long source: only that stretch is cleaned and charged. The new sound asset stays in step with the source: the whole source from its first second, or the stretch from startSeconds. To use it, put it on an audio track with the same at and duration as the clip whose sound it cleans, and set that clip's volume to 0: for the whole source, the clip's offset; for a stretch, the clip's offset minus startSeconds. It answers at once with a Job ID and the media is made in the background: start every generation you need, keep working, then call wait_for_jobs with all their Job IDs to get each Asset ID for patch_film. It uses no extra credits.

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": {
      "assetId": "<assetId>",
      "startSeconds": "<startSeconds>",
      "endSeconds": "<endSeconds>",
      "projectId": "<projectId>"
    },
    "name": "isolate_voice"
  }
}

Input Schema

NameRequiredDescriptionDefault
assetIdYesThe video or sound asset whose speech to clean: a ready asset with sound. Use the IDs search_assets gives.
projectIdYesThe project this call runs on without changing the open project. null (or leaving it out) uses the open project. wait_for_jobs takes the projectId of the calls that started the jobs.
endSecondsYesSource second where the stretch to clean ends, up to 30 minutes after startSeconds. null for both cleans the whole source.
startSecondsYesSource second where the stretch to clean starts, with endSeconds: the part the clips that play its sound use. Only that stretch is cleaned and charged. null for both cleans the whole source, which is then up to 30 minutes long.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / assetId / description
      Previous value: -"The video or sound asset whose speech to clean: a ready asset with sound, up to 30 minutes long. Use the IDs search_assets gives."New value: +"The video or sound asset whose speech to clean: a ready asset with sound. Use the IDs search_assets gives."
    • addedInput schema / properties / endSeconds
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Source second where the stretch to clean ends, up to 30 minutes after startSeconds. null for both cleans the whole source."
      +}
    • addedInput schema / properties / startSeconds
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Source second where the stretch to clean starts, with endSeconds: the part the clips that play its sound use. Only that stretch is cleaned and charged. null for both cleans the whole source, which is then up to 30 minutes long."
      +}
    • changedInput schema / required
      Previous value: -[
      -  "assetId",
      -  "projectId"
      -]New value: +[
      +  "assetId",
      +  "startSeconds",
      +  "endSeconds",
      +  "projectId"
      +]
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare this is not read-only, not destructive, not idempotent, and open-world. The description adds substantial behavior: asynchronous Job ID return, background generation, wait_for_jobs/Asset ID flow, a safeguard that keeps original audio where speech is suppressed, and a transcript caveat. The main weakness is the ambiguous cost language—'cleaned and charged' versus 'uses no extra credits'—which could mislead about credit usage.

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 purpose is front-loaded and most sentences carry necessary setup or integration information, but the description is dense and relies on semicolon-heavy sentences. The offset rule and the final credit sentence are especially compressed, and the 'no extra credits' fragment could be integrated more clearly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex, asynchronous media-generation tool with no output schema, the description covers the return value (Job ID), follow-up call (wait_for_jobs), resulting Asset ID, integration into patch_film, and important caveats. Nothing essential for calling it correctly appears missing.

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%, so the schema already documents all four parameters. The description still adds useful meaning beyond the schema: start/end select the source stretch used by the film, only that stretch is cleaned and charged, and it gives the offset arithmetic for aligning the new asset. It does not add much for assetId or projectId, but the extra alignment semantics justify above baseline.

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 first clause names the exact verb and resource ('Clean the speech of a video or a sound') and immediately specifies the cleanup type: studio voice restoration for wind, traffic, music, crowd, echo, and microphone noise. That is specific enough to distinguish it from generic audio-editing siblings such as apply_effect or split_sound.

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?

The description gives detailed procedural guidance: pass startSeconds/endSeconds for a long source, listen before replacing, place the new asset on an audio track with the same at/duration, and mute the original. It does not explicitly state when to choose this over an alternative voice-cleaning tool or when not to use it, but it provides clear context for use.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.