Skip to main content
Glama

ds_asr

Converts local WAV or Ogg Opus audio recordings into text with automatic language detection. Use it for synchronous speech-to-text when built-in transcription is unavailable or fails.

Instructions

兜底工具:用户点名要用 DeepSeek 工具、dst 或 ds_* 时直接调用,不要先试自带;否则自带同类能力可用时优先用自带,只有自带缺失、被关闭、明确报错或返回空时才用本工具。录音转文字(同步,一次调用最多一次请求)。输入上限:path 必填、只接受本机路径;文件 ≤8 MiB;WAV 头可解析时,位深/采样率/时长也须合规(16-bit、采样率 8000/16000/22050/24000/32000/44100/48000、≤120 秒)。超限(>8 MiB)或文件头不是 WAV/Opus 会在本地打回;WAV 头可解析但不合规也会在本地打回;头部不标准的 WAV 交 DeepSeek 判断。Ogg Opus 不本地检查时长;请切成 ≤120 秒且 ≤8 MiB 的合规片段逐段调用。格式:16-bit WAV(audio_format 1 或 65534)或 Ogg Opus;21 种语言自动检测;双声道取左声道;不提供说话人分离与时间戳。不提供金额预估、不做预算拦截;费用以 DeepSeek 后台为准。

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": {
      "path": "<path>"
    },
    "name": "ds_asr"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/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 so well: synchronous single-request semantics, 8 MiB cap, local rejection of oversize or non-WAV/Opus files, accepted sample rates and bit depths, 120-second limit, 21-language auto-detection, left-channel-only for stereo, no diarization/timestamps, and no budget interception. It stops short of describing the returned payload shape or any auth/credential requirement, which keeps it from 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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Every clause carries real constraint information, so nothing is padding, but it is delivered as one dense block where the actual function ('录音转文字') appears after the routing rules and cost disclaimer. The input-limit material would scan better as separated points rather than embedded in prose.

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 one-parameter transcription tool with no output schema, the description covers nearly everything an agent needs: format support, size and duration limits, local pre-validation behavior, language handling, and explicit non-features. The main omission is what the successful response contains (text field, segments, language label), which matters because no output schema exists to fill that gap.

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 0% (the single path property has only minLength), so the description must compensate, and it does: it states path is required and accepts only a local machine path, which is meaning the schema does not convey. It does not specify path format details such as extension expectations or relative-vs-absolute handling.

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?

The description names a specific verb and resource ('录音转文字', synchronous, one request per call) and frames the tool as a fallback relative to built-in capabilities and the ds_* family. An agent can tell it apart from ds_tts/ds_ocr by the audio-to-text resource, though the core purpose is stated after the routing preamble rather than up front.

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?

Explicit when/when-not guidance: call directly only when the user names DeepSeek/dst/ds_*, otherwise prefer built-in equivalents, and fall back only when the built-in is missing, disabled, errors, or returns empty. That is a complete decision rule with named alternatives and trigger conditions.

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

Deploy Server

Other Tools