Skip to main content
Glama

douyin_download

Downloads a Douyin post locally: watermark-free video at available quality (H.264 preferred) or all gallery images, optional music, duplicate skipping; returns file paths.

Instructions

下载一个抖音作品到本地:视频取无水印最高可用画质(优先 H.264),图集会下全部图片,可选连背景音乐一起下。已下过的会自动跳过(有 manifest 去重)。返回本地文件路径,可用于后续剪辑/发布。

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": {
      "target": "<target>"
    },
    "name": "douyin_download"
  }
}

Input Schema

NameRequiredDescriptionDefault
dirNo保存目录(默认 data/downloads)
rawNo保留原始 JSON
musicNo是否同时下载背景音乐 mp3
targetYes分享链接 / 作品 ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations supply only a title, so the description carries the burden and does well: it discloses the quality-selection policy (watermark-free, H.264 preferred), the differing behavior for image galleries, the optional background-music track, manifest-based deduplication ('已下过的会自动跳过'), and that a local file path is returned. It omits any mention of whether login/auth is required, which is notable given sibling login tools.

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?

The description is compact and front-loaded with the action, then layers on quality policy, gallery behavior, music option, dedup, and return value in a single dense sentence plus a closing clause. Every clause carries information; only the '剪辑/发布' hint is arguably decorative.

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 4-parameter download tool with no output schema, the description covers selection policy, side effects on disk, dedup semantics, and the shape of the return value (local path), which is what an agent needs to chain it into editing or publishing. The main remaining gap is the absence of any authentication prerequisite, which matters here since Douyin downloads commonly require login.

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 description coverage is 100%, so the schema already documents all four parameters, making baseline 3 appropriate. The description adds some meaning for `music` (optional, downloads an mp3 alongside) and clarifies that `target` accepts either a share link or a work ID and may resolve to a video or an image gallery, but says nothing extra about `dir` or `raw`.

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 states a specific verb and resource ('下载一个抖音作品到本地') and enumerates what gets fetched: the highest available watermark-free video (H.264 preferred) or all images for an image gallery. It does not explicitly name a sibling such as douyin_batch_download or douyin_parse, so the single-vs-batch distinction must be inferred, but the operation itself is unambiguous.

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?

Usage context is only implied: it is clearly the single-item download path, and the closing note '可用于后续剪辑/发布' hints at the downstream workflow. There is no explicit 'use this instead of X' routing to douyin_batch_download or douyin_parse, and no stated prerequisites.

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