Skip to main content
Glama

SocialDataX 百度贴吧 Baidu Tieba MCP

baidu_tieba_get_post_comments_by_thread_id

Read-only

按主题帖数字 ID 读取百度贴吧一级评论,支持排序和分页,不包含楼中楼回复。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sort_typeNo评论排序请求:hot 请求热门评论(默认),newest 请求最新评论,oldest 请求最早评论;实际返回顺序以贴吧为准。hot
thread_idYes主题帖数字 ID,可取搜索结果的 thread_id;不要传帖子链接。
page_tokenNo分页令牌;首次留空。续页将上一页完整 next_page_token 原样传回,并保持同一帖子与 sort_type 不变;不要使用搜索或其他帖子的分页令牌。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes当前页一级评论列表。
pointsYes本次成功调用的积分消耗与调用完成时的账户积分余额。
next_page_tokenYes下一页完整分页令牌;为空表示没有更多结果。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, openWorldHint), so the bar is lower. The description adds meaningful scope context the annotations cannot convey: it is ID-based, returns only first-level comments, and supports sorting/pagination – all relevant to interpreting results.

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?

A single, tightly packed sentence that front-loads the resource and ID scoping, then appends capabilities and the key exclusion. No filler.

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?

An output schema exists, so return-shape explanation is unnecessary. For a read-only, ID-scoped list endpoint with 100% schema coverage and clear exclusions, the description provides everything an agent needs to select and invoke it correctly.

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 in detail (enum values for sort_type, token handling for page_token, ID pattern for thread_id). The description only echoes 'sorting and pagination' generically and adds nothing beyond the schema; baseline 3 applies.

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?

States a specific verb+resource (读取百度贴吧一级评论) scoped to a numeric thread ID, and explicitly narrows the result set with '不包含楼中楼回复'. This cleanly distinguishes it from the two nearest siblings: get_post_comment_replies (nested replies) and get_post_comments_by_url (URL-based lookup).

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 exclusion of 楼中楼 replies clearly signals when an agent should instead reach for get_post_comment_replies, and '按主题帖数字 ID' signals the URL-based variant is different. However, it never names the alternative tools explicitly, leaving a small inference step.

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