Skip to main content
Glama
X Search MCP Server

X Search MCP Server

by ttttdiva

search_posts

Search X posts by keyword, user handles, date range, language, and freshness to retrieve recent results; optionally enable image or video understanding for richer analysis.

Instructions

X(旧Twitter)の投稿を検索します。Grok x_search経由で最新ポストを取得します。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "search_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes検索クエリ
to_dateNo終了日 (YYYY-MM-DD)
languageNo言語コード (ja/en等)ja
freshnessNo鮮度フィルタ (auto/day/week/month)auto
from_dateNo開始日 (YYYY-MM-DD)
max_resultsNo最大結果数 (1-25)
search_modeNo検索モード (auto/latest/popular)auto
temperatureNo生成温度 (0.0-1.0)
allowed_x_handlesNo検索対象ハンドル(カンマ区切り、例: "elonmusk,OpenAI")
max_output_tokensNo最大出力トークン数
excluded_x_handlesNo除外ハンドル(カンマ区切り)
enable_image_understandingNo画像理解を有効化
enable_video_understandingNo動画理解を有効化

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It reveals the Grok x_search backend but says nothing about whether the call is read-only, whether it consumes quota/costs, rate limits, auth requirements, or what the response contains — significant gaps for a tool with 13 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?

Two short sentences with no filler, and the resource/verb is front-loaded. It is efficient, though its brevity stems partly from under-specification rather than disciplined editing.

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 13-parameter tool with no annotations and no output schema, the description is far too thin. An agent learns what the tool searches but not how results come back, what constraints apply, or how this differs from the sibling 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?

Schema description coverage is 100%, so every parameter already has an inline explanation with defaults and formats. The description adds no parameter-level meaning beyond what the schema supplies, so the baseline 3 applies.

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?

States a specific verb and resource ('X(旧Twitter)の投稿を検索します') and identifies the backend ('Grok x_search経由'). It does not distinguish the tool from siblings like search_user_posts or analyze_topic, so an agent cannot tell from this text alone which search entry point to pick.

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?

There is no when-to-use guidance, no exclusions, and no reference to the sibling tools. The only contextual hint is that it targets 'latest posts', which is a scope note rather than routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools