Skip to main content
Glama

查询配音任务结果

get_dubbing_task
Read-onlyIdempotent

Polls an asynchronous dubbing task by taskId to check status (processing, succeeded, partial, failed, cancelled) and retrieve audio, subtitle URLs, and charged credits without billing.

Instructions

按 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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: no billing on the call itself (不计费), per-status billing semantics (chargedCredits 实扣 on success, partial only settles successful segments, cancelled fully unfreezes/refunds), and a safe-polling guarantee. Annotations already declare readOnly/idempotent/non-destructive, so this billing and refund detail is meaningful added context; only permission/auth and latency expectations are absent.

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 dense, front-loaded sentence: the action and key come first, then status branches, then the billing/safety guarantees. Every clause carries operational information and nothing is repeated from 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?

No output schema exists, so the description supplies the return contract itself by naming audioUrl, srtUrl and chargedCredits per status, plus what happens in partial/failed/cancelled cases. For a one-parameter read tool with full annotation cover, nothing an agent needs to call and interpret it 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 as the ID returned by dubbing_submit, so the schema carries the parameter semantics. The description names taskId but adds no format, length, or validation detail beyond the schema.

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 (按 taskId 查询异步配音任务状态) and enumerates the exact status values it resolves (处理中 / succeeded / partial / failed / cancelled), which lets an agent distinguish it from dubbing_submit and cancel_dubbing_task by outcome rather than name alone.

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 usage context for polling: it is the async-result endpoint keyed off the ID returned by dubbing_submit, and it is safe to call repeatedly (可安全重复轮询). It stops short of stating when not to use it or explicitly routing cancellation to cancel_dubbing_task, so it is clear but lacks exclusions.

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