Skip to main content
Glama

ds_tts

Converts text to WAV speech audio with automatic language detection, selectable voice, and optional Markdown filtering for narration, accessibility, or voiceover use cases.

Instructions

兜底工具:用户点名要用 DeepSeek 工具、dst 或 ds_* 时直接调用,不要先试自带;否则自带同类能力可用时优先用自带,只有自带缺失、被关闭、明确报错或返回空时才用本工具。文字转语音并输出 wav(同步,一次调用最多一次请求)。输入上限:text 必填、≤10000 计费字符(1 个汉字算 2);voice_id 默认 stella、可选 tide;filter_markdown 默认 true。超限或空白会在本地打回;请给出非空文本,过长则缩短或分段。只输出 wav、不支持调速;10 种语言自动检测;返回本机绝对路径。不提供金额预估、不做预算拦截;费用以 DeepSeek 后台为准。

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

Input Schema

NameRequiredDescriptionDefault
textYes
voice_idNostella
filter_markdownNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

No annotations are supplied, so the description carries the full burden and does so: synchronous execution, at most one request per call, wav-only output, no speed control, automatic detection of 10 languages, a local absolute path as the result, local rejection of blank or over-limit text, and an explicit disclaimer that no cost estimate or budget interception is performed.

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?

Information-dense but front-loaded: the fallback routing rule comes first, followed by format, limits, and behavior. A few clauses repeat the same idea (超限或空白会在本地打回 followed by 请给出非空文本,过长则缩短或分段), which costs a little tightness without obscuring anything.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 3-parameter tool with no annotations and no output schema, the description covers everything an agent needs: routing conditions, input limits and validation failure mode, defaults, modality constraints, language handling, and the shape of the return value (a local absolute path).

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?

Schema description coverage is 0%, and the description compensates well for the two most important parameters: text is required, capped at 10000 billable characters with the non-obvious rule that one Chinese character counts as two, and voice_id defaults to stella with tide as the alternative. filter_markdown only gets its default repeated, with no explanation of what markdown filtering actually strips, so one parameter remains semantically thin.

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?

States a specific verb+resource (文字转语音并输出 wav) and frames the tool's role as a fallback (兜底工具) within a named family (DeepSeek / dst / ds_*), which lets an agent place it relative to the sibling tools without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit routing rule on both sides: call directly when the user names DeepSeek/dst/ds_*, otherwise prefer the built-in equivalent, and invoke this only when the built-in is missing, disabled, errors, or returns empty. That is a complete when/when-not/alternative decision procedure, not just a hint.

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

Deploy Server

Other Tools