Skip to main content
Glama

Record narration

flow_narrate

Records narration to an .m4a file using local Kokoro (no key or quota) or Google AI Studio TTS (free key, daily limit), with voice, speed, and style controls.

Instructions

Record narration as an .m4a, free. The default engine: "kokoro" is Kokoro, a voice that runs on this computer: no key, no daily limit, any length, 28 English voices (flow_voices lists them; default am_michael) and a speed. The first Kokoro take downloads its model once (326 MB, about a minute). engine: "gemini" uses Google AI Studio's text-to-speech (the same voices Flow has, a free key in ~/.flow-mcp/gemini-key, a daily limit, takes a short style note); if that limit is used up the line is recorded with Kokoro and the result says so. Neither costs credits. Record a whole narration in one take; flow_assemble can lay it over a film.

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": {
      "project": "<project>",
      "text": "<text>"
    },
    "name": "flow_narrate"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesThe line to speak. About 2.5 words per second: 25 words fit 10 s, 75 words fit 30 s. Record a whole narration in one take.
speedNoKokoro only: speaking speed, 1 = normal. 0.9 is a calmer narrator pace.
styleNoDelivery note for the 'gemini' engine, e.g. 'slowly and warmly'. Keep it to a few words: long notes make the model ramble.
voiceNoVoice name from flow_voices for the chosen engine. Defaults: am_michael for Kokoro (try af_heart, af_bella, bf_emma), Charon for Google (Aoede, Gacrux...).
engineNo'kokoro' (the default) is Kokoro, a free voice that runs on this computer: no key, no quota, any length; the first take downloads its model once (326 MB). 'gemini' uses Google AI Studio's text-to-speech - the same voices Flow has, free on the AI Studio tier but with a daily limit, needs a key in ~/.flow-mcp/gemini-key; when that limit is used up the take is recorded with Kokoro instead and the result says so.kokoro
projectYesFolder for the narration audio.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: no credit cost on either engine, a one-time 326 MB model download (~1 minute) on the first Kokoro take, a daily quota on gemini, and — critically — automatic silent fallback to Kokoro when that quota is exhausted, with the result labeled accordingly. That fallback and the quota behavior are exactly the traits an agent cannot infer from readOnlyHint=false / openWorldHint=true.

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-loads purpose, price, and the default engine before the details, which is the right ordering for a model choosing a tool. It is dense and slightly run-on, and the engine paragraph duplicates the enum description in the schema, but roughly every sentence carries decision-relevant information.

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?

Covers the hard parts of a 6-parameter, dual-backend synthesis tool: cost, latency, quota, fallback, and voice sourcing. With no output schema it still leaves the return shape vague — it says the result 'says so' on fallback but not what a successful take returns (file path vs. asset reference) for flow_assemble to consume.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents text length-to-duration, speed, style, voice defaults, and the engine tradeoff. The description largely restates the engine and default-voice information rather than adding new parameter meaning, so the baseline of 3 applies.

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, and artifact: 'Record narration as an .m4a'. It explicitly separates itself from flow_voices (which lists the 28 voices) and flow_assemble (which lays the take over a film), so an agent can route without opening other schemas.

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 concrete selection criteria between the two engines — Kokoro for keyless/unlimited/local, gemini for Flow's voice set with a daily limit — plus the guidance to record a whole narration in one take and to use flow_voices for voice names. It stops short of stating when narration is the wrong tool (e.g. transcription vs. synthesis edge cases).

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