Skip to main content
Glama

SocialDataX 微博 Weibo MCP

weibo_get_post_comments_by_post_url

Read-only

根据微博帖子链接、短链接或分享文案获取帖子一级评论,支持 page_token 翻页。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
post_urlYes微博帖子页面链接、短链接或包含帖子链接的分享文案;不要传用户主页链接或 post_id。
sort_typeNo微博一级评论排序方式。hot 表示默认热门评论流;time_descending 表示当前可返回范围内最新评论优先。默认 hot。继续翻页时必须与上一页返回 next_page_token 所属的 sort_type 保持一致。hot
page_tokenNo微博评论分页令牌。首次请求留空。继续翻页时必须将上一页返回的完整 next_page_token 原样作为 page_token 传回;page_token 是不透明分页令牌;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。只能用于同一帖子、同一 sort_type 的评论分页链路,不能跨帖子或排序方式复用。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes当前页一级评论列表。
pointsYes本次成功调用的积分消耗与调用完成时的账户积分余额。
comment_countYes总评论数,含一级评论与回复;不是当前页 items 数量;不可用时为 null。
next_page_tokenYes下一页不透明分页令牌;为空表示没有更多结果。继续翻页时必须将返回的完整 next_page_token 原样作为 page_token 传回;next_page_token 只能用于同一能力和同一分页链路;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。

TDQS

A4.3/5.0
Behavior4/5

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

With readOnlyHint=true already declaring safety, the description adds valuable context: it returns only first-level comments ('一级评论') and supports page_token pagination. It also notes flexibility in input forms, which is not obvious from the annotation alone.

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, front-loaded sentence that covers purpose, input flexibility, and pagination. No unnecessary words or repetition of schema details.

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?

For a read-only comment-fetching tool with a rich output schema and detailed parameter descriptions, the description is complete. It conveys the essential behavioral scoping (first-level comments), input variants, and pagination support, leaving no major gaps for the agent.

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 the baseline is 3. The main description only references page_token pagination generically and does not add meaning beyond the already detailed parameter descriptions for post_url, sort_type, and page_token.

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?

The description clearly states the action ('获取' / get), the resource ('帖子一级评论' / post first-level comments), and the accepted input types (post link, short link, or share text). This distinguishes it from sibling tools that operate by post ID or retrieve replies.

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 description specifies when to use the tool: when you have a Weibo post URL, short link, or share text. The input schema adds an exclusion ('不要传用户主页链接或 post_id' / do not pass user profile link or post_id), but the main description does not explicitly name alternatives like the by_post_id tool.

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.

TDQS

A3.9/5.0
Disambiguation5/5

每个工具都明确对应一个特定的数据获取操作(热搜、帖子详情、评论、点赞、转发、用户信息、用户帖子、搜索、视频语音转文字),通过资源类型和获取方式进行区分。虽然存在 by_post_id 和 by_post_url 成对工具,但描述清晰指出不同输入方式,没有实质重叠。

Naming Consistency5/5

所有工具均使用 snake_case 命名,统一以 weibo_ 前缀开头,遵循 '动词_目标_定位方式' 模式(如 get_post_comments_by_post_id、submit_video_speech_text_by_post_url),命名规则高度一致且可预测。

Tool Count4/5

19个工具对于微博数据获取服务来说略多,但每个工具都有明确的职责,且成对出现的 URL 和 ID 变体是合理设计。数量在可接受范围内,没有冗余或缺失。

Completeness4/5

覆盖了微博的主要只读数据获取场景:热搜、帖子详情、评论、点赞、转发、用户信息、用户帖子、搜索、视频语音转文字。缺少发帖或删除等写操作,但该服务器定位为数据获取,故不算严重缺口。视频语音转文字提供了提交和查询两个环节,生命周期完整。

Resources