Skip to main content
Glama

keyword_search

Search keywords and hashtags across social media platforms to retrieve posts and analytics. Use Boolean syntax to refine results.

Instructions

Create a keyword/hashtag search across social media platforms (X, Reddit, YouTube, Facebook, Instagram, Threads, Bluesky, and more). Polls until the search is complete and returns the full results. Oversized responses are truncated (truncated: true, largest post arrays shortened) — retrieve complete post data with get_keyword_search_posts. A status of results_pending means the search succeeded but results are still being written; fetch them with get_keyword_search.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch query. Expects KEYWORDS, not prose — a plain multi-word query is token-OR-matched server-side (each word matched independently), which pulls in unrelated posts and pollutes the sentiment/coordination analytics. ALWAYS prefer boolean syntax: AND = both required (Tesla AND battery); OR = synonyms/variants (EV OR "electric vehicle"); NOT = exclude noise (Tesla NOT "Nikola Tesla"); quotes = exact phrase ("Sherrod Brown"); parentheses = grouping. Example: "Sherrod Brown" AND (Husted OR "Ohio Senate") NOT satire. For broad topics, run several focused boolean searches rather than one wide query.
end_dateNoEnd date (YYYY-MM-DD)
max_postNoMaximum number of posts to retrieve (default: 100)
platformsNoPlatforms to search (default: twitter, reddit, bluesky, youtube)
start_dateNoStart date (YYYY-MM-DD)
Behavior5/5

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

Discloses key behavioral traits beyond basic function: polling until completion, truncation of oversized responses with a truncated flag, and the results_pending status. Since no annotations are provided, this fully covers the operation's side effects and return handling.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in the first sentence, followed by crucial behavioral notes. The query guidance is lengthy but earns its place by preventing misuse. No filler or redundancy.

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

Completeness5/5

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

Given the complexity of a cross-platform search tool with polling and possible truncation, the description thoroughly sets expectations for return states and directs users to sibling tools for complete data. Adequate even without an output schema.

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

Parameters5/5

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

Although the schema covers all parameters, the description significantly enhances the query parameter by explaining token-OR matching, boolean operators (AND, OR, NOT), quoting, and providing a concrete example. This goes far beyond the schema's minimal descriptions.

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?

Description states a specific verb ('Create') and resource ('keyword/hashtag search') across multiple social media platforms, making the tool's purpose clear. It also distinguishes itself from sibling tools like get_keyword_search and get_keyword_search_posts by clarifying that it creates and polls the search, while those retrieve results.

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

Usage Guidelines5/5

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

Provides explicit when-to-use guidance: for truncated responses, use get_keyword_search_posts; for results_pending status, use get_keyword_search. Also recommends boolean syntax and focused searches over broad queries, clearly steering usage behavior.

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/rolliinc/rolli-mcp'

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