Skip to main content
Glama

DeepSeek ASR

deepseek_asr

Transcribe 16-bit PCM WAV or Ogg Opus audio files into text with automatic language detection, handling files up to 8 MiB or 120 seconds.

Instructions

把音频文件转写为文字。支持 16 位 PCM WAV 或 Ogg Opus,单次最大 8 MiB、最长 120 秒,语种自动识别。

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": {
      "fileBase64": "<fileBase64>",
      "fileName": "<fileName>"
    },
    "name": "deepseek_asr"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNameYes文件名,需保留扩展名,例如 speech.wav、speech.opus。
fileBase64Yes音频文件的 base64 编码,支持 data URL 前缀。

Output Schema

NameRequiredDescriptionDefault
textYes转写文本
request_idYes请求 ID
duration_msYes音频时长,单位为毫秒

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose meaningful operational limits: supported codecs (16-bit PCM WAV, Ogg Opus), a per-request size cap (8 MiB), a duration cap (120 seconds), and automatic language detection. It does not discuss failure modes for oversized/unsupported input, but the returned shape is covered by the output schema, so the remaining gap is modest.

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?

A single compact sentence with the capability front-loaded and constraints following, and every clause (formats, size, duration, language detection) carries information an agent needs. No preamble or redundant restatement of the title.

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?

For a two-parameter transcription call with a 100%-covered schema and an output schema handling return values, the description supplies the input envelope and limits an agent needs to call it correctly. Only the behavior on rejected input (too large, wrong codec) is left implicit, which is a minor omission at this complexity.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3; the description adds value by specifying which audio formats are actually valid, which the schema does not state for fileBase64 and which directly constrains what an agent should encode. Encoding requirements (base64, data URL prefix) and filename extension rules remain in the schema, so no further duplication is needed.

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 and resource pair — '把音频文件转写为文字' (transcribe an audio file to text) — which makes the direction of the audio-to-text operation unambiguous against siblings like deepseek_tts and deepseek_ocr. It stops short of explicitly naming those siblings or contrasting itself with them, so it lands at clear-but-not-differentiating.

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

Usage Guidelines3/5

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

The constraints (WAV/Opus, 8 MiB, 120 seconds) implicitly tell an agent when this tool is applicable by defining the accepted input envelope. There is no explicit when-to-use / when-not-to-use guidance or pointer to an alternative for, say, longer audio or other formats, leaving the routing logic to inference.

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