Skip to main content
Glama

SocialDataX 抖音 Douyin MCP

douyin_get_video_detail_by_aweme_id

Read-only

根据抖音作品 aweme_id 获取视频或图文作品详情;已知 aweme_id 时优先使用此入口。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aweme_idYes抖音作品的数字 aweme_id,通常可从搜索、详情或评论结果中的 aweme_id 字段复用;不要传作品链接、分享文案或带引号的字符串

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
musicYes作品绑定音乐或原声资产;不表示视频播放时需要额外叠加播放;当前不可用时为 null
videoYes抖音平台播放器资源;视频作品为视频播放资源,图文作品可能为音频播放资源;无法可靠识别时为 null
authorYes作品作者信息
imagesYes作品图片展示资源列表;图文作品按顺序返回所有图片,视频作品为空数组
pointsYes本次成功调用的积分消耗与调用完成时的账户积分余额。
aweme_idYes作品 aweme_id
share_urlYes作品页面/分享链接;可作为按 url 查询作品详情或评论时的输入;当前不可用时为 null
like_countYes作品点赞数
topic_tagsYes作品话题标签列表;无话题标签时为空数组
descriptionYes作品文案
share_countYes作品分享数
content_typeYes作品类型:video 表示视频,image 表示图文,unknown 表示未知
publish_timeYes作品发布时间,秒级 Unix 时间戳
collect_countYes作品收藏数
comment_countYes作品评论数
cover_image_urlYes作品封面图链接;当前不可用时为 null
mentioned_usersYes作品正文中 @ 到的用户列表;无 @ 时为空数组

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / properties / author / properties / sec_user_id / description
      Previous value: -"用户 sec_user_id;用户主页和作品工具可直接复用"New value: +"用户 sec_user_id;当前不可用时为空字符串"
    • changedOutput schema / 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 / video / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "duration_ms": {
      -        "anyOf": [
      -          {
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "播放器资源时长,毫秒;当前不可用时为 null"
      -      },
      -      "media_type": {
      -        "description": "播放器资源类型:video 表示视频,audio 表示音频,unknown 表示未知",
      -        "enum": [
      -          "video",
      -          "audio",
      -          "unknown"
      -        ],
      -        "type": "string"
      -      },
      -      "play_url": {
      -        "description": "抖音平台播放器资源链接;视频作品通常为 mp4,图文作品可能为音频播放资源;不同于作品页面或分享链接,不用于查询作品详情或评论",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "play_url",
      -      "duration_ms",
      -      "media_type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "duration_ms": {
      +        "anyOf": [
      +          {
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "播放器资源时长,毫秒;当前不可用时为 null"
      +      },
      +      "height": {
      +        "anyOf": [
      +          {
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "播放器资源高度,像素;当前不可用时为 null"
      +      },
      +      "media_type": {
      +        "description": "播放器资源类型:video 表示视频,audio 表示音频,unknown 表示未知",
      +        "enum": [
      +          "video",
      +          "audio",
      +          "unknown"
      +        ],
      +        "type": "string"
      +      },
      +      "play_url": {
      +        "description": "抖音平台播放器资源链接;视频作品通常为 mp4,图文作品可能为音频播放资源;不同于作品页面或分享链接,不用于查询作品详情或评论",
      +        "type": "string"
      +      },
      +      "width": {
      +        "anyOf": [
      +          {
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "播放器资源宽度,像素;当前不可用时为 null"
      +      }
      +    },
      +    "required": [
      +      "play_url",
      +      "duration_ms",
      +      "width",
      +      "height",
      +      "media_type"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  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: -[
      -  "aweme_id",
      -  "content_type",
      -  "description",
      -  "publish_time",
      -  "cover_image_url",
      -  "images",
      -  "video",
      -  "music",
      -  "share_url",
      -  "mentioned_users",
      -  "topic_tags",
      -  "like_count",
      -  "comment_count",
      -  "collect_count",
      -  "share_count",
      -  "author"
      -]New value: +[
      +  "aweme_id",
      +  "content_type",
      +  "description",
      +  "publish_time",
      +  "cover_image_url",
      +  "images",
      +  "video",
      +  "music",
      +  "share_url",
      +  "mentioned_users",
      +  "topic_tags",
      +  "like_count",
      +  "comment_count",
      +  "collect_count",
      +  "share_count",
      +  "author",
      +  "points"
      +]
  4. Changed2 schema fields changed
    • removedOutput schema / properties / images / items / properties / live_photo / default
      Removed value: -null
    • changedOutput schema / properties / images / items / required
      Previous value: -[
      -  "url",
      -  "width",
      -  "height"
      -]New value: +[
      +  "url",
      +  "width",
      +  "height",
      +  "live_photo"
      +]
  5. Changed1 schema field changed
    • addedOutput schema / properties / images / items / properties / live_photo
      Added value: +{
      +  "anyOf": [
      +    {
      +      "properties": {
      +        "duration_ms": {
      +          "anyOf": [
      +            {
      +              "type": "integer"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "图片动效视频资源时长,毫秒;当前不可用时为 null"
      +        },
      +        "format": {
      +          "description": "图片动效视频资源格式,例如 mp4",
      +          "type": "string"
      +        },
      +        "height": {
      +          "anyOf": [
      +            {
      +              "type": "integer"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "图片动效视频资源高度,像素;当前不可用时为 null"
      +        },
      +        "play_url": {
      +          "description": "图片动效视频资源链接;用于还原图文作品中单张图片的动态效果,通常为 mp4",
      +          "type": "string"
      +        },
      +        "width": {
      +          "anyOf": [
      +            {
      +              "type": "integer"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "图片动效视频资源宽度,像素;当前不可用时为 null"
      +        }
      +      },
      +      "required": [
      +        "play_url",
      +        "duration_ms",
      +        "width",
      +        "height",
      +        "format"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "图片动效视频资源;普通静态图片为 null,不表示作品主视频或背景音乐"
      +}
  6. Changed2 schema fields changed
    • addedOutput schema / properties / topic_tags
      Added value: +{
      +  "description": "作品话题标签列表;无话题标签时为空数组",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "id": {
      +        "description": "话题标签 ID;当前不可用时为空字符串",
      +        "type": "string"
      +      },
      +      "name": {
      +        "description": "话题标签名称",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "name",
      +      "id"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "aweme_id",
      -  "content_type",
      -  "description",
      -  "publish_time",
      -  "cover_image_url",
      -  "images",
      -  "video",
      -  "music",
      -  "share_url",
      -  "mentioned_users",
      -  "like_count",
      -  "comment_count",
      -  "collect_count",
      -  "share_count",
      -  "author"
      -]New value: +[
      +  "aweme_id",
      +  "content_type",
      +  "description",
      +  "publish_time",
      +  "cover_image_url",
      +  "images",
      +  "video",
      +  "music",
      +  "share_url",
      +  "mentioned_users",
      +  "topic_tags",
      +  "like_count",
      +  "comment_count",
      +  "collect_count",
      +  "share_count",
      +  "author"
      +]
  7. 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 字段复用;不要传作品链接、分享文案或带引号的字符串"
  8. Changed2 schema fields changed
    • addedOutput schema / 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 / required
      Previous value: -[
      -  "aweme_id",
      -  "content_type",
      -  "description",
      -  "publish_time",
      -  "cover_image_url",
      -  "images",
      -  "video",
      -  "music",
      -  "share_url",
      -  "like_count",
      -  "comment_count",
      -  "collect_count",
      -  "share_count",
      -  "author"
      -]New value: +[
      +  "aweme_id",
      +  "content_type",
      +  "description",
      +  "publish_time",
      +  "cover_image_url",
      +  "images",
      +  "video",
      +  "music",
      +  "share_url",
      +  "mentioned_users",
      +  "like_count",
      +  "comment_count",
      +  "collect_count",
      +  "share_count",
      +  "author"
      +]
  9. First observed

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds that the tool covers both video and image-text works, which is useful, but it does not disclose any additional behavioral traits such as return structure or edge cases; the value it adds beyond annotations is modest.

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, concise sentence that states the action, resource, identifier, and usage priority. There is no filler or repetition of schema details, and the most important decision guidance is front-loaded.

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?

Given the tool has only one well-documented parameter, an output schema, and annotations covering safety, the description is complete enough for an agent to invoke it correctly. The sibling context also makes the alternative URL-based entry obvious.

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 single parameter aweme_id is thoroughly documented in the schema, including its numeric nature and what not to pass. The tool description itself adds little parameter-specific meaning, so the baseline score of 3 is appropriate.

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') and clearly identifies the resource: video or image-text work details by aweme_id. It also distinguishes this entry from the URL-based sibling tool by emphasizing that this is the preferred entry when aweme_id is known.

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?

The description explicitly states when to use this tool: when the aweme_id is already known, this entrance should be prioritized. This effectively tells the agent to prefer this tool over douyin_get_video_detail_by_url when the ID is available, providing clear selection guidance.

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