Skip to main content
Glama

Narrate

narrate
Destructive

Adds offline voiceover to a video: speaks each line at its timestamp or marker over the audio and exports an SRT. Uses built-in Windows voices.

Instructions

Offline voiceover with the built-in Windows voices: speaks each line at its time or marker over the audio, plus an SRT.

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": {
      "video": "<video>",
      "lines": "<lines>"
    },
    "name": "narrate"
  }
}

Input Schema

NameRequiredDescriptionDefault
duckNoDuck the original audio (default true).
rateNoDefault 1.
linesYes
videoYesPath to the video.
voiceNoVoice name or part (doctor lists them).
outputNoOutput path; default SCREENCAST_HOME/edits.
overwriteNoReplace an existing output.

Output Schema

NameRequiredDescriptionDefault
outputPathYesPath of the file written.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.54.0
    • changedInput schema / properties / output / description
      Previous value: -"Optional output path. Defaults under SCREENCAST_HOME/edits."New value: +"Output path; default SCREENCAST_HOME/edits."
    • changedInput schema / properties / overwrite / description
      Previous value: -"Allow replacing an existing file at the output path (default false)."New value: +"Replace an existing output."
  2. Addedv0.47.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and openWorldHint=false, so safety framing is partly covered; the description's 'offline' corroborates the openWorld hint and 'over the audio' hints at mixing/ducking. However, it never explains the destructive dimension — that output may replace an existing file (overwrite) or what the default output location is — leaving the most consequential behavior undisclosed.

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?

A single tightly packed sentence, front-loaded with the core action and output artifacts, with no filler. The clause 'at its time or marker' is slightly compressed but still parseable.

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

Completeness3/5

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

With an output schema present, return values need no explanation, and annotations cover the safety profile, so the remaining burden is modest. Still, for a 7-parameter, destructive-by-default write tool, the description omits any mention of overwrite behavior or the default output location, leaving a meaningful gap for correct invocation.

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 86%, so the baseline is a 3; the description earns a notch more by clarifying the purpose of the lines array ('speaks each line at its time or marker'), which explains the t-vs-marker alternatives the schema only lists flatly. It says nothing about duck, rate, or voice selection beyond what the schema already covers.

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 output ('speaks each line ... plus an SRT') and names the enabling mechanism ('built-in Windows voices', 'offline'), so an agent can tell this synthesizes voiceover rather than subtitles. It stops short of naming a sibling like burn_subtitles to draw the boundary explicitly.

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 only implied: 'offline' plus 'built-in Windows voices' tells the agent this runs without network/TTS keys, but there is no explicit when-to-use, when-not, or alternative (e.g., subtitle burning vs. voiceover). The agent must infer selection criteria.

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