Skip to main content
Glama

查询长音频任务结果

get_asr_job
Read-onlyIdempotent

Query asynchronous speech-to-text job status by taskId and retrieve progress, transcript segments, or failure details without incurring charges; safe to poll repeatedly.

Instructions

按 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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the per-state return payloads (progress fields, text/segments, error field), the automatic quota refund on failure, the no-billing guarantee, and a 24-hour result retention window. The annotations only declare read-only/idempotent safety; the description supplies the operational behavior that actually matters for polling.

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?

The purpose is front-loaded, and the state breakdown is compact and scannable, with no filler sentences. It is dense but every clause (progress fields, refund, retention) earns its place.

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?

With no output schema, the description carries the burden of explaining return values, and it does so per state, plus retention and billing semantics. Minor gaps remain, such as whether long segment lists are truncated or paginated, which an agent might want to know for long-audio jobs.

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?

There is a single required parameter with 100% schema description coverage, so the schema already explains that taskId comes from submit_asr_job. The description adds no further meaning about format, length, or validity of the ID, so the baseline of 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 ('按 taskId 查询异步转写任务状态') and then enumerates the four states it can report. An agent can immediately distinguish it from submit_asr_job, which is named as the source of the 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 concrete usage context: it is safe to poll repeatedly and does not incur charges or double-deduct quota, which is exactly what an agent needs to know before looping on it. It stops short of naming when-not-to-use cases or pointing to sibling retrieval tools such as get_dubbing_task.

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