Skip to main content
Glama

gflow_narrate

Synthesize a local narration audio file from text using Microsoft Edge Read Aloud or Google Gemini, with output saved inside the configured directory and no Flow credits used.

Instructions

Synthesize a local narration audio file. Narration text is sent to the selected provider (Microsoft Edge Read Aloud or Google Gemini); this uses no Flow credits. Gemini requires GFLOW_CLI_GEMINI_TTS_API_KEY. Output paths stay inside the configured output directory.

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": {
      "text": "<text>",
      "out_file": "<out_file>"
    },
    "name": "gflow_narrate"
  }
}

Input Schema

NameRequiredDescriptionDefault
rateNo+0%
textYes
pitchNo+0Hz
voiceNo
out_fileYes
providerNoedge

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.106.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden and does disclose several useful behavioral facts: no Flow credits are consumed, Gemini requires GFLOW_CLI_GEMINI_TTS_API_KEY, and output paths are confined to the configured output directory. It omits other mutation-relevant behavior such as whether an existing out_file is overwritten, whether the call performs network I/O with latency or rate limits, and what happens if the API key is missing.

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?

Three short sentences, front-loaded with the action, then the provider/credit context, then the auth and path constraints. Every sentence carries information; the only minor inefficiency is that the two provider names are parenthetical rather than tied to guidance on choosing between them.

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?

The presence of an output schema means return values need not be explained, and the description covers cost, auth, and path safety, which are the highest-risk facts for this tool. It is still incomplete for a six-parameter tool with zero schema coverage, since voice/rate/pitch semantics and overwrite behavior are left entirely unstated.

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

Parameters2/5

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

Schema description coverage is 0% across six parameters, so the description must compensate, and it only partially does: it clarifies the provider enum values and the containment rule for out_file. The remaining parameters (text, rate, pitch, voice) get no explanation of format or valid ranges beyond the bare schema defaults like "+0%" and "+0Hz", leaving voice selection and rate/pitch syntax undocumented anywhere.

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 opens with a specific verb and resource: "Synthesize a local narration audio file." It also names the two concrete backends (Microsoft Edge Read Aloud, Google Gemini) and states the credit cost, which distinguishes it from the paid generation siblings like gflow_generate_video. It stops short of naming a specific sibling it replaces, so it is clear but not fully differentiated.

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 verb and by the note that this path consumes no Flow credits, which lets an agent infer it is the free alternative to credit-consuming generation. However, there is no explicit "use this when" clause, no statement of when to prefer edge over gemini, and no prerequisites section beyond the API-key note for Gemini.

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