Skip to main content
Glama
fuhaooo

mcp-twitterio

by fuhaooo

get_user_last_tweets

Retrieve recent tweets from a specified Twitter user using user ID or screen name, with cursor-based pagination for additional pages.

Instructions

获取用户最新的推文

Args:
    userId: 用户ID (推荐使用,更稳定更快)
    userName: 用户名称(screen name)
    cursor: 用于分页的游标,第一页为空字符串

Returns:
    包含用户推文的字典

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cursorNo
userIdNo
userNameNo
Behavior2/5

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

With no annotations provided, the description must convey behavioral details. It discloses that cursor is for pagination and that userId is more stable/faster, but omits critical traits such as rate limits, result ordering, tweet count limits, error handling, or behavior when both userId and userName are provided. This is a significant gap.

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 concise and well-structured with a clear purpose statement, Args list, and Returns section. Each line adds value, though the formatting could be slightly improved with bullets for readability. It avoids unnecessary fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers the essential parameters and return type, but lacks edge-case behavior (e.g., what happens when both userId and userName are given, which takes precedence) and does not mention output details like number of tweets or sorting. No output schema exists, so the description should provide more context on the returned dictionary structure, which it does not.

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

Parameters5/5

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

The input schema has no parameter descriptions (0% coverage), but the description thoroughly explains each parameter: userId (recommended, stable, fast), userName (screen name), and cursor (for pagination, empty on first page). This fully compensates for the schema gap and adds meaningful usage guidance.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool retrieves a user's latest tweets, using the verb '获取' (get) and specifying the resource '用户最新的推文' (user's latest tweets). This distinguishes it from sibling tools like getUserInfo or getFollowers, though it doesn't explicitly contrast with getTweetsByIds which fetches specific tweets.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance is provided on when to use this tool versus alternatives. The description mentions parameter preferences but does not explain scenarios like 'use when you need recent tweets' or 'use instead of advanced_search for timeline data'. The only implied usage is from the tool's name, which is insufficient.

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/fuhaooo/mcp-twitterio'

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