Skip to main content
Glama

提交长音频转写任务

submit_asr_job

提交异步转写任务(长音频入口),立即返回 taskId。计费工具:提交即占 1 次当日 ASR 额度,任务失败时额度自动返还。audioUrl ≤ 50MB;提交后用 get_asr_job 轮询(建议首轮 3 秒、之后每 5 秒,总时长 ≤ 10 分钟,不要无限轮询)。单次调用不内部等待。

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": {
      "audioUrl": "<audioUrl>"
    },
    "name": "submit_asr_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNo语种,auto 自动判定(默认)
audioUrlYes长音频公网 URL,≤ 50MB(时长无 60 秒限制)

Output Schema

NameRequiredDescriptionDefault
quotaNo
statusNo
taskIdNo
durationNo
requestIdNo

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?

Beyond the annotations (readOnlyHint=false, idempotentHint=false, openWorldHint=true), the description discloses that this is a billing tool: submission consumes one daily ASR quota, and that quota is refunded automatically if the job fails. It also states that the call returns immediately with taskId and does not wait internally, which is critical behavioral context for an asynchronous submit tool.

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?

The description is front-loaded: the task and its immediate return are stated first, followed by billing, size limit, and polling guidance. No sentence is redundant; each adds operational value for an agent calling the tool.

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?

The output schema covers the return shape, so the description need not explain responses, and it instead provides the billing, size, and polling behavior the schema cannot express. For a two-parameter async submit tool, no information needed to invoke 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?

Schema coverage is 100%, so both parameters, lang and audioUrl, are already documented, including the auto default and the 50 MB limit. The description repeats the size constraint and adds nothing about lang, so the baseline 3 is appropriate.

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 states a specific verb and resource: 'submit asynchronous transcription task (long-audio entry point)', and it names the return value immediately by giving the taskId. The phrase 'long-audio entry point' scopes this tool to long audio and separates it from short-audio and video-transcription siblings.

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?

The description gives clear usage conditions: long audio with audioUrl no larger than 50 MB, and then polling via get_asr_job with a concrete schedule: first poll after 3 s, then every 5 s, with a total limit of 10 minutes and an explicit warning not to poll indefinitely. It does not explicitly name which sibling to use for short audio, so the guidance is strong but not complete.

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