Skip to main content
Glama
Overseas Social MCP Server

Overseas Social MCP Server

by CubericW

x_search

Search recent public X/Twitter posts using search operators like from:, lang:, or since: to filter by author, language, or date. Returns normalized tweet data including author, content, and engagement counts.

Instructions

Search recent public tweets on X/Twitter matching a query.

Args: query: X search query (supports X search operators, e.g. from:user, lang:en, since:2026-01-01). max_count: max tweets to return (default from config, hard-capped).

Returns normalised items: {id, author, content, like_count, comment_count, publish_time, url, extra:{retweet_count, view_count, lang}}. Requires twscrape installed + X accounts added & logged in.

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": "x_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes
max_countNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does state the real operational prerequisites ('twscrape installed + X accounts added & logged in') and the fact that max_count is 'hard-capped', which is meaningful behavior, but it is silent on rate limits, error/failure behavior, and whether the accounts requirement can fail at call time.

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 purpose is front-loaded in the first line, then organized into Args and Returns blocks that are easy to scan. The Returns paragraph partially duplicates the existing output schema, which is the only wasted content.

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

Completeness4/5

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

The tool is simple (one required param), and the definition covers purpose, parameter meaning, prerequisites, and result shape. With an output schema present, the return description is redundant rather than necessary, and the missing piece is failure/rate-limit behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must supply parameter meaning and it largely does: it explains that query supports X search operators and gives concrete examples (`from:user`, `lang:en`, `since:2026-01-01`), and that max_count defaults from config and is hard-capped. The only gap is the unspecified value of the hard cap.

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 opens with a specific verb and resource, 'Search recent public tweets on X/Twitter matching a query', and adds scope qualifiers ('recent public') that separate it from a profile-timeline tool like x_user_posts. An agent can identify the operation without opening the schema.

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

Usage Guidelines3/5

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

The usage is implied by 'matching a query', but there is no explicit when-to-use or when-not guidance and no sibling is named. The prerequisites at the end are useful for deciding whether the tool can run, but they are not guidance about choosing this tool over x_user_posts or the reddit_search siblings.

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