Skip to main content
Glama

tiktok_download

Batch download watermark-free HD TikTok and short-video MP4s without login or cookies, then validate each file with ffprobe to reject broken audio-only downloads.

Instructions

Batch download watermark-free HD TikTok (and other short-video) MP4s without login or cookies. Uses tikwm HD API as primary with automatic yt-dlp fallback, and validates every downloaded file via ffprobe (positive width, height, duration, and file size) to guarantee no audio-only stubs.

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": {
      "urls": "<urls>",
      "out_dir": "<out_dir>"
    },
    "name": "tiktok_download"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsYesList of TikTok or short-video URLs to download.
proxyNoOptional HTTP/HTTPS proxy URL (e.g. http://127.0.0.1:7890). Defaults to system env proxy if set.
out_dirYesOutput directory where verified MP4s and _download_manifest.json will be saved.
overwriteNoRe-download even if a verified local clip with the same ID already exists.
throttle_secNoDelay in seconds between tikwm API calls (default 1.5).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/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 behavioral burden and does substantial work: primary tikwm HD API, automatic yt-dlp fallback, ffprobe validation on width/height/duration/size, and a manifest file written to the output directory. It stops short of describing failure handling for individual URLs or rate-limit consequences beyond the throttle parameter.

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?

Two tightly packed sentences with zero filler, front-loading the core capability before the implementation and validation details. Every clause (fallback, ffprobe checks, no-stub guarantee) adds information an agent cannot get elsewhere.

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 five-parameter batch tool with no annotations and no output schema, the description covers the pipeline, validation guarantees, and the manifest artifact well. The remaining gap is failure semantics per URL and what the tool returns or raises when some downloads fail.

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 all five parameters are already documented, and the description adds only light framing (watermark-free HD output, manifest alongside MP4s, throttle applies to tikwm calls). The baseline of 3 is appropriate when the schema does the heavy lifting.

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?

States a specific verb and resource with scope: 'Batch download watermark-free HD TikTok (and other short-video) MP4s'. The batch/watermark-free/HD qualifiers make it clearly distinct from the sibling tools (check_environment, clip_wash, video_matting), none of which are downloaders.

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 description implies usage (give a list of URLs, get verified MP4s) and notes the operation needs no login or cookies, which is useful context. But it never states when to prefer this tool over alternatives, when not to use it, or what happens on partial failures across a batch.

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