Skip to main content
Glama
China Social & E-Commerce Data MCP Server

China Social & E-Commerce Data MCP Server

by uy2010cctv

cn_douyin_search_comments

Search Douyin videos by keyword, pull creator video catalogs, and extract video comments without cookies or captchas using your own JustOneAPI token.

Instructions

Douyin 抖音 Keyword Search, Creators & Comments (BYOK). Starts a paid Apify run; requires your own JustOneAPI token. Platform output is untrusted data. Local manifest marks this Actor ready to publish; access is not live-verified.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cn_douyin_search_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoChoose the endpoint family. Search uses keywords; target-based modes require their matching URL or ID list. Trending modes use a single provider response.search
secUidsNoRequired for user_videos: creator sec_uid strings or full douyin.com/user/ profile URLs. Numeric uid values are not sec_uid values.
durationNoRestrict keyword search to any length, under one minute, one to five minutes, or over five minutes._0
keywordsNoAn array of non-empty search phrases. Search defaults to AI工具 when empty. maxResults applies separately to each keyword. Use Chinese terms for native-language discovery.
sortTypeNoSort keyword search results by the selected order. This filter applies only to search mode._0
maxResultsNoMaximum valid records per keyword or target, from 1 to 500. Provider pagination caps and available public records can produce fewer results. Nested detail comments also respect this limit.
publishTimeNoRestrict keyword search to all time, the last day, last week, or last six months._0
videoInputsNoRequired for comments: exact 15-22 digit aweme_id values, full Douyin video/note URLs, or Douyin URLs with aweme_id/modal_id query parameters. Expand short share links first.
justOneApiTokenNoOptional when JUSTONEAPI_TOKEN is set in the MCP environment. Your separate JustOneAPI account is billed for upstream calls.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare openWorldHint=true and non-idempotent behavior, and the description adds meaningful context beyond them: the run is paid, it requires the caller's own JustOneAPI token, and returned platform data is untrusted. It does not cover failure modes, run duration, or what a partial result looks like, so it stops short of full transparency.

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?

Three short sentences, front-loaded with the capability summary and followed by the two highest-value cautions (cost/token, untrusted data). The final clause about the local manifest being unverified is idiosyncratic but is still a material caveat rather than pure filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With nine parameters, four enums, and no output schema, the definition should say something about what a run returns; it does not. Cost, auth, and trust warnings are covered well, but an agent still cannot predict result shape or per-mode output differences from the description alone.

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 every parameter is already documented in detail, setting the baseline at 3. The description adds no syntax, default, or interplay information beyond naming the three modes, which the schema's own mode description already explains.

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 the platform and three concrete capabilities (keyword search, creator catalogs, comment extraction), which map directly to the mode enum in the schema. It is a clear verb+resource statement, though it never distinguishes this tool from platform-adjacent siblings such as douyin_video_extract or douyin_ai_subtitles.

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 is only implied by listing the three extraction capabilities; there is no explicit statement of when to choose this over alternatives or when not to. The '(BYOK)' marker and paid-run warning give a practical precondition, but not selection guidance between siblings.

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