Skip to main content
Glama

列出可用音色

list_voices
Read-onlyIdempotent

Retrieve available text-to-speech voices, filtered by language, so you can pass a valid voice parameter to text-to-speech and avoid VOICE_NOT_ALLOWED errors.

Instructions

获取 TTS 可用音色列表(仅免费开源音色,不计额度)。调用 text_to_speech 前必须先从这里拿 voice 参数,直接猜测音色名会返回 VOICE_NOT_ALLOWED。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_voices"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNo按语言筛选,如 zh / en / ja,默认 zh

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive. The description adds context the annotations do not: the list is restricted to free open-source voices that do not consume quota, and invalid voice names trigger a specific error. It does not describe the shape of the returned list (name vs id fields), which is the remaining gap.

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 sentences, zero waste. The scope/benefit clause comes first, then the prerequisite and its failure mode — front-loaded and easy to scan.

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 list tool with no output schema, the description covers purpose, cost implications, and the mandatory ordering relative to text_to_speech. Only the return-value structure is left implicit, which is minor here.

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% and the single lang parameter already documents its meaning and default (zh). The description adds nothing about filtering behavior, so baseline 3 is appropriate.

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?

States a specific verb and resource (获取 TTS 可用音色列表) plus a scope qualifier (仅免费开源音色,不计额度). An agent knows exactly what it returns. It does not explicitly distinguish itself from the sibling list_dubbing_voices, so it falls just short of a 5.

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?

Explicitly prescribes the call order: 调用 text_to_speech 前必须先从这里拿 voice 参数, and names the failure mode of skipping it (直接猜测音色名会返回 VOICE_NOT_ALLOWED). This is a hard prerequisite plus a consequence, not a vague hint.

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