Skip to main content
Glama
Trandu1
by Trandu1

OpenRouter Voice MCP

A small MCP server (Python + FastMCP, stdio) that turns text into local audio files using OpenRouter speech models. Default model:

fish-audio/s2.1-pro-free:free

Built for Vietnamese video voiceover: Codex or Claude Code writes a narration script, calls render_voiceover(), and gets back an absolute path to an MP3 it can hand straight to FFmpeg.

Codex / Claude Code
        |  MCP stdio
OpenRouter Voice MCP
        |  HTTPS
OpenRouter  ->  fish-audio/s2.1-pro-free:free
        |
    MP3 bytes  ->  local file  ->  FFmpeg / video pipeline

No PyTorch, CUDA, local model downloads, local LLM, or local HTTP port. Just Python, three pure-Python packages and an OpenRouter API key.


Install

Requirements: Python >= 3.10 on PATH, plus ffmpeg if you want render_long_voiceover() to concatenate segments. Get a free API key at https://openrouter.ai/keys.

One command does everything -- venv, dependencies, .env, acceptance tests, and registration with both Claude Code and 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-..." -Register

Manual equivalent, if you would rather see each step:

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.py

On macOS / Linux there is no install.ps1; use the manual steps with python3 -m venv .venv and .venv/bin/python, then register as shown below.

Register with 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: Connected

Register with 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-voice

The API key is read from .env next to server.py, so it never appears on a command line or in either CLI's config file. You can also export OPENROUTER_API_KEY in the environment instead — an exported value wins over .env.


Related MCP server: MCP MeloTTS Audio Generator

Tools

Tool

What it does

health()

Config + key status. Free auth probe only, never renders audio.

render_voiceover(...)

The main tool. Text -> local audio file.

render_long_voiceover(...)

Splits a long script into segments, renders each, concatenates with FFmpeg when available.

preview_voice(text, voice)

Short sample, written to <output_dir>/previews and opened in the default player.

list_speech_models()

Every OpenRouter model with output_modalities: speech (id, name, pricing).

model_info(model)

Live provider / tier / pricing / voice-cloning support for one model.

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 = "",
)

Returns:

{
  "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-..."
}

Audio bytes are written to disk and never returned base64-encoded through MCP — the point is a real file for FFmpeg.


Configuration

All settings are environment variables (see .env.example):

Variable

Default

Notes

OPENROUTER_API_KEY

Required. Never logged or returned.

OPENROUTER_VOICE_MODEL

fish-audio/s2.1-pro-free:free

OPENROUTER_VOICE

empty

Fish Audio documents no preset voice ids; leave empty.

OPENROUTER_AUDIO_FORMAT

mp3

mp3 or pcm.

OPENROUTER_TIMEOUT_SECONDS

120

OPENROUTER_HTTP_REFERER

empty

Sent only when set.

OPENROUTER_APP_TITLE

OpenRouter Voice MCP

Sent as X-OpenRouter-Title.

VOICE_OUTPUT_DIR

%USERPROFILE%\OpenRouterVoice\output

Used when the caller passes no output_path.

OPENROUTER_VOICE_FALLBACK_MODEL

empty

Leave empty. Only set it if you accept being billed for a paid model when the free one is down.


What the API actually supports

Verified against the live OpenRouter Speech API and Models API (2026-08-25), not inferred from the older OpenAI TTS API:

  • Endpoint POST https://openrouter.ai/api/v1/audio/speech returns a raw audio byte stream. Only non-200 responses carry JSON.

  • Top-level fields: model, input, voice, response_format, speed, input_references, provider.

  • response_format is mp3 or pcm. The API defaults to pcm, so this server always sends the format explicitly.

  • instructions is not a top-level field. It is an OpenAI provider option (provider.options.openai.instructions). Fish Audio documents no provider options, so instructions is dropped for Fish models and reported back in warnings — no invented fields are ever sent.

  • speed is only honoured by some providers (OpenAI, Azure); it is dropped elsewhere rather than silently ignored server-side.

  • Fish Audio has no preset voice ids (alloy / nova / shimmer belong to OpenAI). Leave voice empty.

  • Voice cloning is available: the endpoints API reports supports_voice_cloning: true for fish-audio/s2.1-pro-free:free. It is stateless — you pass a base64 audio sample in input_references on every request. There is no persistent voice_id to create, so this server has no clone_voice tool; use reference_audio_path on render_voiceover instead.

  • Attribution headers are HTTP-Referer and X-OpenRouter-Title.

Free-model limits

fish-audio/s2.1-pro-free:free is a free variant:

  • 20 requests/minute, 50 requests/day (1000/day once ≥ $10 of credit has been purchased on the account).

  • Availability, queueing and latency are not guaranteed.

  • When the free model is unavailable the server returns a clear error. It never switches to a paid model unless you explicitly set OPENROUTER_VOICE_FALLBACK_MODEL.

Transient failures (408, 429, 5xx, network errors) are retried twice with short exponential backoff. 400/401/403 are never retried.


Tests

.\.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 checklist

smoke_test.py and the live half of acceptance.py skip cleanly without a key. A skip is reported as SKIP, never as PASS.


Security

  • The API key lives in .env (git-ignored) or the environment. It is never logged, never written to a command line, and never returned through MCP.

  • health() and model_info() return configuration, never credentials.

  • The server speaks stdio only and binds no TCP port.

  • It executes no shell commands from tool input. FFmpeg/ffprobe are invoked only on files this server just wrote, and only when present.

  • File writes go exactly where the caller asks (Codex needs to write into arbitrary campaign directories), but directories, invalid Windows filenames and reserved device names are rejected, and overwrite=False never clobbers.

License

MIT

Available Tools

6 tools
healthA

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.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.4/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 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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters4/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.2/5.0
Behavior3/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters4/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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".

ParametersJSON Schema
NameRequiredDescriptionDefault
modelNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4/5.0
Behavior3/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters4/5

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.

Purpose5/5

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.

Usage Guidelines3/5

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 /previews and, on Windows, opens it with the default player. Playback is best-effort: if it fails, audio_path is still returned.

ParametersJSON Schema
NameRequiredDescriptionDefault
playNo
textYes
voiceNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.3/5.0
Behavior5/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters2/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
textYes
voiceNo
max_charsNo
overwriteNo
output_pathNo
response_formatNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.4/5.0
Behavior5/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
textYesThe narration script. Vietnamese diacritics are preserved verbatim.
voiceNoProvider voice id. Leave empty to use the model's default -- Fish Audio documents no preset voice ids, so empty is correct there.
overwriteNoFalse (default) never clobbers an existing file -- a numbered sibling is written instead and returned as audio_path.
output_pathNoAbsolute 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.
instructionsNoTone direction. Only forwarded to providers that document it (currently OpenAI); otherwise reported back in "warnings".
reference_textNoOptional transcript of the reference sample.
response_formatNo"mp3" (default) or "pcm".
reference_audio_pathNoOptional local audio sample for stateless voice cloning on models that support it.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

B3.1/5.0
Behavior2/5

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.

Conciseness5/5

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.

Completeness3/5

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.

Parameters3/5

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.

Purpose4/5

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.

Usage Guidelines2/5

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. Dates show when Glama detected each change.

  1. 6 tool updatesv1.0.0
    • First observedhealth
    • First observedlist_speech_models
    • First observedmodel_info
    • First observedpreview_voice
    • First observedrender_long_voiceover
    • First observedrender_voiceover

TDQS

A4/5.0
Disambiguation5/5

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.

Naming Consistency4/5

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.

Tool Count5/5

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.

Completeness5/5

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

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

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/Trandu1/mcp_voice'

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