Skip to main content
Glama

提交长音频转写任务

submit_asr_job

Submit long audio via public URL (≤50MB) for asynchronous speech-to-text transcription; get a taskId immediately and poll for completion and results.

Instructions

提交异步转写任务(长音频入口),立即返回 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 秒限制)

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 cost model (consumes one daily ASR quota on submit, auto-refunded on failure), the ≤50MB constraint, and that the call does not block internally. These are exactly the consequences an agent needs before triggering a non-idempotent, quota-consuming write.

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?

Front-loaded with purpose and return value, then cost, then constraints, then follow-up protocol — every sentence carries operational information and none repeat the name or 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 two-parameter async submit tool with no output schema, the description covers the return value (taskId), the billing side effect, size limits, and the full polling lifecycle, leaving nothing an agent needs before invoking it.

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 audioUrl, lang and the 50MB cap are already documented; the description mostly restates them. It adds one useful nuance ('时长无 60 秒限制'), but says nothing about the lang parameter's behavior or format expectations beyond what the schema provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource (提交异步转写任务) and pins its scope as the 长音频入口 that returns a taskId immediately, which separates it from the video-transcribe sibling by audio type. It does not name the closest sibling (submit_video_transcribe) explicitly, so the differentiation is inferable rather than stated.

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 post-call guidance: poll with get_asr_job, first round after 3s, then every 5s, cap at 10 minutes, and explicitly says not to poll indefinitely. It lacks an explicit when-not-to-use or a named alternative for shorter/video audio, so routing to a sibling is left to inference.

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