Skip to main content
Glama

查询长音频任务结果

get_asr_job
Read-onlyIdempotent

按 taskId 查询异步转写任务状态:queued/running(带 segments_done/processed_s 进度)、done(返回 text/segments)、failed(error 字段,额度已自动返还)。不计费、不重复扣额度,可安全重复轮询;任务结果保留 24 小时。

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_asr_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskIdYessubmit_asr_job 返回的任务 ID

Output Schema

NameRequiredDescriptionDefault
textNostatus=done 时返回
errorNostatus=failed 时返回,额度已自动返还
engineNo
statusNo
taskIdNo
durationNo
segmentsNo
requestIdNo
processed_sNo已处理秒数
segments_doneNo轮询进度

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?

The annotations already cover the safety profile: readOnlyIdempotent, non-destructive. The description then adds genuinely new behavioral facts beyond them: the queued/running/done/failed state machine, the progress fields (segments_done, processed_s) visible while running, the error field and automatic quota refund on failure, no billing or double-charging, and a 24-hour result retention window. That retention limit is exactly the kind of operational constraint an agent cannot infer from structured fields and needs in order to decide when to stop polling.

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?

This is a single dense sentence plus a trailing clause, and it front-loads the query operation before the state breakdown. Every clause carries distinct information: the states, the progress fields, the refund behavior, the polling safety, and the retention window. Nothing is repeated and nothing is filler.

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 the description need not define return values, yet it still describes which fields dominate in each terminal state, which exceeds the minimum. There is only one parameter and its schema is fully documented. For a single-parameter async polling tool, nothing an agent needs in order to call it correctly 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?

The tool takes one parameter, and its schema description coverage is 100%, so the schema already documents taskId. The description adds no format, syntax, or validation detail beyond what the schema states, and the link back to submit_asr_job appears in the parameter description as well, so the description adds no meaning beyond the schema. A baseline 3 is appropriate given complete schema coverage.

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?

The description names a specific verb (按 taskId 查询) and a specific resource (异步转写任务状态), then enumerates the four possible states. An agent can distinguish it at a glance from submit_asr_job, because the description explicitly frames this tool as the read side of that submit/query pair.

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?

It explicitly says the tool is safe to poll repeatedly and that polling is the intended usage pattern, which tells the agent how to use it rather than merely what it does. The taskId parameter description points back to submit_asr_job as the source of the ID, implicitly establishing the prerequisite chain. However, it never states an explicit 'do not use this for X' rule, and it never names a sibling as the alternative for a different task type such as video transcription or dubbing, so it falls short of a 5.

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