Skip to main content
Glama

SocialDataX 抖音 Douyin MCP

douyin_get_video_comments_by_aweme_id

Read-only

根据抖音作品 aweme_id 获取一级评论列表,支持 page_token 翻页。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aweme_idYes抖音作品的数字 aweme_id,通常可从搜索、详情或评论结果中的 aweme_id 字段复用;不要传作品链接、分享文案或带引号的字符串
page_tokenNopage_token 是不透明分页令牌。首次请求留空;继续翻页时必须将上一次返回的完整 next_page_token 原样传入,作为 page_token 使用;只能用于同一作品评论分页链路的下一页,不能跨能力或作品复用;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。

Output Schema

TableJSON 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 / items / items / properties / author / properties / sec_user_id / description
      Previous value: -"评论作者 sec_user_id;用户主页工具可直接复用"New value: +"评论作者 sec_user_id;当前不可用时为空字符串"
    • changedOutput schema / properties / items / items / properties / mentioned_users / items / properties / sec_user_id / description
      Previous value: -"被 @ 用户的 sec_user_id"New value: +"被 @ 用户的 sec_user_id;当前不可用时为空字符串"
  2. Changed1 schema field changed
    • changedOutput schema / properties / items / items / properties / comment_id / description
      Previous value: -"评论 ID"New value: +"当前一级评论 ID"
  3. 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"
      +]
  4. Changed1 schema field changed
    • changedInput schema / properties / aweme_id / description
      Previous value: -"抖音作品 aweme_id;可从 douyin_search_videos 返回的 items[*].aweme_id、作品详情结果或评论结果中复用"New value: +"抖音作品的数字 aweme_id,通常可从搜索、详情或评论结果中的 aweme_id 字段复用;不要传作品链接、分享文案或带引号的字符串"
  5. Changed4 schema fields changed
    • changedInput schema / properties / page_token / description
      Previous value: -"分页令牌。首次请求留空;继续翻页时原样传入上一次返回的 next_page_token;只能用于同一作品评论分页链路的下一页,不能跨能力或作品复用"New value: +"page_token 是不透明分页令牌。首次请求留空;继续翻页时必须将上一次返回的完整 next_page_token 原样传入,作为 page_token 使用;只能用于同一作品评论分页链路的下一页,不能跨能力或作品复用;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。"
    • addedOutput schema / properties / items / items / properties / mentioned_users
      Added value: +{
      +  "description": "当前一级评论正文中 @ 到的用户列表;无 @ 时为空数组",
      +  "items": {
      +    "properties": {
      +      "end": {
      +        "description": "@ 文本在原文中的结束位置",
      +        "type": "integer"
      +      },
      +      "name": {
      +        "description": "被 @ 用户昵称;当前不可用时为空字符串",
      +        "type": "string"
      +      },
      +      "sec_user_id": {
      +        "description": "被 @ 用户的 sec_user_id",
      +        "type": "string"
      +      },
      +      "start": {
      +        "description": "@ 文本在原文中的起始位置",
      +        "type": "integer"
      +      },
      +      "user_id": {
      +        "description": "被 @ 用户的 user_id",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "user_id",
      +      "sec_user_id",
      +      "name",
      +      "start",
      +      "end"
      +    ],
      +    "type": "object"
      +  },
      +  "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",
      -  "sticker",
      -  "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",
      +  "mentioned_users",
      +  "author"
      +]
    • changedOutput schema / properties / next_page_token / description
      Previous value: -"下一页分页令牌;为空表示没有更多结果"New value: +"下一页不透明分页令牌;为空表示没有更多结果。继续翻页时必须将返回的完整 next_page_token 原样作为 page_token 传回。next_page_token 只能用于同一能力和同一分页链路,不能跨能力、作品、用户、评论、关键词或筛选条件复用;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。"
  6. 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"
      +]
  7. Changed13 schema fields changed
    • changedOutput schema / properties / items / items / properties / author / properties / avatar_url / description
      Previous value: -"用户头像链接;当前不可用时为 null"New value: +"评论作者头像链接;当前不可用时为 null"
    • removedOutput schema / properties / items / items / properties / author / properties / bio
      Removed value: -{
      -  "description": "用户简介;当前不可用时为空字符串",
      -  "type": "string"
      -}
    • changedOutput schema / properties / items / items / properties / author / properties / douyin_id / description
      Previous value: -"用户主页展示的抖音号;当前不可用时为空字符串"New value: +"评论作者主页展示的抖音号;当前不可用时为空字符串"
    • removedOutput schema / properties / items / items / properties / author / properties / follower_count
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "integer"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "description": "粉丝数;当前不可用时为 null"
      -}
    • removedOutput schema / properties / items / items / properties / author / properties / following_count
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "integer"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "description": "关注数;当前不可用时为 null"
      -}
    • changedOutput schema / properties / items / items / properties / author / properties / name / description
      Previous value: -"用户昵称"New value: +"评论作者昵称"
    • changedOutput schema / properties / items / items / properties / author / properties / profile_url / description
      Previous value: -"用户主页链接;当前不可用时为 null"New value: +"评论作者主页链接;当前不可用时为 null"
    • removedOutput schema / properties / items / items / properties / author / properties / received_like_count
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "integer"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "description": "用户内容累计收到的点赞数;当前不可用时为 null"
      -}
    • changedOutput schema / properties / items / items / properties / author / properties / sec_user_id / description
      Previous value: -"用户 sec_user_id;用户主页和作品工具可直接复用"New value: +"评论作者 sec_user_id;用户主页工具可直接复用"
    • changedOutput schema / properties / items / items / properties / author / properties / user_id / description
      Previous value: -"用户 user_id;当前不可用时为空字符串"New value: +"评论作者 user_id;当前不可用时为空字符串"
    • changedOutput schema / properties / items / items / properties / author / properties / verification_label / description
      Previous value: -"用户认证文案;当前不可用时为空字符串"New value: +"评论作者认证文案;当前不可用时为空字符串"
    • changedOutput schema / properties / items / items / properties / author / properties / verified / description
      Previous value: -"用户是否为认证账号"New value: +"评论作者是否为认证账号"
    • changedOutput schema / properties / items / items / properties / author / required
      Previous value: -[
      -  "user_id",
      -  "sec_user_id",
      -  "name",
      -  "avatar_url",
      -  "profile_url",
      -  "bio",
      -  "verification_label",
      -  "verified",
      -  "follower_count",
      -  "following_count",
      -  "received_like_count",
      -  "douyin_id"
      -]New value: +[
      +  "user_id",
      +  "sec_user_id",
      +  "douyin_id",
      +  "name",
      +  "avatar_url",
      +  "profile_url",
      +  "verification_label",
      +  "verified"
      +]
  8. Changed4 schema fields changed
    • changedInput schema / properties / page_token / description
      Previous value: -"分页令牌。首次请求留空;继续翻页时原样传入上一次返回的 next_page_token;只能用于同一作品评论分页链路的下一页,不能跨工具或作品复用"New value: +"分页令牌。首次请求留空;继续翻页时原样传入上一次返回的 next_page_token;只能用于同一作品评论分页链路的下一页,不能跨能力或作品复用"
    • removedOutput schema / properties / items / items / properties / ip_label
      Removed value: -{
      -  "description": "评论 IP 属地;当前不可用时为空字符串",
      -  "type": "string"
      -}
    • addedOutput schema / properties / items / items / properties / ip_location
      Added value: +{
      +  "description": "评论 IP 属地;当前不可用时为空字符串",
      +  "type": "string"
      +}
    • changedOutput schema / properties / items / items / required
      Previous value: -[
      -  "comment_id",
      -  "aweme_id",
      -  "content",
      -  "content_type",
      -  "create_time",
      -  "like_count",
      -  "reply_count",
      -  "ip_label",
      -  "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",
      +  "video_urls",
      +  "is_hot",
      +  "is_folded",
      +  "author"
      +]
  9. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the read-only nature is covered. The description adds behavioral context beyond annotations by specifying that only top-level comments are returned and that page_token pagination is supported. It does not mention rate limits or error behavior, but these are secondary for a simple read operation.

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 a single, focused sentence that front-loads the primary action and resource, then states the pagination capability. There is no filler, repetition, or unnecessary detail, making it easy to scan.

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 two-parameter read-only tool with a full output schema and annotations covering read-only/open-world behavior, the description is complete. It states the core function, the identifier, and pagination support, which is all an agent needs to correctly invoke and page through results.

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 the baseline is 3. The description adds no parameter-level meaning beyond the schema; it merely restates that pagination is supported, which the page_token schema description already explains in greater detail.

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 uses a specific verb (获取/get), names the resource (一级评论列表/top-level comment list), and specifies the key identifier (aweme_id). It clearly differentiates from siblings by stating it fetches top-level comments by aweme_id, as opposed to by URL or replies by comment_id.

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?

No explicit when-to-use or when-not-to-use guidance is provided, nor are alternatives named. The intended context is implied through the resource and identifier, but the description does not state exclusions or direct an agent to sibling tools when appropriate.

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