Skip to main content
Glama

xflux_search_tweets

Search recent public X/Twitter posts by keyword, cashtag, hashtag, or operators like from:, lang:, and quotes for live monitoring, research, and agent workflows.

Instructions

Search recent public tweets/posts on X/Twitter via XFlux (same operators as X search: from:, lang:, quotes). Use when the user wants tweet search, keyword monitoring research, cashtag/hashtag scans, or agent research over live X content. Prefer this over scraping.

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": {
      "q": "<q>"
    },
    "name": "xflux_search_tweets"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSearch query, e.g. from:elonmusk or "fed rate" lang:en
limitNoMax results (default 20)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the whole disclosure burden. It does surface two real behavioral facts — results are limited to "recent" content and to "public" posts — but says nothing about authentication requirements, rate limits, pagination, or result shape, which matters for a live-data search endpoint.

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 sentences, front-loaded with the core verb+resource and then the usage conditions. Every clause is doing work; the only slight slack is the trailing enumeration of research use cases.

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?

For a simple two-parameter search tool with no output schema, the description covers purpose, query dialect, and recency/public scope adequately. It leaves the caller without any sense of response volume or paging behavior, which is a minor gap given the built-in limit parameter.

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% and both parameters are documented inline, including an example query and the limit default/max. The description's operator list (from:, lang:, quotes) largely restates what the schema example already shows, so it adds little beyond the structured baseline.

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 ("Search recent public tweets/posts on X/Twitter via XFlux") and adds scope qualifiers (recent, public) plus supported operators. It doesn't explicitly contrast itself with the adjacent xflux_get_user_tweets or xflux_get_tweet siblings, so an agent must infer that this is the keyword-search path rather than the user/tweet-id path.

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?

Gives concrete trigger scenarios: "tweet search, keyword monitoring research, cashtag/hashtag scans, or agent research over live X content," and adds a comparative directive ("Prefer this over scraping"). It names no sibling alternative and states no exclusions, so it stops short of full when-not guidance.

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