Skip to main content
Glama

SocialDataX 今日头条 MCP

toutiao_get_user_posts_by_profile_url

Read-only

通过头条用户主页链接读取其发布的作品;支持文章、视频和微头条及分页。

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": {
      "profile_url": "<profile_url>"
    },
    "name": "toutiao_get_user_posts_by_profile_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
page_tokenNo上一页返回的分页令牌;首次留空,不能跨用户或作品类型复用。
profile_urlYes头条用户主页链接或包含主页链接的分享文案;只有数字用户 ID 时使用 toutiao_get_user_posts_by_user_id。
content_typeNo作品筛选:all、article、video、micro_post。all

Output Schema

NameRequiredDescriptionDefault
itemsYes用户发布的作品列表。
pointsYes本次成功调用的积分消耗与账户积分余额。
next_page_tokenYes下一页分页令牌;为空表示结束。

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 / items / items / properties / author / properties / avatar_url / title
      Added value: +"Avatar Url"
    • 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 / user_id / title
      Added value: +"User Id"
    • addedOutput schema / properties / items / items / properties / author / title
      Added value: +"ToutiaoUserPostAuthor"
    • addedOutput schema / properties / items / items / properties / comment_count / title
      Added value: +"Comment Count"
    • 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 / cover_image_url / title
      Added value: +"Cover Image Url"
    • addedOutput schema / properties / items / items / properties / images / items / properties / height / title
      Added value: +"Height"
    • addedOutput schema / properties / items / items / properties / images / items / properties / url / title
      Added value: +"Url"
    • addedOutput schema / properties / items / items / properties / images / items / properties / width / title
      Added value: +"Width"
    • addedOutput schema / properties / items / items / properties / images / items / title
      Added value: +"ToutiaoImageData"
    • addedOutput schema / properties / items / items / properties / images / title
      Added value: +"Images"
    • addedOutput schema / properties / items / items / properties / is_pinned / title
      Added value: +"Is Pinned"
    • addedOutput schema / properties / items / items / properties / like_count / title
      Added value: +"Like Count"
    • addedOutput schema / properties / items / items / properties / post_id / title
      Added value: +"Post Id"
    • addedOutput schema / properties / items / items / properties / post_url / title
      Added value: +"Post Url"
    • addedOutput schema / properties / items / items / properties / publish_time / title
      Added value: +"Publish Time"
    • addedOutput schema / properties / items / items / properties / read_count / title
      Added value: +"Read Count"
    • addedOutput schema / properties / items / items / properties / title / title
      Added value: +"Title"
    • changedOutput schema / properties / items / items / properties / video / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "duration_ms": {
      -        "description": "视频时长,单位毫秒。",
      -        "type": "integer"
      -      },
      -      "height": {
      -        "description": "视频高度,像素。",
      -        "type": "integer"
      -      },
      -      "video_url": {
      -        "description": "视频播放链接,有效期有限,建议获取后及时使用。",
      -        "type": "string"
      -      },
      -      "width": {
      -        "description": "视频宽度,像素。",
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "video_url",
      -      "duration_ms",
      -      "width",
      -      "height"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "duration_ms": {
      +        "description": "视频时长,单位毫秒。",
      +        "title": "Duration Ms",
      +        "type": "integer"
      +      },
      +      "height": {
      +        "description": "视频高度,像素。",
      +        "title": "Height",
      +        "type": "integer"
      +      },
      +      "video_url": {
      +        "description": "视频播放链接,有效期有限,建议获取后及时使用。",
      +        "title": "Video Url",
      +        "type": "string"
      +      },
      +      "width": {
      +        "description": "视频宽度,像素。",
      +        "title": "Width",
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "video_url",
      +      "duration_ms",
      +      "width",
      +      "height"
      +    ],
      +    "title": "ToutiaoVideoData",
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / items / items / title
      Added value: +"ToutiaoUserPostItem"
    • 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: +"ToutiaoUserPostsResult"
  4. Changed1 schema field changed
    • addedOutput schema / properties / items / items / properties / is_pinned
      Added value: +{
      +  "default": false,
      +  "description": "是否在用户主页置顶。",
      +  "type": "boolean"
      +}
  5. First observed

TDQS

A3.5/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 safety and openness are covered. The description adds that results are paginated and cover three content types, which is useful, but it says nothing about result volume, ordering, or what a page token failure looks like beyond what the schema states.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single compact clause with the input source front-loaded and the supported content types trailing; nothing is wasted. It is, however, so terse that the routing and pagination nuances had to be pushed entirely into the schema.

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?

The tool is simple (one required param, one enum, one pagination token), annotations cover the safety profile, and an output schema exists so return values need not be explained. The description is therefore close to complete, with the only real gap being no in-description mention of the user_id alternative.

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 all three parameters are already documented, including the enum values and the page_token reuse restriction. The description merely echoes '文章、视频和微头条及分页' without adding format or behavioral detail beyond the schema, making the baseline 3 appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('读取其发布的作品' via a Toutiao user profile link) and enumerates the content kinds covered (articles, videos, micro-posts). It does not name the sibling that handles the user-ID variant, so the agent must read the schema to learn that distinction.

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?

Usage is only implied: the agent must infer that this tool applies when it holds a profile URL rather than a numeric user ID. The explicit routing rule ('只有数字用户 ID 时使用 toutiao_get_user_posts_by_user_id') lives in the profile_url schema field, not in the description, so the when-not guidance is present in the definition but not in the description 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