Skip to main content
Glama

SocialDataX 微博 Weibo MCP

weibo_get_user_info_by_user_id

Read-only

根据 user_id 获取微博用户资料。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_idYes微博用户 user_id;可从作者信息或用户资料结果中的非空 user_id 复用。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
bioYes用户简介;不可用时为空字符串。
nameYes用户名称;不可用时为空字符串。
pointsYes本次成功调用的积分消耗与调用完成时的账户积分余额。
user_idYes微博用户 user_id,可作为用户资料或用户帖子列表工具输入。
verifiedYes是否为认证账号。
avatar_urlYes用户头像链接;不可用时为 null。
post_countYes已发布微博数;不可用时为 null。
profile_urlYes微博用户主页链接;可用于打开用户主页;不可用时为 null;需要继续查询用户资料或用户帖子列表时优先使用非空 user_id。
follower_countYes粉丝数;不可用时为 null。
following_countYes关注数;不可用时为 null。
verified_reasonYes认证说明;不可用时为 null。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / points
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "本次成功调用的积分消耗与调用完成时的账户积分余额。",
      +  "properties": {
      +    "balance": {
      +      "description": "本次接口完成时看到的当前积分余额。",
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "cost": {
      +      "description": "本次请求最终确认消耗的积分。",
      +      "minimum": 0,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "cost",
      +    "balance"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "user_id",
      -  "name",
      -  "avatar_url",
      -  "profile_url",
      -  "bio",
      -  "follower_count",
      -  "following_count",
      -  "post_count",
      -  "verified",
      -  "verified_reason"
      -]New value: +[
      +  "user_id",
      +  "name",
      +  "avatar_url",
      +  "profile_url",
      +  "bio",
      +  "follower_count",
      +  "following_count",
      +  "post_count",
      +  "verified",
      +  "verified_reason",
      +  "points"
      +]
  2. First observed

TDQS

A3.6/5.0
Behavior2/5

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

The description adds no behavioral context beyond the readOnlyHint annotation. It simply says 'get' which aligns with the annotation, but doesn't disclose any additional traits such as potential null returns, required auth, or differences from the profile_url variant. With annotations already covering the safety profile, the description fails to add extra transparency.

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?

The description is a single short sentence that is direct and front-loaded. Every word serves a purpose, with no redundancy or filler.

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 simple read-only tool with one parameter, an output schema, and annotations, the description is nearly sufficient. It lacks explicit differentiation from the sibling profile_url tool, but this is a minor gap given the self-explanatory name and other structured context.

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?

The schema description covers the only parameter fully (user_id with reuse guidance), so the tool description doesn't need to add more. Baseline of 3 is appropriate because the description itself doesn't enhance parameter understanding beyond what the schema already provides.

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 '根据 user_id 获取微博用户资料' clearly states the tool's function: getting a Weibo user profile by user_id. It uses a specific verb and resource and distinguishes itself from the sibling tool weibo_get_user_info_by_profile_url by explicitly mentioning user_id.

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 description implies usage when user_id is available, but it does not explicitly state when to use this tool over the profile_url variant or mention any exclusions. The schema description provides a hint about reusing user_id, but there is no explicit 'use this when...' guidance.

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