Skip to main content
Glama

Keep the original voice on chosen lines

set_keep_original_lines

For a Completed localize_video job: choose the lines that keep the ORIGINAL voice (original audio at 100%, dubbed voice muted there; subtitles stay) and re-render the video. Free (no new voicing), but uses one of the job's re-renders. Send the full list each time; an empty list dubs every line again. Then poll get_localization_status for the new final_video_url.

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": {
      "job_guid": "<job_guid>",
      "block_ids": "<block_ids>"
    },
    "name": "set_keep_original_lines"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_guidYesjob_guid of one language from localize_video.
block_idsYesblock_id values from get_localization_lines to keep in the original voice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that the operation is free of voicing cost but consumes one of the job's re-renders, that the list is full-replacement ('send the full list each time'), and that an empty list re-dubs everything. It also describes the audio-mix outcome and that subtitles are untouched, which the annotations (readOnly=false, idempotent=false, destructive=false) do not convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences, front-loaded with the precondition and the core effect, then cost/quota caveats, then the next step. Every sentence carries actionable information with no filler.

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?

There is no output schema, and the description compensates by naming the follow-up tool and the field the agent should look for (new final_video_url). For a two-parameter mutation with quota implications, nothing essential to correct invocation is 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 parameters are already documented; the description nevertheless adds behavior the schema lacks, namely the full-replacement semantics of block_ids and the empty-list edge case. It adds real meaning beyond the field descriptions without detailing id formats or the 5000 cap.

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?

States a specific verb (choose lines to keep original voice) plus the concrete effect (original audio at 100%, dub muted, subtitles retained, video re-rendered) and the exact precondition (a Completed localize_video job). An agent can tell this apart from line/voice manipulation siblings without opening the schema.

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?

Gives a clear precondition ('For a Completed localize_video job') and an explicit follow-up step ('poll get_localization_status for the new final_video_url'). It does not explicitly contrast with ai_keep_original_lines or state when not to use this tool, so guidance is clear but not exhaustive.

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.