Skip to main content
Glama

SocialDataX 好看视频 Haokan MCP

haokan_get_video_comments_by_url

Read-only

按视频页面链接读取好看视频一级评论,支持分页;附带的回复仅为预览。另一种输入使用 haokan_get_video_comments_by_video_id。

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": "haokan_get_video_comments_by_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes好看视频页面链接,格式为 https://haokan.baidu.com/v?vid=数字ID,可取视频搜索结果的 share_url。
page_tokenNo分页令牌,首次留空;续页原样传回 next_page_token,保持同一视频。

Output Schema

NameRequiredDescriptionDefault
itemsYes当前页一级评论,保持平台顺序。
pointsYes本次成功调用的积分消耗与账户积分余额。
comment_countYes平台展示的评论总数,不等于当前页一级评论数量。
next_page_tokenYes下一页分页令牌;为空表示没有下一页。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / properties / points / description
      Previous value: -"本次成功调用的积分消耗与调用完成时的账户积分余额。"New value: +"本次成功调用的积分消耗与账户积分余额。"
    • changedOutput schema / properties / points / properties / balance / description
      Previous value: -"本次接口完成时看到的当前积分余额,可为负数。"New value: +"优先返回调用完成时查询到的账户积分余额。查询失败时,回退到本次预扣后的余额快照。余额可为负数。"
  2. 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
  3. Changed29 schema fields changed
    • addedOutput schema / properties / comment_count / title
      Added value: +"Comment Count"
    • addedOutput schema / properties / items / items / properties / author / properties / avatar_url / title
      Added value: +"Avatar Url"
    • addedOutput schema / properties / items / items / properties / author / properties / name / title
      Added value: +"Name"
    • addedOutput schema / properties / items / items / properties / author / properties / profile_url / title
      Added value: +"Profile Url"
    • addedOutput schema / properties / items / items / properties / author / properties / user_id / title
      Added value: +"User Id"
    • addedOutput schema / properties / items / items / properties / author / title
      Added value: +"HaokanCommentAuthor"
    • addedOutput schema / properties / items / items / properties / comment_id / title
      Added value: +"Comment Id"
    • addedOutput schema / properties / items / items / properties / content / title
      Added value: +"Content"
    • addedOutput schema / properties / items / items / properties / create_time / title
      Added value: +"Create Time"
    • addedOutput schema / properties / items / items / properties / image_urls / title
      Added value: +"Image Urls"
    • addedOutput schema / properties / items / items / properties / like_count / title
      Added value: +"Like Count"
    • addedOutput schema / properties / items / items / properties / replies / items / properties / author / properties / avatar_url / title
      Added value: +"Avatar Url"
    • addedOutput schema / properties / items / items / properties / replies / items / properties / author / properties / name / title
      Added value: +"Name"
    • addedOutput schema / properties / items / items / properties / replies / items / properties / author / properties / profile_url / title
      Added value: +"Profile Url"
    • addedOutput schema / properties / items / items / properties / replies / items / properties / author / properties / user_id / title
      Added value: +"User Id"
    • addedOutput schema / properties / items / items / properties / replies / items / properties / author / title
      Added value: +"HaokanCommentAuthor"
    • addedOutput schema / properties / items / items / properties / replies / items / properties / comment_id / title
      Added value: +"Comment Id"
    • addedOutput schema / properties / items / items / properties / replies / items / properties / content / title
      Added value: +"Content"
    • addedOutput schema / properties / items / items / properties / replies / items / properties / create_time / title
      Added value: +"Create Time"
    • addedOutput schema / properties / items / items / properties / replies / items / properties / image_urls / title
      Added value: +"Image Urls"
    • addedOutput schema / properties / items / items / properties / replies / items / properties / like_count / title
      Added value: +"Like Count"
    • addedOutput schema / properties / items / items / properties / replies / items / title
      Added value: +"HaokanCommentReply"
    • addedOutput schema / properties / items / items / properties / replies / title
      Added value: +"Replies"
    • addedOutput schema / properties / items / items / properties / reply_count / title
      Added value: +"Reply Count"
    • addedOutput schema / properties / items / items / properties / video_id / title
      Added value: +"Video Id"
    • addedOutput schema / properties / items / items / title
      Added value: +"HaokanCommentItem"
    • addedOutput schema / properties / items / title
      Added value: +"Items"
    • addedOutput schema / properties / next_page_token / title
      Added value: +"Next Page Token"
    • addedOutput schema / title
      Added value: +"HaokanVideoCommentsResult"
  4. First observed

TDQS

A4.2/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 real behavioral context by stating that only top-level comments are returned, that replies are preview-only, and that pagination is supported. That replies caveat is the kind of expectation-setting detail annotations cannot convey. It does not mention rate limits or paging depth, so it is not exhaustive.

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 short clauses: the primary behavior and scope come first, then the input-mode alternative. Nothing is padded and every sentence carries load.

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 two-parameter read tool with an output schema and readOnly annotations, the description covers input mode, pagination, and the reply-preview limitation. Minor gaps remain, such as page size or whether the URL must come from search results (the schema hints at share_url but the description does not reinforce it).

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?

With 100% schema description coverage, both url and page_token are already fully documented in the schema, including the format and the next_page_token round-trip rule. The description's '支持分页' only echoes the schema rather than adding format or constraint detail. Baseline 3 applies when the schema does the heavy lifting.

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 (read top-level comments) plus a scoping constraint (by video page URL) and explicitly points to the sibling that handles the other input mode. An agent can distinguish this from haokan_get_video_comments_by_video_id without opening either 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?

The final sentence names the alternative tool and the condition that selects it (video-ID input), which is exactly the disambiguation an agent needs among the haokan_* siblings. It stops short of covering when-not-to-use cases such as reply retrieval, which the sibling name implies but the text does not state.

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