Skip to main content
Glama
kingcos

fanfou-mcp

by kingcos

get_home_timeline

Retrieve your home timeline from Fanfou, showing recent messages from followed users. Supports pagination with count and max_id parameters.

Instructions

获取当前用户首页关注用户及自己的饭否时间线

调用饭否 API 的 /statuses/home_timeline.json 接口获取当前用户的首页时间线, 包含用户关注的所有人的最新消息。

注:通常用户询问「我的饭否」时,指的是该时间线,除非用户明确指出「某个用户的饭否」。

Args: count: 获取数量,默认 5 条 max_id: 返回列表中内容最新 ID,用于分页获取更早的内容

Returns: 首页时间线列表,每个元素包含: - 饭否内容: 消息文本内容(HTML 格式) * 转发:以「转@」开头,后跟用户链接,如 转@kingcos,其中 href 中的是用户 ID,inner Text 是被转发用户的显示名称,一条饭否可能有多个转发 * 话题:以「#」包围,如 #正在播放#,其中 q/ 后面的是话题名,一条饭否可能有多个话题 * 审核状态:如果内容末尾显示「【审核中】」,表示该内容正在审核中 - 发布 ID: 消息的唯一标识符 - 发布时间: 消息发布时间,需转为北京时间 - 发布者: 发布者的用户名 - 发布者 ID: 发布者的用户 ID - 图片链接: 如果包含图片,则提供图片链接

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNo
max_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Since no annotations are provided, the description carries full burden. It describes the API call, the data retrieval nature, and provides detailed output structure including HTML formats, mentions of reposts, topics, and audit status. It implicitly indicates it's a read operation. However, it does not explicitly state authorization requirements or rate limits, which would further enhance transparency.

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

Conciseness4/5

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

The description is well-structured with a clear purpose statement, an API reference, a usage note, and a detailed returns section with bullet points. It is front-loaded with the core purpose. Could be slightly more concise, but no unnecessary sentences.

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 that the tool has a detailed output schema described in the returns section and the two parameters are fully explained, the description is complete for this simple read tool. It also addresses an edge case (user referring to 'my fanfou'). The lack of error handling or rate limit information is acceptable for a basic read operation.

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?

Input schema has 0% description coverage, but the description compensates by explaining both parameters: 'count: 获取数量,默认 5 条' and 'max_id: 返回列表中内容最新 ID,用于分页获取更早的内容'. This adds meaning beyond the schema's title and default values.

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 tool retrieves the home timeline of the current user's followed users, and distinguishes it from a specific user's timeline. It references the API endpoint and provides context that normally when users say 'my fanfou', this tool applies, differentiating it from sibling tools like get_user_timeline and get_public_timeline.

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 includes explicit guidance on when to use this tool: '通常用户询问「我的饭否」时,指的是该时间线,除非用户明确指出「某个用户的饭否」'. This helps the agent decide between home timeline and specific user timelines. However, it does not explicitly list all alternative tools or state when not to use it.

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