Skip to main content
Glama

Search recent X posts about a topic

x_search_topic
Read-only

Search recent X/Twitter posts by topic for research, returning either browser-search instructions or observed posts with dates and source links.

Instructions

Start here for X/Twitter research. In harness mode returns needs_browser with optimized Latest URLs and extraction instructions: then use YOUR browser and call x_collect_posts. With configured CDP returns observed posts. Never treat a plan as tweets.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoLookback window in days; default 7.
modeNo
sortNoDefault latest. Relevance is a transparent heuristic.
limitNoMaximum accepted posts returned; default 20.
topicYesTopic or natural-language request, e.g. machine learning or AI agents for biomedical discovery.
intentNo
languageNoX language code, default en. Use all for any language.
rawQueryNoOptional X query body supplied by the host model. Date/language/reply filters are appended. Disables local keyword matching; the host must check semantic relevance.
includeRepliesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With only readOnly/openWorld/non-destructive annotations, the description carries useful extra behavioral context: the mode-dependent return (needs_browser + URLs vs observed posts) and the warning 'Never treat a plan as tweets.' It still omits auth requirements and rate limits, but adds genuine value beyond the annotations.

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?

Roughly four short sentences with the entry-point guidance front-loaded and no filler. The closing caution about plans is dense but earns its place as an agent safeguard.

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

Completeness3/5

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

For a tool with 9 parameters and no output schema, the description explains the mode branching and the next call but leaves intent/advances, language and includeReplies unexplained, and gives only partial insight into return values. It is adequate but incomplete.

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 67%, so the schema already documents days, sort, limit, topic, language and rawQuery. The description reinforces the 'Latest' sort and 'harness' mode in prose but says nothing about the undocumented enum parameters mode, intent and includeReplies, so it does not compensate for the coverage gap.

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 opening 'Start here for X/Twitter research' states the tool's role as the entry-point search for recent X posts, and the title supplies the verb+resource pairing. It distinguishes itself from the sibling x_collect_posts by naming it as the downstream step rather than a competitor, though the search nature is more implied than stated.

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?

It explicitly says to start here and then, in harness mode, to use YOUR browser and call x_collect_posts, which routes the agent to the alternative. However, it does not describe when x_collect_posts or x_get_status should be called instead, nor the conditions under which each mode is appropriate.

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