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 / follower_count / description
      Previous value: -"粉丝数;当前不可用时为 null"New value: +"平台展示的粉丝数;当前不可用时为 null"
  2. 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;当前不可用时为空字符串"
  3. 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"
      +  }
      +]
  4. 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"
      +]
  5. 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"
      +]
  6. 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,不表示作品主视频或背景音乐"
      +}
  7. 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"
      +]
  8. 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 只能用于同一能力和同一分页链路,不能跨能力、作品、用户、评论、关键词或筛选条件复用;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。"
  9. Changed1 schema field changed
    • changedInput schema / properties / page_token / description
      Previous value: -"分页令牌。首次请求留空;继续翻页时原样传入上一次返回的 next_page_token;只能用于同一用户作品分页链路的下一页,不能跨工具或用户复用"New value: +"分页令牌。首次请求留空;继续翻页时原样传入上一次返回的 next_page_token;只能用于同一用户作品分页链路的下一页,不能跨能力或用户复用"
  10. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds pagination support, but that behavior is also visible in the page_token schema, so the incremental disclosure beyond annotations is modest. There is no contradiction with annotations.

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 sentence with no wasted words: it front-loads the purpose and input forms, then mentions pagination. Nothing is redundant with the schema, and it is appropriately sized for a simple two-parameter tool.

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

Completeness4/5

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

For a read-only, two-parameter tool with an output schema, the description plus rich parameter schema covers input variants, pagination contract, and safety profile. It is complete enough, though alternative routing relies on parameter-level guidance rather than the top-level description.

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%; page_token is extensively documented and profile_url enumerates valid input types and forbidden inputs. The tool description itself adds little parameter-level meaning, which is acceptable under the high-coverage baseline.

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 concrete verb ('获取'), a specific resource ('用户发布的作品列表'), and the accepted input forms (long/short profile links or share text). This makes the tool's purpose clear and distinguishable from siblings that fetch user info, series, or use a sec_user_id entry point.

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 text makes clear this tool is for profile-URL-based access. The profile_url parameter description adds explicit exclusions ('不要传作品链接') and an alternative ('已知 sec_user_id 时优先使用 ID 入口'), which helps an agent choose between this tool and the sec_user_id-based sibling.

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