Skip to main content
Glama

X (Twitter) tweets by handle or search

twitter
Read-only

Tweets from X (Twitter) for one account or a search query. {"mode":"profile","query":"nasa"} returns that account's tweets, mode search takes keywords, and limit is 1-20. Each tweet has text, createdAt, url, lang, likeCount, retweetCount, replyCount, quoteCount, viewCount, isReply, isRetweet and an author object with userName, name, followers and isBlueVerified. No X developer account needed; pay per call in USDC. Not offered on Solana: pay on Base or Polygon.

Input Schema

NameRequiredDescriptionDefault
modeYesprofile=account's tweets, search=keyword→tweets
limitNonumber of posts wanted, 1 to 20 (default 5). A larger value is lowered to 20 and 0 or a negative one means the default; the quote follows the value used.
queryYeshandle without @ (profile) or search keywords

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=true and idempotentHint=false, so safety is covered. The description adds genuinely non-structural behavior: pay-per-call USDC billing and the chain restriction (not offered on Solana). The enumerated return fields also inform the agent about output shape. 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?

Front-loaded with purpose, then parameters, then return fields, then payment constraints in a single dense paragraph. All content is relevant and none is filler, though the long return-field list makes the block slightly heavy.

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?

Since there is no output schema, enumerating the returned tweet fields (text, createdAt, counts, isReply, author object) usefully compensates. Payment/auth and limit behavior are covered. The main gap is lack of differentiation from the x-replies sibling, which an agent needs to route 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?

Schema description coverage is 100%, so mode, query and limit are already documented in the schema, and the description largely restates them ('limit is 1-20', 'mode search takes keywords'). The inline example {"mode":"profile","query":"nasa"} adds modest practical value, but the baseline of 3 is appropriate when the schema carries the parameter detail.

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+resource ('Tweets from X (Twitter)') and distinguishes its own two modes (profile vs search) with a concrete example. However, it never mentions the sibling x-replies, so an agent must infer which Twitter-related tool to pick from the tool list alone.

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 clear selection guidance between its modes ('mode search takes keywords', profile returns an account's tweets) and states a real usage prerequisite (no X developer account needed, pay per call in USDC, Base or Polygon only, not Solana). It stops short of naming when to use this versus x-replies or other social siblings.

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