Skip to main content
Glama
kingcos

fanfou-mcp

by kingcos

get_user_info

Retrieve detailed user information from Fanfou, including profile, follower counts, and latest status, by user ID or for the current user.

Instructions

获取用户信息

调用饭否 API 的 /users/show.json 接口获取指定用户的详细信息。 如果 user_id 为空,则获取当前登录用户的信息。

Args: user_id: 用户 ID,如果为空则获取当前用户信息

Returns: 用户信息字典,包含: - 用户 ID: 用户的唯一标识符 - 用户名: 用户名 - 位置: 用户所在位置 - 性别: 用户性别 - 生日: 用户生日 - 描述: 用户个人描述 - 头像: 用户头像链接 - 链接: 用户个人网站链接 - 是否加锁: 账号是否受保护 - 粉丝数: 被关注数量 - 朋友数: 互相关注数量 - 收藏数: 收藏的消息数量 - 发布数: 发布的消息数量 - 照片数: 发布的照片数量 - 是否关注: 当前用户是否关注该用户 - 注册时间: 账号注册时间 - 最新状态: 用户最新发布的消息信息

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations, the description discloses the API endpoint, conditional behavior, and return fields, but does not mention authentication requirements or rate limits, which are important for a tool accessing user data.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is clear and structured, but the extensive list of return fields makes it somewhat verbose; it could be more concise by summarizing the return type.

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?

Given the tool's simplicity, the description covers purpose, parameter semantics, and return values adequately, though it omits error handling or authentication notes.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds significant value beyond the schema by explaining the default behavior when user_id is empty and detailing the return structure, compensating for the schema's lack of description.

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 it retrieves detailed user info via a specific API, and distinguishes itself from sibling tools (timelines, status, etc.) by focusing on user resources.

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 explains that it gets info for a specified user or the current user if user_id is empty, providing clear context for use, though it does not explicitly exclude alternative scenarios.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kingcos/fanfou-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server