OpenRouter Voice MCP
OpenRouter Voice MCP
Un pequeño servidor MCP (Python + FastMCP, stdio) que convierte texto en archivos de audio locales usando modelos de voz de OpenRouter. Modelo por defecto:
fish-audio/s2.1-pro-free:freeDiseñado para locución de videos en vietnamita: Codex o Claude Code escribe un guion de narración, llama a render_voiceover() y recibe una ruta absoluta a un MP3 que puede pasar directamente a FFmpeg.
Codex / Claude Code
| MCP stdio
OpenRouter Voice MCP
| HTTPS
OpenRouter -> fish-audio/s2.1-pro-free:free
|
MP3 bytes -> local file -> FFmpeg / video pipelineSin PyTorch, CUDA, descargas de modelos locales, LLM local ni puerto HTTP local. Solo Python, tres paquetes puramente Python y una clave API de OpenRouter.
Instalación
Requisitos: Python >= 3.10 en PATH, además de ffmpeg si quieres que render_long_voiceover() concatene segmentos. Obtén una clave API gratuita en https://openrouter.ai/keys.
Un solo comando hace todo: venv, dependencias, .env, pruebas de aceptación y registro con Claude Code y Codex:
git clone https://github.com/Trandu1/mcp_voice.git D:\VoiceAI\openrouter-voice-mcp
cd D:\VoiceAI\openrouter-voice-mcp
.\install.ps1 -ApiKey "sk-or-v1-..." -RegisterEquivalente manual, si prefieres ver cada paso:
python -m venv .venv
.\.venv\Scripts\python.exe -m pip install -r requirements.txt
copy .env.example .env # then set OPENROUTER_API_KEY=sk-or-v1-...
.\.venv\Scripts\python.exe tests\acceptance.pyEn macOS / Linux no hay install.ps1; usa los pasos manuales con python3 -m venv .venv y .venv/bin/python, y luego regístrate como se muestra a continuación.
Registro con Claude Code
claude mcp add openrouter-voice --scope user -- `
D:\VoiceAI\openrouter-voice-mcp\.venv\Scripts\python.exe `
D:\VoiceAI\openrouter-voice-mcp\server.py
claude mcp get openrouter-voice # expect: ConnectedRegistro con Codex
codex mcp add openrouter-voice -- `
D:\VoiceAI\openrouter-voice-mcp\.venv\Scripts\python.exe `
D:\VoiceAI\openrouter-voice-mcp\server.py
codex mcp list # expect: openrouter-voiceLa clave API se lee de .env junto a server.py, por lo que nunca aparece en una línea de comandos ni en el archivo de configuración de ninguna CLI. También puedes exportar OPENROUTER_API_KEY en el entorno en su lugar: un valor exportado tiene prioridad sobre .env.
Related MCP server: MCP MeloTTS Audio Generator
Herramientas
Tool | Qué hace |
| Config + estado de la clave. Solo sonda de autenticación gratuita, nunca renderiza audio. |
| La herramienta principal. Texto -> archivo de audio local. |
| Divide un guion largo en segmentos, renderiza cada uno y concatena con FFmpeg cuando está disponible. |
| Muestra corta, escrita en |
| Todos los modelos de OpenRouter con |
| Proveedor / nivel / precio / soporte de clonación de voz en vivo para un modelo. |
render_voiceover
render_voiceover(
text: str,
output_path: str = "", # absolute or relative; parents are created
voice: str = "", # empty = model default (correct for Fish Audio)
response_format: str = "", # "mp3" (default) or "pcm"
instructions: str = "", # only sent to providers that document it
overwrite: bool = False, # False never clobbers an existing file
reference_audio_path: str = "", # optional stateless voice cloning
reference_text: str = "",
)Devuelve:
{
"status": "ok",
"model": "fish-audio/s2.1-pro-free:free",
"audio_path": "D:\\campaigns\\abc\\audio\\narration.mp3",
"format": "mp3",
"content_type": "audio/mpeg",
"bytes": 123456,
"elapsed_seconds": 2.31,
"duration_seconds": 12.4,
"generation_id": "gen-..."
}Los bytes de audio se escriben en disco y nunca se devuelven codificados en base64 a través de MCP: el objetivo es un archivo real para FFmpeg.
Configuración
Todos los ajustes son variables de entorno (ver .env.example):
Variable | Default | Notas |
| — | Requerida. Nunca se registra ni se devuelve. |
|
| |
| vacío | Fish Audio no documenta IDs de voz predefinidos; déjalo vacío. |
|
|
|
|
| |
| vacío | Se envía solo cuando está configurado. |
|
| Se envía como |
|
| Se usa cuando el llamador no pasa |
| vacío | Déjalo vacío. Solo configúralo si aceptas que se te cobre un modelo de pago cuando el gratuito no esté disponible. |
Lo que la API realmente soporta
Verificado contra la API de voz de OpenRouter y la API de modelos en vivo (2026-08-25), no inferido de la API TTS más antigua de OpenAI:
El endpoint
POST https://openrouter.ai/api/v1/audio/speechdevuelve un flujo de bytes de audio crudo. Solo las respuestas que no son 200 llevan JSON.Campos de nivel superior:
model,input,voice,response_format,speed,input_references,provider.response_formatesmp3opcm. La API usapcmpor defecto, por lo que este servidor siempre envía el formato explícitamente.instructionsno es un campo de nivel superior. Es una opción de proveedor de OpenAI (provider.options.openai.instructions). Fish Audio no documenta opciones de proveedor, por lo queinstructionsse descarta para los modelos Fish y se informa enwarnings— nunca se envían campos inventados.speedsolo es respetado por algunos proveedores (OpenAI, Azure); se descarta en otros lugares en lugar de ignorarse silenciosamente en el servidor.Fish Audio no tiene IDs de voz predefinidos (
alloy/nova/shimmerpertenecen a OpenAI). Dejavoicevacío.La clonación de voz está disponible: la API de endpoints informa
supports_voice_cloning: trueparafish-audio/s2.1-pro-free:free. Es sin estado: pasas una muestra de audio en base64 eninput_referencesen cada solicitud. No hay unvoice_idpersistente que crear, por lo que este servidor no tiene una herramientaclone_voice; usareference_audio_pathenrender_voiceoveren su lugar.Los encabezados de atribución son
HTTP-RefereryX-OpenRouter-Title.
Límites del modelo gratuito
fish-audio/s2.1-pro-free:free es una variante gratuita:
20 solicitudes/minuto, 50 solicitudes/día (1000/día una vez que se hayan comprado ≥ $10 de crédito en la cuenta).
La disponibilidad, la cola y la latencia no están garantizadas.
Cuando el modelo gratuito no está disponible, el servidor devuelve un error claro. Nunca cambia a un modelo de pago a menos que configures explícitamente
OPENROUTER_VOICE_FALLBACK_MODEL.
Los fallos transitorios (408, 429, 5xx, errores de red) se reintentan dos veces con una breve retroceso exponencial. 400/401/403 nunca se reintentan.
Pruebas
.\.venv\Scripts\python.exe -m pytest tests -q --asyncio-mode=auto # unit, mocked HTTP
.\.venv\Scripts\python.exe tests\smoke_test.py # live, needs a key
.\.venv\Scripts\python.exe tests\acceptance.py # full checklistsmoke_test.py y la mitad en vivo de acceptance.py se omiten limpiamente sin una clave. Una omisión se informa como SKIP, nunca como PASS.
Seguridad
La clave API vive en
.env(ignorado por git) o en el entorno. Nunca se registra, nunca se escribe en una línea de comandos y nunca se devuelve a través de MCP.health()ymodel_info()devuelven configuración, nunca credenciales.El servidor solo habla stdio y no vincula ningún puerto TCP.
No ejecuta comandos de shell desde la entrada de herramientas. FFmpeg/ffprobe se invocan solo en archivos que este servidor acaba de escribir, y solo cuando están presentes.
Las escrituras de archivos van exactamente donde el llamador pide (Codex necesita escribir en directorios de campaña arbitrarios), pero se rechazan directorios, nombres de archivo de Windows no válidos y nombres de dispositivos reservados, y
overwrite=Falsenunca sobrescribe.
Licencia
MIT
Available Tools
6 toolshealthA
Report MCP configuration status without spending a TTS request.
Checks that the API key is configured, echoes the active model, endpoint and output directory, and does one free auth probe against OpenRouter. The API key itself is never returned.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full behavioral burden, and it acquits itself well: it discloses that it checks API key configuration, echoes the model/endpoint/output directory, performs one free auth probe against OpenRouter, and explicitly guarantees the API key is never returned. The one slightly under-specified item is what the 'auth probe' entails, but overall this is thorough disclosure for an annotation-free tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three compact sentences with the key differentiator (no TTS cost) front-loaded. Every sentence earns its place: the first states the core purpose, the second details what is checked, and the third covers the privacy guarantee. No filler or redundant restating of the tool name.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a parameterless diagnostic tool with an output schema (which exempts the description from explaining return values), this is close to complete: it covers what it checks, the free nature of the call, and the safety guarantee. The only minor gap is that it could explicitly frame the 'verify config before rendering' pattern, though the no-TTS-cost phrasing largely implies it.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
There are zero parameters and the schema is empty, so the description correctly focuses on behavior rather than arguments — nothing to explain for parameters. Per the baseline for parameterless tools, a 4 is appropriate; the description adds no param details because none exist.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource — "Report MCP configuration status" — and immediately distinguishes it from the speech-generation siblings (preview_voice, render_voiceover, render_long_voiceover) by framing it as a diagnostic operation rather than a generation operation. An agent can tell this is the config/health check at a glance.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The lead phrase "without spending a TTS request" provides clear context for when to pick this tool — it's the free, non-billable diagnostic — which implicitly contrasts with the rendering siblings that consume TTS. However, it stops short of explicit exclusions or direct routing to an alternative (e.g., it never says 'use render_voiceover when you actually need audio'). The context is clear but the when-not guidance is only implied.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_speech_modelsA
List the OpenRouter models whose output modality is speech.
Returns id, name and pricing only. Use this to point OPENROUTER_VOICE_MODEL at a different provider without touching the code.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It discloses the exact output scope ('Returns id, name and pricing only') and implies a read-only list operation, but it does not explicitly state whether it is read-only, whether authentication is required, or any rate limits. The note about pointing the environment variable is useful context, but key behavioral traits are left implicit.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences, front-loaded with the core purpose and immediately followed by return details and a practical use case. No wasted words; every sentence earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given zero parameters and an existing output schema, the description is complete for a simple list tool. It covers the purpose, return scope, and a usage scenario. It does not mention prerequisites like authentication, but that is minor and not critical for this zero-parameter, read-oriented tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so the schema already covers everything. The description need not explain parameters; the baseline for no params is 4. It does not add parameter-specific meaning, but none is needed.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('List') and a precise resource filter ('OpenRouter models whose output modality is speech'). It clearly distinguishes from siblings like render_voiceover or model_info by focusing on listing speech-enabled models with a specific output scope.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides a concrete use case: 'Use this to point OPENROUTER_VOICE_MODEL at a different provider without touching the code.' This tells the agent when to invoke it. It does not explicitly contrast with alternatives or mention when not to use it, but the clear purpose and sibling names make the context unambiguous.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
model_infoA
Live details for the configured speech model (or the one you name).
Pricing, tier and voice-cloning support come from the OpenRouter endpoints API; anything OpenRouter does not report is returned as "unknown".
| Name | Required | Description | Default |
|---|---|---|---|
| model | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description must disclose behavioral traits on its own. It does state that data comes from the OpenRouter endpoints API and that missing fields are returned as 'unknown'. It implies a read-only fetch operation, but it does not explicitly state that it makes no modifications, nor does it cover potential errors or rate limits. The disclosure of the external dependency and the 'unknown' fallback adds value, but the description does not fully characterize the tool's side-effect profile. Without annotations, this is a partial disclosure.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences and gets straight to the point. The first sentence states the core purpose, the second explains the data source and handling of missing information. There is no fluff or redundant detail. Every sentence earns its place, and the most important information is front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a one-parameter read-only tool with no annotations, the description covers the essential aspects: what it does, the source of data, and the fallback for missing values. An output schema exists, so return format is implicitly covered. It doesn't address potential error cases or explicitly state that it is a read-only operation, but given its simplicity, the description is nearly complete. The main gap is the lack of explicit guidance on when to choose this over list_speech_models, but that is more of a usage guideline than completeness for calling the tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema declares a single optional string parameter 'model' with a default of an empty string, but provides no further explanation. The description directly explains the parameter semantics: if a model is named, details for that model are returned; otherwise, the configured default is used. This adds essential meaning beyond the schema and clarifies the behavior for both empty and non-empty values. It could go further by specifying the expected format (e.g., model ID or name), but it is largely sufficient.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it provides live details for a speech model, either the configured default or a specific one named by the user. It specifies the data points (pricing, tier, voice-cloning support) and the data source, distinguishing it from sibling list_speech_models which would list models rather than give details. The verb is implied ('get') but the resource is specific and the scope is unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage: you call it to get details about a specific model or the configured default. However, it does not explicitly mention when to use this tool versus list_speech_models or other siblings, nor does it provide any exclusions or conditions (e.g., 'use this when you need details, list_speech_models for a list'). The context is clear enough, but there is no explicit routing guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
preview_voiceA
Render a short sample so you can hear a voice before a full render.
Writes into <output_dir>/previews and, on Windows, opens it with the default player. Playback is best-effort: if it fails, audio_path is still returned.
| Name | Required | Description | Default |
|---|---|---|---|
| play | No | ||
| text | Yes | ||
| voice | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden and discloses key behaviors: writes to <output_dir>/previews, auto-opens with the default player on Windows, playback is best-effort, and audio_path is still returned on failure. This is rich behavioral disclosure covering side effects, platform dependence, and error handling.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two tightly written sentences with no filler. The primary purpose is front-loaded in the first sentence, and the second sentence packs essential behavioral details efficiently.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is simple and the description covers the core purpose, side effects, and failure behavior. The output schema exists, so return values are documented elsewhere. However, the lack of explicit parameter explanations is a gap that prevents this from being a fully self-contained description.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema has zero parameter descriptions, so the description must compensate. It only loosely implies that 'text' is the content to render and 'voice' refers to a voice, but it never explicitly explains these or the 'play' parameter. This is a significant gap since an agent cannot reliably infer parameter meanings from the description alone.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific action ('Render a short sample') and a clear purpose ('so you can hear a voice before a full render'), which distinguishes it from the full rendering sibling tools. The resource and scope are explicit.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It clearly indicates the tool is meant for pre-render previews via 'before a full render', giving context on when to use it. However, it does not explicitly mention alternative tools like render_voiceover or render_long_voiceover, so it misses a direct comparison that would strengthen the guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
render_long_voiceoverA
Render a long script by splitting it into segments and rendering each.
Splits on paragraph, then sentence, then word boundaries -- never mid-word. Short scripts fall through to a single request. When FFmpeg is available and the format is mp3, the segments are stream-copy concatenated into output_path; otherwise the segment paths are returned for the caller to join.
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| voice | No | ||
| max_chars | No | ||
| overwrite | No | ||
| output_path | No | ||
| response_format | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure and does so admirably. It explains the splitting algorithm (paragraph → sentence → word, never mid-word), the fallback for short scripts, and the output behavior (stream-copy concatenation to output_path when FFmpeg and mp3 are available, otherwise returning segment paths). This openly conveys the tool's decision logic and expected results.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is compact and front-loaded: it states the purpose in the first sentence and then provides two specific, high-value behavioral details in the second. Every sentence contributes meaning without repetition or filler, and the structure is easy to parse.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (splitting, conditional concatenation) and the presence of an output schema, the description covers the core behavior thoroughly. It explains the main edge case (FFmpeg absent) and the segmentation rule. It does not address overwrite semantics or what happens when output_path is empty, but these are secondary and the output schema may provide return details. Overall, it is nearly complete for an agent to call correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It does mention output_path and response_format indirectly (through the FFmpeg/mp3 condition) and implies max_chars via segmentation, but it does not explicitly define any parameter. Voice and overwrite are left entirely to the schema, which carries no descriptions. The description adds some meaning but is incomplete for a tool with six parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'render' and the resource 'a long script', and immediately explains the core mechanism (splitting into segments and rendering each). It differentiates from the sibling render_voiceover by targeting long scripts and explicitly describing the segmentation boundaries, making its purpose unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides strong context: it mentions that short scripts fall through to a single request, which implies this tool is for long scripts and handles both cases. However, it does not explicitly name the sibling render_voiceover as the alternative for short scripts, nor does it state when not to use this tool. The guidance is clear but not fully explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
render_voiceoverB
Render narration text to a local audio file via OpenRouter.
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The narration script. Vietnamese diacritics are preserved verbatim. | |
| voice | No | Provider voice id. Leave empty to use the model's default -- Fish Audio documents no preset voice ids, so empty is correct there. | |
| overwrite | No | False (default) never clobbers an existing file -- a numbered sibling is written instead and returned as audio_path. | |
| output_path | No | Absolute or relative destination file (e.g. "D:/campaigns/abc/audio/narration.mp3"). Parent directories are created. Leave empty to write into the configured output directory. | |
| instructions | No | Tone direction. Only forwarded to providers that document it (currently OpenAI); otherwise reported back in "warnings". | |
| reference_text | No | Optional transcript of the reference sample. | |
| response_format | No | "mp3" (default) or "pcm". | |
| reference_audio_path | No | Optional local audio sample for stateless voice cloning on models that support it. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of disclosing side effects and behavioral traits. The one-sentence description only states the basic action—rendering text to a file—but does not disclose overwrite behavior, provider-specific quirks, file creation details, or failure modes. The rich behavioral details are buried in parameter descriptions, but the main description fails to summarize them.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, focused sentence that states the core purpose without unnecessary words. It is front-loaded and immediately communicates what the tool does. There is no bloat, and the sentence earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 8 parameters, full schema coverage, and an output schema, the description is not required to explain every parameter. However, it lacks contextual guidance on when to use this tool versus alternatives, and does not hint at the short/long distinction that the sibling names imply. The description is adequate for the basic function but incomplete for selection decisions.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The description itself adds no parameter-specific meaning beyond what the schema already provides. However, the schema descriptions are detailed (e.g., overwrite behavior, forward-only for instructions, numbering of siblings), which makes the overall parameter handling strong. Since the description text does not augment the schema, it stays at the baseline.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb ('render') and resource ('narration text to a local audio file') and mentions the transport ('via OpenRouter'). However, it does not explicitly differentiate from the sibling 'render_long_voiceover' other than by name, which leaves some ambiguity about when each is appropriate.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives no guidance on when to use this tool versus its siblings (e.g., render_long_voiceover, preview_voice). It does not mention prerequisites, typical scenarios, or alternatives. The agent must infer usage from the name and parameter descriptions, which is insufficient.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
6 tool updates
v1.0.0- First observed
health - First observed
list_speech_models - First observed
model_info - First observed
preview_voice - First observed
render_long_voiceover - First observed
render_voiceover
TDQS
Scored across 6 tools
Each tool has a clearly distinct purpose: health for configuration status, preview_voice for a sample, render_voiceover for standard text-to-speech, render_long_voiceover for long scripts with splitting, list_speech_models for enumerating models, and model_info for details on a specific model. No overlaps in functionality.
Most tools follow a verb_noun pattern (preview_voice, render_voiceover, list_speech_models), but 'health' and 'model_info' are arguably nouns instead of commands. Minor inconsistency in verb usage, but overall naming is clear and predictable.
With 6 tools, the server is well-scoped for a text-to-speech utility. Each tool addresses a distinct need—status, preview, rendering, long rendering, model discovery, and model details—without unnecessary extras.
The tool surface covers the full lifecycle of using OpenRouter's TTS: checking configuration, previewing voices, rendering short and long audio, listing available models, and querying model attributes. No obvious dead ends or critical missing operations.
Maintenance
Related MCP Connectors
Text to speech and transcription for any AI model: MP3 voiceovers, audio and YouTube to text.
Audio for your agent: transcribe, speak, translate, summarise, plus sound effects and music.
Remote text-to-speech MCP server with text_to_speech and list_voices tools. Free plan.
21Generate images, video, music and voice from your CLI or AI agent. On-brand AI media toolkit.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to generate and play high-quality text-to-speech audio using the Kokoro model, with support for multiple voices, adjustable speaking speed, and audio caching.-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to convert text to high-quality speech audio using MeloTTS. Automatically splits long texts into segments, generates WAV files, and merges them using ffmpeg with support for multiple languages and customizable speech parameters.MIT
- AlicenseNot gradedqualityCmaintenanceEnables text-to-speech generation using the Groq API, supporting multiple audio formats and optional local playback.23 npm1MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to synthesize speech via the unlimitedtts API, handling x402 micropayments, spend policy enforcement, and storage of private MP3 results.MIT