Skip to main content
Glama

Get Speech Task

get_speech_task
Read-only

Query a long-text speech synthesis task by task number to check progress, get the audio download link, or view failure details.

Instructions

查询长文本语音合成任务状态。status:queued/running(看 doneUnits/totalUnits)、 success(resultUrl 为完整音频下载链接,1 小时内有效,过期重查即换新链)、failed(errorMsg)。 任务终态保留 72 小时。

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": {
      "task_no": "<task_no>"
    },
    "name": "get_speech_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_noYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Beyond readOnlyHint=true, the description discloses genuinely useful operational behavior: which fields indicate queued/running, that resultUrl is a full download link valid for only 1 hour, that re-querying after expiry yields a fresh link, and that terminal tasks are retained 72 hours. That expiry/retention detail is the kind of thing an agent cannot get from annotations. It does not describe pagination or concurrency behavior, but for a read-only status check the gaps are minor.

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?

Very dense and front-loaded: purpose first, then a state-by-state breakdown that maps each status to the field to inspect. The telegraphic parenthetical style ('看 doneUnits/totalUnits') is compact but slightly cryptic, though no sentence is wasted.

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?

An output schema exists, so return values need not be re-explained, and the description still covers the full task lifecycle plus link expiry and retention. What remains missing is the origin of task_no and any explicit relation to submit_speech_task, which for a one-parameter polling tool is a small but real gap.

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% for the single parameter, task_no, and the description never mentions it — no format, no statement of where the value comes from. The name is self-explanatory in context, so an agent can still use it, but the description does not compensate for the coverage gap.

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: querying the status of a long-text speech-synthesis task. The resource ('长文本语音合成任务') distinguishes it from the sibling pollers for transcription and document tasks, but the description never names those alternatives, so differentiation is by resource noun rather than explicit routing.

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?

Usage is only implied: an agent infers this is the polling counterpart to submit_speech_task. The status-handling clauses are about interpreting results, not about when to call this versus another tool, and there is no statement of prerequisites (e.g. that a task_no from a submit call is required) or of when not to use it.

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