Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
XAI_API_KEYNoxAI API key.
XAI_BASE_URLNoAPI base URL used with XAI_API_KEY.https://api.x.ai/v1
X_SEARCH_MCP_MODELNoModel for depth=standard.grok-4.7
X_SEARCH_MCP_RETRIESNoRetries on 5xx and network errors.1
X_SEARCH_MCP_DEEP_MODELNoModel for deep and deep_max.grok-4.20-multi-agent
X_SEARCH_MCP_XAI_BASE_URLNoBase URL stored at OAuth login (must be on x.ai).
X_SEARCH_MCP_TIMEOUT_SECONDSNoRequest timeout (doubled for deep depths).180

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
x_searchA

Search X posts, profiles, and threads with xAI's server-side X Search (Grok reads the posts and answers with citations). Handles Chinese queries well. Use for current X discussion, reactions, and account or thread context. Billing is per post fetched, so precise queries give better results for the same cost. If a call times out or returns no citations: do not resend the same query. Narrow it (date range, specific accounts, fewer topics per query), split it into sub-questions, then cross-check with another source (Exa, web search, or the X website in a logged-in browser). If the error says credits ran out, stop calling this tool and use those other sources.

x_search_statusA

Report whether this standalone X Search MCP has usable xAI credentials.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 2 tools

Disambiguation5/5

The two tools serve entirely different purposes: x_search performs the search operation, while x_search_status only reports credential validity. There is no realistic scenario where an agent would confuse them, and the status tool is clearly framed as a diagnostic rather than a search variant.

Naming Consistency5/5

Both names use a shared snake_case prefix (x_search, x_search_status), with the status tool predictably derived from the base name. The convention is simple and uniformly applied across the entire surface.

Tool Count3/5

Two tools is on the thin side even for a single-capability server; the status check is a sensible addition but the surface still boils down to one real operation. It is not mismatched to the narrow purpose, but there is little room for an agent to choose or compose.

Completeness3/5

Search is covered, but there is no direct way to fetch a specific post, thread, or profile by ID, and no exposed parameter surface (date range, account filters, pagination) beyond what the description says to embed in the query. Agents hitting timeouts or empty citations are told to fall back to other sources rather than to a complementary tool in this server.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues