Skip to main content
Glama

SocialDataX 好看视频 Haokan MCP

haokan_get_user_info_by_url

Read-only

按用户主页链接获取好看视频用户资料;只有用户 ID 时使用 haokan_get_user_info_by_user_id;不返回作品列表。

Input Schema

NameRequiredDescriptionDefault
urlYes好看视频用户主页链接,格式为 https://haokan.baidu.com/author/用户ID,可取用户搜索结果的 profile_url,或视频详情、评论作者的 author.profile_url。

Output Schema

NameRequiredDescriptionDefault
bioYes用户简介;不可用时为空字符串。
nameYes用户名称;不可用时为空字符串。
pointsYes本次成功调用的积分消耗与账户积分余额。
user_idYes好看视频用户标识,可能包含非数字字符。
avatar_urlYes用户头像链接;不可用时为 null。
is_verifiedYes是否已认证;不可用时为 null。
profile_urlYes用户的好看视频主页链接。
follower_countYes粉丝数量;不可用时为 null。
posted_video_countYes已发布视频数量;不可用时为 null。
verification_labelYes平台展示的认证说明原文;没有或不可用时为 null。

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. Changed10 schema fields changed
    • addedOutput schema / properties / avatar_url / title
      Added value: +"Avatar Url"
    • addedOutput schema / properties / bio / title
      Added value: +"Bio"
    • addedOutput schema / properties / follower_count / title
      Added value: +"Follower Count"
    • addedOutput schema / properties / is_verified / title
      Added value: +"Is Verified"
    • addedOutput schema / properties / name / title
      Added value: +"Name"
    • addedOutput schema / properties / posted_video_count / title
      Added value: +"Posted Video Count"
    • addedOutput schema / properties / profile_url / title
      Added value: +"Profile Url"
    • addedOutput schema / properties / user_id / title
      Added value: +"User Id"
    • addedOutput schema / properties / verification_label / title
      Added value: +"Verification Label"
    • addedOutput schema / title
      Added value: +"HaokanUserInfoResult"
  4. 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=true and openWorldHint=true, so safety is covered. The description still earns credit for disclosing return scope (no posted-videos list), which is a behavioral fact not expressed in the annotations or input schema.

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?

Three short clauses separated by semicolons: what it does, when to pick the sibling, and what is out of scope. Front-loaded with the action, zero 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?

A single required parameter fully documented in the schema, an output schema that carries return values, and annotations covering safety and openness leave nothing an agent needs missing. The description's only job, disambiguation, is done.

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 the schema's url description already specifies the https://haokan.baidu.com/author/{id} format plus where to source profile_url values. The description's '按用户主页链接' adds no meaning beyond that, so the baseline of 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?

Names a specific verb+resource combination (fetch user profile by homepage URL) and immediately scopes it against the sibling that takes a user ID. Adding that it does not return a works list further separates it from haokan_get_user_posted_videos_by_profile_url without either schema being opened.

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 states the selection rule: use this when you have a profile URL, and switch to haokan_get_user_info_by_user_id when you only have an ID. The exclusion of works is implied rather than routed to the sibling that does return them, so the guidance is strong but not exhaustive.

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