Skip to main content
Glama

search_tweets

Read-only

Search recent X posts by keywords. Returns matching tweets with metadata and optional images, using a real browser session.

Instructions

Search recent X posts for a query string. Read-only (draft mode does not apply). Reuses the account's warm browser session. account defaults to the first active configured account. include_images=true additionally attaches the first photo of up to 5 tweets as image content (bounded); the per-tweet media URLs + alt text are always present.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
accountNo
keywordsYes
include_imagesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Annotations already declare readOnlyHint and openWorldHint. The description adds beyond these: mentions session reuse, draft mode not applying, and detailed image attachment behavior (first photo of up to 5 tweets, bounded, media URLs and alt text always present). No contradiction with 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?

Multiple short sentences, each adding value (purpose, read-only, session reuse, parameter defaults). Efficient but could be slightly more compact.

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 output schema exists, the description adequately covers behavior (session, images, account default, read-only). No critical gaps for an agent to invoke correctly.

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?

With 0% schema description coverage, the description compensates partially: explains account default and include_images behavior clearly. Keywords is implied by purpose. However, limit is not explained, leaving its semantics unclear.

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 clearly states 'Search recent X posts for a query string' with a specific verb and resource. It distinguishes itself from sibling tools like get_tweet (single tweet) and search_profile (profile search) by focusing on recent post search.

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?

Provides context such as read-only, draft mode not applicable, reuse of warm browser session, and default account behavior. However, it does not explicitly contrast with alternatives or state when not to use.

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/ihuzaifashoukat/x-use'

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