Skip to main content
Glama

Reelfinery

generate_speech

Read-only

生成语音,8 家供应商任选(目录见 list_voices,试听用 preview_voice 免费)。计价=每千字符:qwen3 15cr|qwen3flash 10cr|seed 18cr|inworld 9cr|inworldMax 20cr|gemini 15cr|minimax 30cr|chatterbox 9cr;默认 elevenlabs 15cr/千字符,hq(eleven v4)=24cr/次 flat≤2000字符。极速白名单属性 TTS 用独立的 generate_speech_turbo。

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>"
    },
    "name": "generate_speech"
  }
}

Input Schema

NameRequiredDescriptionDefault
hqNo仅 elevenlabs:v4 高保真档 24cr/次(≤2000字符);默认档按千字符 15cr
textYes要念的文本(elevenlabs 可含 [whispering] 等情感标签)
speedNo仅 seed/inworld:语速
emotionNo仅 minimax,默认 happy
voiceIdNo音色 ID,来自 list_voices(各家不同)
languageNo仅 qwen3/qwen3flash/seed:语种,枚举见 list_voices 各家 langs
providerNo默认 elevenlabs
stabilityNo仅 elevenlabs:稳定性 0-1,默认 0.5
similarityNo仅 elevenlabs:相似度 0-1,默认 0.75
exaggerationNo仅 chatterbox:情绪强度 0-1,默认 0.25
languageBoostNo仅 minimax:English/Chinese/Japanese/auto 等 41 语种增强
referenceAudioNo仅 chatterbox:5-20s 参考音频公开 URL(可克隆式定音色)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare readOnly/openWorld/non-destructive; the description goes further by disclosing the full cost model per provider and the flat-fee vs per-thousand-character distinction for elevenlabs hq, which materially affects model choice. It does not cover rate limits, latency, or what artifact is produced, but the pricing disclosure is substantial added value beyond annotations.

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-loaded with the purpose, then pricing, then the sibling exclusion — a sensible order. The provider price list is dense but each entry carries decision-relevant information, though the flat-fee/credit notation ('24cr/次 flat≤2000字符') is terse enough to slow parsing.

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?

For a 12-parameter generation tool with no output schema, the definition covers cost and provider routing well but never states what is returned (audio URL? asset ID? sync or async job?) or where the result lands. That is the main missing piece an agent would need before composing the call.

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% and each parameter already carries a description (which provider each of hq/speed/emotion/stability applies to). The description adds a pricing dimension keyed to the provider enum, which is useful but supplementary rather than filling a semantic gap. Baseline 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?

Uses a specific verb+resource (生成语音) and immediately scopes it: 8 selectable providers, with a named catalog sibling (list_voices) and a named free-preview sibling (preview_voice). It also distinguishes itself from generate_speech_turbo by the '极速白名单属性' condition, so an agent can tell which TTS entry point to pick.

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?

Explicitly routes agents to list_voices for the provider catalog, preview_voice for free auditions, and generate_speech_turbo for the fast/whitelist path. The turbo routing condition ('极速白名单属性') is a bit opaque, and there is no when-not-to-use guidance for the default path, but coverage is well above typical.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources