Skip to main content
Glama

SocialDataX 百度贴吧 MCP

baidu_tieba_get_post_comments_by_url

Read-only

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes百度贴吧主题帖完整链接,可取搜索结果的 post_url,支持 /p/数字ID/;不要传纯 ID。
sort_typeNo评论排序请求:hot 请求热门评论(默认),newest 请求最新评论,oldest 请求最早评论;实际返回顺序以贴吧为准。hot
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/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered; the description adds genuinely useful behavioral scope by stating the result contains only first-level comments and that sorting/pagination are supported. It does not mention rate limits, auth requirements, or what happens on an invalid/private thread.

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 front-loaded sentence that names the input (主题帖链接), the output (一级评论), and the key limitation (不包含楼中楼回复), with no filler or redundancy.

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?

With an output schema present and 100% parameter coverage, the description need not explain return values or param formats; the main residual gap is not distinguishing this tool from the near-identical _by_thread_id sibling, which an agent selecting among 18 siblings would benefit from.

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% — url, sort_type, and page_token all carry detailed inline descriptions covering format, enum meaning, and pagination-token reuse rules. The description's mention of sorting and pagination merely restates what the schema already documents, so the 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 and resource (读取一级评论) scoped by 百度贴吧主题帖链接, and explicitly excludes 楼中楼回复, which is exactly what separates it from the sibling baidu_tieba_get_post_comment_replies. An agent can distinguish it from the replies tool without opening a schema.

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?

The '不包含楼中楼回复' clause implies that nested replies require the sibling tool, giving implicit routing, but neither that sibling nor baidu_tieba_get_post_comments_by_thread_id is named, and no condition for choosing URL-based vs thread-ID-based retrieval is given. Usage is implied rather than stated.

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