Skip to main content
Glama

DeepSeek TTS

deepseek_tts

Converts text to speech and returns complete audio in one call, supporting male or female voices, WAV/PCM output, and optional Markdown removal.

Instructions

把文字合成为自然语音,一次调用返回完整音频,支持男女两种音色。

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": "deepseek_tts"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes要朗读的文本,不能为空。计费字符上限 10000(汉字算 2 个字符,其余算 1 个)。
formatNo返回格式:wav(默认)或 24kHz 16 位单声道原始 PCM。wav
voice_idNo音色:stella 为女声(默认),tide 为男声。stella
filter_markdownNo朗读前是否去掉 Markdown 格式,默认 true。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description takes on the full disclosure burden. It does add useful behavior: audio comes back complete in a single call, implying no streaming or async task polling. It says nothing about rate limits, cost, failure modes, or the shape of the returned audio payload (base64, URL, or bytes), which is a real gap.

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?

A single front-loaded sentence with no filler; the 'complete audio in one call' clause is the most valuable part. It is efficient, though the brevity is part of the underspecification problem.

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 tool with no output schema and no annotations, the definition should say more about the response format and edge cases. The parameters are well documented in the schema, but an agent still cannot tell what the returned audio field looks like without trial.

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?

The schema description coverage is already at 100%, so the baseline is 3. The description's 'supports male and female voices' just restates the voice_id enum, and it adds no semantics about text limits or the markdown filter beyond what the schema says.

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 names a specific verb and resource (把文字合成为自然语音) and states the output form. It is clearly distinguishable from the sibling deepseek_asr (speech→text) by direction, though it never names the siblings explicitly.

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 use case (turning text into speech) is implied, but there is no explicit when-to-use or when-not-to-use guidance, and no mention of alternatives such as when to prefer ASR or another pipeline. A minimum-viable level is appropriate.

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