Skip to main content
Glama

SocialDataX 抖音 Douyin MCP

douyin_get_user_posted_videos_by_profile_url

Read-only

根据抖音主页长链接、短链接或分享文案获取用户发布的作品列表,支持 page_token 翻页。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_tokenNopage_token 是不透明分页令牌。首次请求留空;继续翻页时必须将上一次返回的完整 next_page_token 原样传入,作为 page_token 使用;只能用于同一用户作品分页链路的下一页,不能跨能力或用户复用;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。
profile_urlYes抖音用户主页链接、用户短链接或用户分享文案;不要传作品链接。已知 sec_user_id 时优先使用 ID 入口

Output Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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;当前不可用时为空字符串"
  2. Changed1 schema field changed
    • changedOutput schema / properties / items / items / 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: -[
      -  "items",
      -  "next_page_token"
      -]New value: +[
      +  "items",
      +  "next_page_token",
      +  "points"
      +]
  4. Changed2 schema fields changed
    • removedOutput schema / properties / items / items / properties / images / items / properties / live_photo / default
      Removed value: -null
    • changedOutput schema / properties / items / items / properties / images / items / required
      Previous value: -[
      -  "url",
      -  "width",
      -  "height"
      -]New value: +[
      +  "url",
      +  "width",
      +  "height",
      +  "live_photo"
      +]
  5. Changed1 schema field changed
    • addedOutput schema / properties / items / items / 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 / items / items / 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 / properties / items / items / required
      Previous value: -[
      -  "aweme_id",
      -  "content_type",
      -  "description",
      -  "publish_time",
      -  "cover_image_url",
      -  "images",
      -  "video",
      -  "share_url",
      -  "author",
      -  "like_count",
      -  "comment_count",
      -  "collect_count",
      -  "share_count"
      -]New value: +[
      +  "aweme_id",
      +  "content_type",
      +  "description",
      +  "publish_time",
      +  "cover_image_url",
      +  "images",
      +  "video",
      +  "share_url",
      +  "topic_tags",
      +  "author",
      +  "like_count",
      +  "comment_count",
      +  "collect_count",
      +  "share_count"
      +]
  7. 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 只能用于同一能力和同一分页链路,不能跨能力、作品、用户、评论、关键词或筛选条件复用;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。"
  8. Changed1 schema field changed
    • changedInput schema / properties / page_token / description
      Previous value: -"分页令牌。首次请求留空;继续翻页时原样传入上一次返回的 next_page_token;只能用于同一用户作品分页链路的下一页,不能跨工具或用户复用"New value: +"分页令牌。首次请求留空;继续翻页时原样传入上一次返回的 next_page_token;只能用于同一用户作品分页链路的下一页,不能跨能力或用户复用"
  9. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the read-only nature is covered; the description adds that pagination is supported but does not disclose rate limits, auth needs, or whether the returned list is limited to public data. This is adequate for a read-only list tool but not particularly rich.

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?

One compact sentence conveys the core purpose, accepted input types, and pagination capability without filler. The information is front-loaded and every part earns its place.

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?

The definition is complete for this complexity level: the detailed input schema handles page_token invariants, an output schema exists, readOnly/openWorld annotations cover behavioral expectations, and sibling names make the alternatives clear. No critical call-information is 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%, so the schema already documents both profile_url and page_token thoroughly, including the opaque-token reuse constraints. The main description only restates the supported input forms and pagination concept, adding no meaning beyond the schema.

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 ('获取'), a specific resource ('用户发布的作品列表'), and the accepted input forms (profile long/short links or share text). This clearly distinguishes it from sibling info, series, comment, and search tools. The pagination mention further clarifies the operation's scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The main description implies the tool is for profile-URL-based video listing, and the profile_url parameter explicitly says not to pass video links and to prefer the sec_user_id entry when a sec_user_id is known, which routes the agent to the ID-based sibling. It does not, however, enumerate when to choose this over other siblings in the description text itself.

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