Skip to main content
Glama
stat-guy

Enhanced Grok Search MCP Server

by stat-guy

grok_twitter

Search Twitter/X posts using Grok's capabilities, with options to filter by handles, date ranges, and analysis modes for basic results or comprehensive trend insights.

Instructions

Search Twitter/X posts using Grok's X search capabilities, optionally filtered by specific handles. Comprehensive mode analyzes social media trends and sentiment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesThe search query to find tweets/posts about
handlesNoOptional list of Twitter handles to search from (without @ symbol, e.g., ['elonmusk', 'twitter'])
analysis_modeNoAnalysis mode: 'basic' returns simple search results, 'comprehensive' provides detailed analysis with timelines, quotes, multiple perspectives, and contextbasic
max_resultsNoMaximum number of tweet results to return
from_dateNoOptional start date for search in ISO8601 format (YYYY-MM-DD). Limits search to content from this date onwards.
to_dateNoOptional end date for search in ISO8601 format (YYYY-MM-DD). Limits search to content up to this date.
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It mentions 'comprehensive mode analyzes social media trends and sentiment' which adds some behavioral context, but doesn't address critical aspects like rate limits, authentication requirements, data freshness, or what happens when no results are found. The description is insufficient for a search tool with 6 parameters.

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 appropriately concise with two sentences. The first sentence states the core functionality, and the second adds important context about the comprehensive mode. However, the second sentence could be more tightly integrated with the first for better flow.

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

Completeness2/5

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

For a search tool with 6 parameters, no annotations, and no output schema, the description is incomplete. It doesn't explain what the tool returns (tweet objects, analysis results, error conditions), doesn't mention pagination or result format, and provides minimal behavioral context. The comprehensive mode mention helps but doesn't compensate for the overall gaps.

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%, so the schema already documents all 6 parameters thoroughly. The description mentions 'optionally filtered by specific handles' and 'comprehensive mode analyzes social media trends and sentiment', which adds minor context about the 'handles' and 'analysis_mode' parameters, but doesn't provide significant value beyond what's already in the schema descriptions.

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's purpose: 'Search Twitter/X posts using Grok's X search capabilities' with optional filtering. It specifies the verb ('search') and resource ('Twitter/X posts'), but doesn't explicitly differentiate from sibling tools like 'grok_search' or 'grok_web_search' beyond mentioning 'Twitter/X' specifically.

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?

The description mentions 'comprehensive mode analyzes social media trends and sentiment' which implies some usage context, but provides no explicit guidance on when to use this tool versus alternatives like 'grok_search' or 'grok_web_search'. There's no mention of prerequisites, limitations, or comparative scenarios.

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/stat-guy/grok-search-mcp'

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