Skip to main content
Glama

fix_words

Correct words in a take or clip by generating replacement speech in the same voice, inserting it at word edges, and writing matching video when new words fit the old timing.

Instructions

Correct what was said in a take or clip: ElevenLabs says the new words in the voice (default: The user's default voice, often a clone) with the sentences around them for the same tone, and Takes cuts them in at the word edges with the take's cleaned voice when there is one. old = the words as said (from the transcript; Takes transcribes the file first when it has no .words.json), or start/end in seconds. Writes generated/-fix-vN.wav, plus an .mp4 with the video when the new words fit the old time (speed 0.8-1.25x), so the take's times still hold. The lips do not move with the new words: say so when the fix is on camera.

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>",
      "new": "<new>"
    },
    "name": "fix_words"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoEnd, in seconds.
newYesThe words to say instead.
oldNoThe words to replace, as said.
fileNoOr a session file (an edit, an audio file).
nearNoWhen old is said more than once: about where, in seconds.
takeNoTake number.
modelNoElevenLabs model id. Default: the best one for the job.
speedNoSpeech speed 0.7-1.2. Default 1.
startNoStart, in seconds.
styleNoStyle exaggeration 0-1. Default: the voice's own.
voiceNoA voice name or id from the ElevenLabs account (voices). Leave out for the default voice (the user picks it in Plugins › Voices).
sessionYesSession: 'Project/folder', an absolute path or its id (from get_session). Old paths still work.
stabilityNoVoice stability 0-1. Default: the voice's own.
similarityNoSimilarity to the voice 0-1. Default: the voice's own.

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 are thin (readOnlyHint=false, destructiveHint=false, openWorldHint=true), so the description carries most of the burden and does: it discloses that output goes to a new versioned file generated/<file>-fix-vN.wav (non-destructive), that an .mp4 is only produced when the new words fit the old time, and that transcription runs first when no <stem>.words.json exists. It does not cover failure modes or what the return payload looks like.

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?

Purpose is front-loaded, but the middle is two run-on sentences that mix backends, parameters, and file outputs together ('ElevenLabs says the new words ... and Takes cuts them in at the word edges'). The information earns its place, yet the structure makes it harder to parse 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?

For a 14-parameter mutation tool with no output schema, the description covers the important ground: the two backends, the transcript requirement, the versioned output artifacts, and the on-camera caveat. Remaining gaps are the return value shape and error behavior, which are secondary given it names the produced files.

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 3 is the baseline, but the description adds real meaning: `old` is defined as the words as said from the transcript, with start/end in seconds as an alternative, and `near` is implicitly framed for repeated occurrences. It also constrains speed for the video path (0.8-1.25x), which slightly conflicts with the schema's 0.7-1.2 range and could confuse an agent.

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 clause states a specific verb and resource: 'Correct what was said in a take or clip.' It then distinguishes the two execution paths (ElevenLabs synthesis vs. Takes word-edge splicing), which separates it from siblings like change_voice or clean_voice. The dense, run-on phrasing slightly obscures the core statement, keeping it from a 5.

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 by the fix workflow (supply `new` plus either `old` or start/end) and it states when to warn the user about on-camera lip mismatch. However, it never names an alternative tool or an explicit when-not condition, e.g. when to use change_voice or import_take instead. Guidance is contextual only.

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