Skip to main content
Glama

generate_speech

Convert written text into natural English narration audio using Gemini TTS, then save it as a WAV file for local use.

Instructions

Generate natural English narration audio using Gemini TTS. The default voice is Algenib with a rapid-fire, slightly smiling, energetic delivery and a neutral English accent. The resulting audio is saved as a WAV file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesThe exact script that should be spoken. Do not include instructions or explanations.
styleNoOptional additional speaking style instructions.
voiceNoGemini TTS voice. Defaults to Algenib.Algenib
filenameNoOptional filename without extension. Example: college-vs-university

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses key behavioral outcomes: the audio is generated via Gemini TTS, uses a specific default voice, and is saved as a WAV file. It could mention return behavior or file location, but the core side effect is explicit.

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?

The description is concise, front-loaded with the main action, and contains no redundant or filler text. The extra voice detail is relevant and placed naturally.

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?

For a simple generation tool with no output schema, the description is mostly complete: it states the action, default voice, output format, and optional filename. It does not specify the returned value or default file name behavior, but this is a minor gap given the sibling get_audio_files context.

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 coverage is 100%, so the baseline is 3. The description adds helpful color about the default voice and output format, but the parameters themselves are already well documented in the schema.

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?

The description clearly states a specific action ('Generate natural English narration audio') and resource ('using Gemini TTS'), and differentiates from the sibling tool get_audio_files by focusing on creation rather than retrieval.

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?

The description implies when to use the tool—when speech audio needs to be generated—but does not explicitly contrast it with get_audio_files or state when not to use it. Usage is inferable but not directly guided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tungtuantran/gemini-tts-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server