Skip to main content
Glama

SocialDataX 抖音 Douyin MCP

douyin_get_video_comment_replies_by_comment_id

Read-only

根据 aweme_id 和一级评论 comment_id 获取抖音评论回复;需同时传入 aweme_id 和 comment_id。用户已提供完整合法组合时直接使用;已有 aweme_id、作品链接或分享文案但缺少必需 ID 时,调用对应一级评论工具补全;缺少作品定位信息时向用户索取;不要传回复项自身的 comment_id;支持 page_token 翻页。

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": {
      "aweme_id": "<aweme_id>",
      "comment_id": "<comment_id>"
    },
    "name": "douyin_get_video_comment_replies_by_comment_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
aweme_idYes抖音作品的数字 aweme_id,通常可从搜索、详情或评论结果中的 aweme_id 字段复用;不要传作品链接、分享文案或带引号的字符串;用户已提供时直接使用;调用评论回复工具时必填,需与 comment_id 同时传入,且两者须属于同一作品
comment_idYes一级评论 ID comment_id;用户已提供时直接使用,否则可从一级评论结果 items[*].comment_id 复用;调用评论回复工具时必须同时传入同一作品的 aweme_id;不要传评论回复结果里的 items[*].comment_id
page_tokenNopage_token 是不透明分页令牌。首次请求留空;继续翻页时必须将上一次返回的完整 next_page_token 原样传入,作为 page_token 使用;只能用于同一作品下同一一级评论的回复分页链路,不能跨能力、作品或评论复用;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。

Output Schema

NameRequiredDescriptionDefault
itemsYes当前页评论回复列表
pointsYes本次成功调用的积分消耗与账户积分余额。
comment_countYes该一级评论下的回复总量;当前不可用时为 null
next_page_tokenYes下一页不透明分页令牌;为空表示没有更多结果。继续翻页时必须将返回的完整 next_page_token 原样作为 page_token 传回。next_page_token 只能用于同一能力和同一分页链路,不能跨能力、作品、用户、评论、关键词或筛选条件复用;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / properties / points / description
      Previous value: -"本次成功调用的积分消耗与调用完成时的账户积分余额。"New value: +"本次成功调用的积分消耗与账户积分余额。"
    • changedOutput schema / properties / points / properties / balance / description
      Previous value: -"本次接口完成时看到的当前积分余额,可为负数。"New value: +"优先返回调用完成时查询到的账户积分余额。查询失败时,回退到本次预扣后的余额快照。余额可为负数。"
  2. Changed2 schema fields changed
    • changedOutput schema / properties / points / properties / balance / description
      Previous value: -"本次接口完成时看到的当前积分余额。"New value: +"本次接口完成时看到的当前积分余额,可为负数。"
    • removedOutput schema / properties / points / properties / balance / minimum
      Removed value: -0
  3. Changed26 schema fields changed
    • addedOutput schema / properties / comment_count / title
      Added value: +"Comment Count"
    • addedOutput schema / properties / items / items / properties / author / properties / avatar_url / title
      Added value: +"Avatar Url"
    • addedOutput schema / properties / items / items / properties / author / properties / douyin_id / title
      Added value: +"Douyin Id"
    • addedOutput schema / properties / items / items / properties / author / properties / name / title
      Added value: +"Name"
    • addedOutput schema / properties / items / items / properties / author / properties / profile_url / title
      Added value: +"Profile Url"
    • addedOutput schema / properties / items / items / properties / author / properties / sec_user_id / title
      Added value: +"Sec User Id"
    • addedOutput schema / properties / items / items / properties / author / properties / user_id / title
      Added value: +"User Id"
    • addedOutput schema / properties / items / items / properties / author / properties / verification_label / title
      Added value: +"Verification Label"
    • addedOutput schema / properties / items / items / properties / author / properties / verified / title
      Added value: +"Verified"
    • addedOutput schema / properties / items / items / properties / author / title
      Added value: +"DouyinCommentAuthorData"
    • addedOutput schema / properties / items / items / properties / aweme_id / title
      Added value: +"Aweme Id"
    • addedOutput schema / properties / items / items / properties / comment_id / title
      Added value: +"Comment Id"
    • addedOutput schema / properties / items / items / properties / content / title
      Added value: +"Content"
    • addedOutput schema / properties / items / items / properties / content_type / title
      Added value: +"Content Type"
    • addedOutput schema / properties / items / items / properties / create_time / title
      Added value: +"Create Time"
    • addedOutput schema / properties / items / items / properties / image_urls / title
      Added value: +"Image Urls"
    • addedOutput schema / properties / items / items / properties / ip_location / title
      Added value: +"Ip Location"
    • addedOutput schema / properties / items / items / properties / is_folded / title
      Added value: +"Is Folded"
    • addedOutput schema / properties / items / items / properties / is_hot / title
      Added value: +"Is Hot"
    • addedOutput schema / properties / items / items / properties / like_count / title
      Added value: +"Like Count"
    • addedOutput schema / properties / items / items / properties / reply_count / title
      Added value: +"Reply Count"
    • changedOutput schema / properties / items / items / properties / sticker / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "animated_url": {
      -        "description": "表情或动图的动态资源链接;不可用时为空字符串",
      -        "type": "string"
      -      },
      -      "static_url": {
      -        "description": "表情或动图的静态预览图链接;不可用时为空字符串",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "static_url",
      -      "animated_url"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "animated_url": {
      +        "description": "表情或动图的动态资源链接;不可用时为空字符串",
      +        "title": "Animated Url",
      +        "type": "string"
      +      },
      +      "static_url": {
      +        "description": "表情或动图的静态预览图链接;不可用时为空字符串",
      +        "title": "Static Url",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "static_url",
      +      "animated_url"
      +    ],
      +    "title": "DouyinCommentStickerData",
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / items / items / title
      Added value: +"DouyinCommentReplyItem"
    • addedOutput schema / properties / items / title
      Added value: +"Items"
    • addedOutput schema / properties / next_page_token / title
      Added value: +"Next Page Token"
    • addedOutput schema / title
      Added value: +"DouyinVideoCommentRepliesResult"
  4. Changed1 schema field changed
    • changedOutput schema / properties / items / items / properties / author / properties / sec_user_id / description
      Previous value: -"评论作者 sec_user_id;用户主页工具可直接复用"New value: +"评论作者 sec_user_id;当前不可用时为空字符串"
  5. Changed3 schema fields changed
    • changedInput schema / properties / aweme_id / description
      Previous value: -"抖音作品的数字 aweme_id,通常可从搜索、详情或评论结果中的 aweme_id 字段复用;不要传作品链接、分享文案或带引号的字符串;调用评论回复工具时必填,需与 comment_id 同时传入"New value: +"抖音作品的数字 aweme_id,通常可从搜索、详情或评论结果中的 aweme_id 字段复用;不要传作品链接、分享文案或带引号的字符串;用户已提供时直接使用;调用评论回复工具时必填,需与 comment_id 同时传入,且两者须属于同一作品"
    • changedInput schema / properties / comment_id / description
      Previous value: -"一级评论 ID comment_id;可从一级评论结果 items[*].comment_id 复用,用于获取该评论下的回复;调用评论回复工具时必须同时传入 aweme_id"New value: +"一级评论 ID comment_id;用户已提供时直接使用,否则可从一级评论结果 items[*].comment_id 复用;调用评论回复工具时必须同时传入同一作品的 aweme_id;不要传评论回复结果里的 items[*].comment_id"
    • changedOutput schema / properties / items / items / properties / comment_id / description
      Previous value: -"评论 ID"New value: +"当前评论回复自身 ID;不是读取回复时输入的一级评论 comment_id"
  6. Changed2 schema fields changed
    • addedOutput schema / properties / points
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "本次成功调用的积分消耗与调用完成时的账户积分余额。",
      +  "properties": {
      +    "balance": {
      +      "description": "本次接口完成时看到的当前积分余额。",
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "cost": {
      +      "description": "本次请求最终确认消耗的积分。",
      +      "minimum": 0,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "cost",
      +    "balance"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "items",
      -  "next_page_token",
      -  "comment_count"
      -]New value: +[
      +  "items",
      +  "next_page_token",
      +  "comment_count",
      +  "points"
      +]
  7. Changed1 schema field changed
    • changedInput schema / properties / aweme_id / description
      Previous value: -"抖音作品 aweme_id;调用评论回复工具时必填,需与 comment_id 同时传入"New value: +"抖音作品的数字 aweme_id,通常可从搜索、详情或评论结果中的 aweme_id 字段复用;不要传作品链接、分享文案或带引号的字符串;调用评论回复工具时必填,需与 comment_id 同时传入"
  8. Changed2 schema fields changed
    • changedInput schema / properties / aweme_id / description
      Previous value: -"抖音作品 aweme_id;可从 douyin_search_videos 返回的 items[*].aweme_id、作品详情结果或评论结果中复用"New value: +"抖音作品 aweme_id;调用评论回复工具时必填,需与 comment_id 同时传入"
    • changedInput schema / properties / comment_id / description
      Previous value: -"一级评论 ID comment_id;可从一级评论结果 items[*].comment_id 复用,用于获取该评论下的回复"New value: +"一级评论 ID comment_id;可从一级评论结果 items[*].comment_id 复用,用于获取该评论下的回复;调用评论回复工具时必须同时传入 aweme_id"
  9. Changed2 schema fields changed
    • changedInput schema / properties / page_token / description
      Previous value: -"分页令牌。首次请求留空;继续翻页时原样传入上一次返回的 next_page_token;只能用于同一作品下同一一级评论的回复分页链路,不能跨能力、作品或评论复用"New value: +"page_token 是不透明分页令牌。首次请求留空;继续翻页时必须将上一次返回的完整 next_page_token 原样传入,作为 page_token 使用;只能用于同一作品下同一一级评论的回复分页链路,不能跨能力、作品或评论复用;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。"
    • changedOutput schema / properties / next_page_token / description
      Previous value: -"下一页分页令牌;为空表示没有更多结果"New value: +"下一页不透明分页令牌;为空表示没有更多结果。继续翻页时必须将返回的完整 next_page_token 原样作为 page_token 传回。next_page_token 只能用于同一能力和同一分页链路,不能跨能力、作品、用户、评论、关键词或筛选条件复用;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。"
  10. Changed5 schema fields changed
    • changedOutput schema / properties / items / items / properties / content_type / description
      Previous value: -"评论内容类型:text 表示文字,image 表示图片,video 表示视频,unknown 表示未知"New value: +"评论内容类型:text 表示文字,image 表示图片,sticker 表示表情或动图,unknown 表示未知"
    • changedOutput schema / properties / items / items / properties / content_type / enum
      Previous value: -[
      -  "text",
      -  "image",
      -  "video",
      -  "unknown"
      -]New value: +[
      +  "text",
      +  "image",
      +  "sticker",
      +  "unknown"
      +]
    • addedOutput schema / properties / items / items / properties / sticker
      Added value: +{
      +  "anyOf": [
      +    {
      +      "properties": {
      +        "animated_url": {
      +          "description": "表情或动图的动态资源链接;不可用时为空字符串",
      +          "type": "string"
      +        },
      +        "static_url": {
      +          "description": "表情或动图的静态预览图链接;不可用时为空字符串",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "static_url",
      +        "animated_url"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "评论表情或动图资源;无表情或动图时为 null"
      +}
    • removedOutput schema / properties / items / items / properties / video_urls
      Removed value: -{
      -  "description": "评论视频链接列表;无视频时为空数组",
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • changedOutput schema / properties / items / items / required
      Previous value: -[
      -  "comment_id",
      -  "aweme_id",
      -  "content",
      -  "content_type",
      -  "create_time",
      -  "like_count",
      -  "reply_count",
      -  "ip_location",
      -  "image_urls",
      -  "video_urls",
      -  "is_hot",
      -  "is_folded",
      -  "author"
      -]New value: +[
      +  "comment_id",
      +  "aweme_id",
      +  "content",
      +  "content_type",
      +  "create_time",
      +  "like_count",
      +  "reply_count",
      +  "ip_location",
      +  "image_urls",
      +  "sticker",
      +  "is_hot",
      +  "is_folded",
      +  "author"
      +]
  11. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare this as a read-only, open-world operation. The description adds useful behavioral constraints beyond annotations: both IDs are required, they must belong to the same work, a reply item's own comment_id must not be used, and page_token supports pagination. It does not describe rate limits or return structure, but those are less critical here because an output schema exists.

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?

The description is front-loaded with the core action and required inputs, followed by concise routing and pagination guidance. Every clause appears to serve a purpose, with no redundant filler or tangential information. The semicolon-separated structure remains readable despite covering several constraints.

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

Completeness5/5

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

For a read-only, paginated retrieval tool with rich schema and output schema, the description covers the essential operational context: required ID pairing, same-work constraint, fallback to the first-level comment tool, user-asking behavior, and pagination support. Nothing needed for correct invocation appears to be missing.

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%, and the schema already documents aweme_id, comment_id, and page_token in detail, including same-work requirements and pagination token handling. The description reinforces the key ID constraints and mentions page_token pagination, but adds little semantic detail beyond what the schema already provides. A baseline score of 3 is appropriate when the schema carries the parameter documentation.

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?

The description states a specific verb and resource: retrieving Douyin comment replies using aweme_id and a first-level comment_id. It distinguishes this from first-level comment retrieval by emphasizing the comment_id of a first-level comment and warning not to pass a reply item's own comment_id. This is clear enough for an agent to select it over the sibling comment-listing tools.

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?

It gives explicit conditions: use directly when the user provides a complete valid pair; call the corresponding first-level comment tool when aweme_id or a video locator is available but the required comment_id is missing; ask the user when no video locator exists. It also names the pagination parameter and warns against using a reply item's comment_id, leaving little ambiguity about when and how to call it.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources