Skip to main content
Glama

Submit Speech Task

submit_speech_task

Submit long-form text for speech synthesis; the platform splits text into 500-character chunks, concatenates the audio, and returns a task for status polling.

Instructions

提交长文本语音合成任务(≤20 万字):平台按 500 字切块合成并拼接为完整音频。 提交后用 get_speech_task 轮询结果。计费约 2 元/万字符。

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

Input Schema

NameRequiredDescriptionDefault
textYes
speakerNodefault
audio_formatNowav

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations (non-readOnly, non-idempotent, non-destructive), the description discloses chunking at 500 characters, stitching into a single audio file, the 200k-character ceiling, and billing of roughly ¥2 per 10k characters. What is missing is the consequence of the non-idempotent hint — that each submission creates a new billable task — which an agent would need to avoid accidental duplicate charges.

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 short sentences, each carrying distinct information: scope/limit, mechanism, follow-up step, and cost. Front-loaded with the core action and free of redundant restatement of the tool name.

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?

An output schema exists, so return values need not be described. The description covers the limit, the internal processing model, cost, and the required polling step — everything an agent needs to invoke and follow up correctly, with only minor gaps on the two optional parameters.

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 only does so for `text` by giving the 200k-character limit and chunking behavior. `speaker` and `audio_format` (an enum with wav/mp3) are entirely undocumented in both schema and description, leaving half the parameters unexplained.

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+resource: submitting a long-text speech synthesis task, with the scope (≤200k characters) and the chunk-and-stitch mechanism spelled out. This implicitly separates it from the short-form synthesize_speech sibling, but the description never names or contrasts that alternative, so differentiation is inferred rather than 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?

Gives clear post-call workflow guidance ('提交后用 get_speech_task 轮询结果'), which tells the agent this is asynchronous and needs polling. The long-text framing implies when to pick it over short-form synthesis, but there is no explicit when-not-to-use or named alternative.

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