Skip to main content
Glama

SocialDataX 百度贴吧 MCP

baidu_tieba_search_posts_in_forum

Read-only

按准确贴吧名称和关键词搜索该吧主题帖,支持最新或相关排序及分页,不搜索评论。

不限定贴吧时使用全站帖子搜索;返回摘要及可能不完整的图片和视频。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keywordYes在指定贴吧中搜索的关键词或短语;不要传帖子链接或分页令牌。
sort_typeNo排序方式:newest 为最新(默认),relevance 为相关;relevant 仅兼容旧调用,新调用请使用 relevance。结果顺序以贴吧返回为准。newest
forum_nameYes准确贴吧名称,例如 方便面;直接使用结果中的 forum_name,不要自行追加“吧”字;不要传 URL 或数字 ID,无需 URL 编码。
page_tokenNo分页令牌;首次留空,续页原样传入本接口返回的 next_page_token,保持 forum_name、keyword、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 declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds genuinely useful behavior: it does not cover comments, and it returns summaries with potentially incomplete image/video data, setting expectations about result completeness.

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?

Two tightly written sentences: the core action and scope come first, the alternative-search routing and return caveat follow. 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?

With an output schema present, return values need not be explained, and the description still adds a useful completeness caveat. Combined with full schema coverage and annotations, an agent has everything needed to invoke this 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 coverage is 100% and each parameter is well documented (enum values, page token handling, forum name format), so the schema does the heavy lifting. The description only alludes to sorting and pagination at a high level, adding no syntax or format detail beyond the schema.

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 (search) and resource (topic threads within a forum) qualified by the exact inputs (forum name + keyword), plus scope constraints (supports sorting/pagination, does not search comments). An agent can distinguish this from the general post search without opening the schema.

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?

Explicitly says to use the site-wide post search when not restricting to a forum, and clarifies that comments are out of scope. The alternative is described by function rather than exact sibling name, so the routing is clear but not maximally precise.

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