Skip to main content
Glama

screenstudio_narrate

Add neural voiceover to Screen Studio projects: pin spoken lines to timestamps or markers, mix ducked music, generate captions, and attach audio to the timeline.

Instructions

Voice over the video. Each line is spoken by a neural voice (edge-tts, an online Microsoft voice service, so the line text leaves this Mac) and pinned to a moment: sourceMs (stays on its moment through later edits) or playbackMs. pinToMarkers puts each line without a time 300ms after its recording marker (line i on marker i). Lines are mixed, optionally over Screen Studio library music ducked under speech (e.g. 'commercial/Product Uplift'), and attached as the project's audio track through the app. captions:true captions the voice: as Screen Studio's own captions when the recording has no microphone, otherwise as .srt and styled .ass files next to the project for burn-in. Returns each line's playback start/end, notes on what it chose and warnings when a line runs into the next or past the end. Call again without lines after changing the cut to re-sync. Screen Studio's own AI and recorded voiceover tracks are disabled in this app build. Re-sync keeps the last voice, rate, music, volumes and captions unless you pass new ones; music laid by screenstudio_music stays under the voice unless music is null.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rateNoPercent. Default 0; a re-sync keeps the last.
linesNo
musicNoLibrary track such as 'commercial/Product Uplift'; null removes music. A re-sync keeps the last.
voiceNoDefault en-US-AndrewMultilingualNeural; a re-sync keeps the last voice.
captionsNoCaption the narration. Without a microphone recording the words become Screen Studio's own captions; otherwise an .srt and a styled .ass are written next to the project for burn-in. Default false; a re-sync keeps the last.
musicVolumeNoDefault 0.14; a re-sync keeps the last.
projectPathYes
skipMarkersNoWith pinToMarkers: marker ids to leave out, such as the first take of a beat you redid. screenstudio_analyze lists the markers.
voiceVolumeNoDefault 1; a re-sync keeps the last.
pinToMarkersNoLine i without sourceMs or playbackMs starts 300ms after recording marker i (from screenstudio_desktop_perform markers:true or screenstudio_record_control addMarker). A marker with no input before the next one (a beat that failed before its first step) is skipped.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4.6/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 line text leaves the Mac via an online Microsoft voice service (matching openWorldHint), that the app's own AI/recorded voiceover tracks are disabled, how mixing/music ducking and caption file outputs work, and what the return value reports (start/end, choices, warnings). It also defines the re-sync state-retention rules.

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?

Front-loaded with the core purpose and organized into behavior, pinning, captions, return value, and re-sync. It is dense and long, with several multi-clause sentences, but virtually every clause carries decision-relevant information rather than padding.

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 10-parameter mutation that performs network speech synthesis and retimes audio, the description covers side effects, privacy, dependencies on marker-producing tools, caption output modes, return contents, and re-sync semantics. With no output schema, it still explains what comes back.

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 high (80%), so baseline is 3, but the description adds semantics the schema omits — notably the sourceMs vs playbackMs distinction ('stays on its moment through later edits') and the pinToMarkers 300ms/marker-i rule including the skipped-marker edge case. It does not explain line limits or the nested text constraints, so not a full 5.

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?

Opens with a specific verb+resource ('Voice over the video') and then distinguishes itself from siblings by noting Screen Studio's own AI and recorded voiceover tracks are disabled and that music laid by screenstudio_music stays under the voice. An agent can tell this apart from screenstudio_music and the voice/caption siblings without opening a 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 clear operational context: call again without lines after changing the cut to re-sync, re-sync keeps last voice/rate/music/volumes/captions unless overridden, and markers come from screenstudio_desktop_perform markers:true or screenstudio_record_control addMarker. It does not explicitly state when to prefer this over related narration siblings, so it stops short of full alternative routing.

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