Skip to main content
Glama

search_twitter

Read-only

Search X/Twitter for tweets matching a query. Supports operators (from:user, filter:videos, min_faves:N, until:YYYY-MM-DD). Returns tweets with author, likes, retweets and link.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNorecent, popular, or mixed (default mixed)
limitNoMax tweets (default 10)
queryYesSearch query, e.g. 'AI agents' or 'from:elonmusk'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is covered. The description adds real value beyond that by disclosing supported search operators and the returned fields (author, likes, retweets, link), though it omits rate limits or pagination behavior.

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?

Three short sentences, zero filler: purpose first, then capability/operator detail, then return shape. Every sentence earns its place and the most important information is front-loaded.

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?

With no output schema, the description compensates by naming the returned fields, and it covers query syntax and the operator repertoire. For a 3-parameter read-only search tool with full annotation coverage, nothing an agent needs to invoke it correctly is missing.

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 coverage is 100%, so the baseline is 3, but the description goes beyond the schema by spelling out operator syntax (from:user, filter:videos, min_faves:N, until:YYYY-MM-DD) that the schema only hints at with a single example. It does not additionally explain the type or limit parameters, which the schema already documents.

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?

States a specific verb (Search) and resource (X/Twitter tweets matching a query), and the operator examples plus return fields make the scope unambiguous. It is clearly distinguishable from siblings like twitter_user, twitter_replies, twitter_user_tweets, and search_reddit/search_tiktok.

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?

Usage is implied by the verb 'search' but there is no explicit guidance on when to use this over twitter_user_tweets or twitter_replies, nor any exclusions or prerequisites. Adequate context, no routing help.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources