Skip to main content
Glama

SocialDataX X / Twitter MCP

x_search_users

Read-only

按关键词搜索 X / Twitter 用户,返回用户资料和分页令牌,支持 page_token 翻页。用于按名称发现账号;已知 user_id、username 或主页链接时,使用对应用户详情工具。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keywordYes用户搜索关键词或名称,例如 OpenAI;不要传用户 ID、主页链接或分页令牌。
page_tokenNo首次请求留空;继续翻页时原样传入上次的 next_page_token,并保持 keyword 不变。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes匹配的用户列表;没有匹配时为空数组。
pointsYes本次成功调用的积分消耗与调用完成时的账户积分余额。
next_page_tokenYes下一页令牌;为空字符串时停止翻页;继续查询时原样传入 page_token 并保持 keyword 不变。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and openWorldHint, covering safety and open-world behavior. The description adds that it returns user profiles and a pagination token, but the output schema already covers return format and the page_token parameter schema covers pagination mechanics; no additional auth or rate-limit context is provided. Added value beyond annotations is modest.

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?

Two tightly written sentences: the first states purpose and pagination support, the second routes to alternatives. No filler or repetition; information is front-loaded.

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?

Given a read-only search tool with annotations, full schema coverage, and an output schema, the description supplies purpose, pagination behavior, and explicit alternative selection guidance. Nothing material is missing for an agent to call it correctly.

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 description coverage is 100% and both parameters are documented with examples and pagination instructions. The description mentions keyword search and page_token pagination but adds no semantic detail beyond what the schema already provides. Baseline 3 is appropriate.

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?

States a specific verb and resource: search X/Twitter users by keyword. It also distinguishes itself from sibling detail tools by explicitly routing to them when user_id, username, or profile URL is already known.

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

Usage Guidelines5/5

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

Explicitly states when to use this tool (discover accounts by name/keyword) and when not to use it (when user_id, username, or profile URL is known, use the corresponding user detail tool). The alternative selection condition is unambiguous.

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