Skip to main content
Glama

Transcribe Audio

transcribe_audio

Converts a short public audio URL (up to 3 minutes or 20 MB) into plain text with automatic language detection and optional hotwords, for voice-message and meeting-note transcription.

Instructions

把一段短音频(公网 URL)转成文字。适用于 ≤3 分钟、≤20MB 的录音/语音消息,同步秒级返回。 更长的音频请改用 submit_transcription_task(异步任务)。 language 留空自动检测(支持普通话、英语及 22 种中文方言);指定时用语种代码(如 zh、en)。 hotwords 可传热词(人名、术语、品牌,逗号分隔),专有名词按所列写法优先转写——会议转写建议填与会人名。 返回全文纯文本(不含时间戳/分句时间轴)。计费按音频实际时长(约 0.5 元/小时,精确到秒),失败不计费。

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": {
      "audio_url": "<audio_url>"
    },
    "name": "transcribe_audio"
  }
}

Input Schema

NameRequiredDescriptionDefault
hotwordsNo
languageNo
audio_urlYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations only declare that this is not read-only, not idempotent, and not destructive; the description adds genuinely useful behavior beyond that: synchronous seconds-level latency, plain-text output with no timestamps or segment timeline, and per-second billing based on actual audio duration with failed calls unbilled. It does not cover auth requirements or whether the transcript is persisted, which keeps it below a 5.

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?

Front-loaded with purpose and scope, then alternatives, then parameter guidance, then return format and pricing – a logical order with no filler sentences. It is dense and longer than typical, though nearly every clause carries operational information an agent would otherwise have to guess.

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 3-parameter tool with an output schema, the definition covers everything an agent needs: size and duration limits, the async alternative, per-parameter meaning, the shape of the return value, and cost behavior. Nothing material is left unstated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden and does so for all three parameters: audio_url must be a public URL, language omission means auto-detect (Mandarin, English, 22 Chinese dialects) while explicit values are codes like zh/en, and hotwords are comma-separated proper nouns transcribed preferentially, with a concrete use case for meeting names.

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 first sentence states a specific verb and resource (把一段短音频转成文字) and immediately binds it to a scope (≤3 分钟、≤20MB、公网 URL、同步秒级返回). It also names the sibling used for the out-of-scope case (submit_transcription_task), so an agent can distinguish the two without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives both a positive condition (short recordings/voice messages under 3 minutes and 20MB) and an explicit exclusion with a named alternative (更长的音频请改用 submit_transcription_task). The sync-vs-async split is stated outright rather than inferred.

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