Skip to main content
Glama
kicito

xai-search-mcp

by kicito

x_search

Search X posts, users, and threads in real time with source citations. Filter by handles and date range.

Instructions

Search X (Twitter) posts, users, and threads in real-time using xAI. Returns results with source citations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesThe search query for X posts
to_dateNoEnd date for search range in ISO8601 format (e.g. YYYY-MM-DD).
from_dateNoStart date for search range in ISO8601 format (e.g. YYYY-MM-DD).
allowed_x_handlesNoOnly consider posts from these X handles (max 10). Cannot be used with excluded_x_handles.
excluded_x_handlesNoExclude posts from these X handles (max 10). Cannot be used with allowed_x_handles.
Behavior3/5

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

No annotations are provided, so the description must carry the full burden. It adds context about real-time and source citations, but lacks details on authentication, rate limits, or response structure. For a search tool, more transparency on result limits or pagination would be beneficial.

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 concise sentence that efficiently communicates the tool's purpose and key features (real-time, source citations). No unnecessary words or repetitions.

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?

Given the tool has 5 parameters and no output schema or annotations, the description provides the essential purpose but lacks details about result structure, limits, or error behavior. It is minimally complete for a straightforward search tool.

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?

With 100% schema description coverage, the baseline is 3. The description does not add meaningful information beyond what the schema already provides for parameters like query, dates, and handles. No extra clarification or examples are given.

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 verb 'Search', the specific resource 'X (Twitter) posts, users, and threads', and adds context like 'real-time' and 'source citations'. It effectively distinguishes from the sibling tool 'web_search' by specifying the platform.

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 implies usage for X-specific content, and the sibling tool 'web_search' provides an obvious alternative for general web searches. However, it does not explicitly state when not to use this tool or mention potential limitations.

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/kicito/x_search_mcp'

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