Skip to main content
Glama

SocialDataX 百度贴吧 Baidu Tieba MCP

Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as SocialDataX 百度贴吧 MCP. If you published it, claim ownership there.

baidu_tieba_get_post_detail_by_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": {
      "url": "<url>"
    },
    "name": "baidu_tieba_get_post_detail_by_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes百度贴吧主题帖完整链接,支持 /p/数字ID/;不要传纯 ID。

Output Schema

NameRequiredDescriptionDefault
titleYes帖子标题。
authorYes帖子作者。
imagesYes首楼图片列表。
pointsYes本次成功调用的积分消耗与账户积分余额。
videosYes首楼视频列表。
contentYes首楼正文纯文本;表情以“[表情]”表示;无可见正文时为空字符串。
forum_idYes所属贴吧 ID,以字符串表示。
post_urlYes帖子页面链接。
thread_idYes主题帖 ID,以字符串表示。
forum_nameYes帖子所属贴吧名称。
like_countYes帖子获赞数。
floor_countYes主题帖有效楼层数。
reply_countYes帖子回复数。
share_countYes帖子分享数。
publish_timeYes发帖时间,秒级 Unix 时间戳。
collect_countYes帖子收藏数。
content_statementNo作品的主要内容声明或提示;未取得有效声明原文时为 null,不表示非 AI 内容

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / content_statement
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "ai_label": {
      +          "description": "平台标识类别:ai_generated 明确标注含 AI 生成内容(含部分使用 AI),suspected_ai_generated 疑似或可能含 AI 生成内容,ai_assisted 明确标注 AI 参与创作或编辑但未明确生成,none 当前声明未识别到 AI 标识,不表示内容没有 AI 参与;仅描述标识含义,不表示独立鉴定结果",
      +          "enum": [
      +            "ai_generated",
      +            "suspected_ai_generated",
      +            "ai_assisted",
      +            "none"
      +          ],
      +          "title": "Ai Label",
      +          "type": "string"
      +        },
      +        "source": {
      +          "description": "声明或识别主体:author 作者自主声明,platform 平台识别或提示,unknown 来源不明;不表示接口供应商",
      +          "enum": [
      +            "author",
      +            "platform",
      +            "unknown"
      +          ],
      +          "title": "Source",
      +          "type": "string"
      +        },
      +        "text": {
      +          "description": "平台展示的内容声明或提示原文",
      +          "minLength": 1,
      +          "pattern": "\\S",
      +          "title": "Text",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "text",
      +        "source",
      +        "ai_label"
      +      ],
      +      "title": "ContentStatement",
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "作品的主要内容声明或提示;未取得有效声明原文时为 null,不表示非 AI 内容"
      +}
  2. Changed2 schema fields changed
    • changedOutput schema / properties / points / description
      Previous value: -"本次成功调用的积分消耗与调用完成时的账户积分余额。"New value: +"本次成功调用的积分消耗与账户积分余额。"
    • changedOutput schema / properties / points / properties / balance / description
      Previous value: -"本次接口完成时看到的当前积分余额,可为负数。"New value: +"优先返回调用完成时查询到的账户积分余额。查询失败时,回退到本次预扣后的余额快照。余额可为负数。"
  3. 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
  4. Changed30 schema fields changed
    • addedOutput schema / properties / author / properties / avatar_url / title
      Added value: +"Avatar Url"
    • addedOutput schema / properties / author / properties / name / title
      Added value: +"Name"
    • addedOutput schema / properties / author / properties / profile_url / title
      Added value: +"Profile Url"
    • addedOutput schema / properties / author / properties / user_id / title
      Added value: +"User Id"
    • addedOutput schema / properties / author / title
      Added value: +"TiebaSearchAuthor"
    • addedOutput schema / properties / collect_count / title
      Added value: +"Collect Count"
    • addedOutput schema / properties / content / title
      Added value: +"Content"
    • addedOutput schema / properties / floor_count / title
      Added value: +"Floor Count"
    • addedOutput schema / properties / forum_id / title
      Added value: +"Forum Id"
    • addedOutput schema / properties / forum_name / title
      Added value: +"Forum Name"
    • addedOutput schema / properties / images / items / properties / height / title
      Added value: +"Height"
    • addedOutput schema / properties / images / items / properties / url / title
      Added value: +"Url"
    • addedOutput schema / properties / images / items / properties / width / title
      Added value: +"Width"
    • addedOutput schema / properties / images / items / title
      Added value: +"TiebaPostDetailImage"
    • addedOutput schema / properties / images / title
      Added value: +"Images"
    • addedOutput schema / properties / like_count / title
      Added value: +"Like Count"
    • addedOutput schema / properties / post_url / title
      Added value: +"Post Url"
    • addedOutput schema / properties / publish_time / title
      Added value: +"Publish Time"
    • addedOutput schema / properties / reply_count / title
      Added value: +"Reply Count"
    • addedOutput schema / properties / share_count / title
      Added value: +"Share Count"
    • addedOutput schema / properties / thread_id / title
      Added value: +"Thread Id"
    • addedOutput schema / properties / title / title
      Added value: +"Title"
    • addedOutput schema / properties / videos / items / properties / cover_image_url / title
      Added value: +"Cover Image Url"
    • addedOutput schema / properties / videos / items / properties / duration_ms / title
      Added value: +"Duration Ms"
    • addedOutput schema / properties / videos / items / properties / height / title
      Added value: +"Height"
    • addedOutput schema / properties / videos / items / properties / video_url / title
      Added value: +"Video Url"
    • addedOutput schema / properties / videos / items / properties / width / title
      Added value: +"Width"
    • addedOutput schema / properties / videos / items / title
      Added value: +"TiebaPostDetailVideo"
    • addedOutput schema / properties / videos / title
      Added value: +"Videos"
    • addedOutput schema / title
      Added value: +"TiebaPostDetailResult"
  5. First observed

TDQS

A3.6/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 network openness are covered. The description's only added behavioral fact is scope of the returned payload — the full reply list is absent — which is useful but thin. It says nothing about pagination, rate limiting, or visibility/access constraints on private or deleted threads.

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?

Two compact clauses separated by a semicolon, with the resource and input form front-loaded and the scope caveat second. No filler or repetition. It is arguably too terse to be maximally useful, but nothing is wasted.

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 one-parameter read tool with full schema coverage, complete annotations, and an output schema that documents return values, the description supplies what is needed to call it correctly plus a scope caveat. Remaining gaps (error behavior for invalid or removed threads) are minor given the structured fields in place.

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% and the single parameter already documents that a full URL supporting /p/<numeric id>/ is required and a bare ID is not accepted. The description's '按…链接' merely echoes that constraint rather than adding syntax, normalization, or edge-case detail. Baseline 3 is appropriate when the schema carries the parameter burden.

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 states a specific verb and resource ('读取详情' for a 百度贴吧主题帖) and pins the input modality to a link ('按…链接'), which implicitly separates it from baidu_tieba_get_post_detail_by_thread_id. The closing clause excludes the reply list, distinguishing it from the comment-fetching siblings. It stops short of naming an alternative outright, so it lands at 4 rather than 5.

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?

'不包含完整回复列表' is a genuine when-not signal: an agent that needs replies knows to look at the comments siblings instead. The link-based framing also tells the agent to pick this over the thread-id variant when it has a URL. There is no explicit named alternative or prerequisite statement, so it is clear context rather than full routing 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