Skip to main content
Glama

查询配音任务结果

get_dubbing_task
Read-onlyIdempotent

按 taskId 查询异步配音任务状态:处理中 / succeeded(返回 audioUrl、srtUrl、chargedCredits 实扣)/partial(部分段失败,只结算成功段)/ failed / cancelled(全额解冻)。不计费、可安全重复轮询。

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": {
      "taskId": "<taskId>"
    },
    "name": "get_dubbing_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskIdYesdubbing_submit 异步返回的任务 ID

Output Schema

NameRequiredDescriptionDefault
errorNo
srtUrlNo
statusNo
taskIdNo
messageNo
audioUrlNo
segmentsNo
requestIdNo
chargedCreditsNo终态实扣积分

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds genuinely new behavioral facts: no credits are charged, repeated polling is safe, 'partial' only settles successful segments, and 'cancelled' fully refunds. Those billing and settlement semantics are exactly the kind of side-effect detail annotations cannot express.

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?

One tightly packed sentence, front-loaded with the action and keyed parameter, followed by the status/return mapping in parentheses. No filler or redundant restatement of the title.

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 single-parameter read tool with full annotation coverage and an output schema, the description is fully sufficient: it names the input source, the states, the fields returned on success, and the billing behavior. Nothing needed to invoke or interpret the call is missing.

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 coverage is 100% and the single taskId parameter is already documented in the schema as the ID returned asynchronously by dubbing_submit. The description's '按 taskId 查询' restates rather than extends that, so the baseline 3 applies.

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 and resource (query async dubbing task status by taskId) and enumerates the exact terminal states the caller can receive. It is immediately distinguishable from submit-side siblings such as dubbing_submit and cancel_dubbing_task because it is purely a status read keyed on an existing taskId.

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 operating context: use it with the taskId returned by dubbing_submit, and it is explicitly safe to poll repeatedly. It does not explicitly route to cancel_dubbing_task for cancellation or state what to do on 'failed'/'cancelled' beyond the refund note, so it stops short of full when/when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources