Skip to main content
Glama
XcrapCC

@xcrap/mcp

Official
by XcrapCC

Get X trending topics

xcrap_get_trends
Read-only

Fetch live X/Twitter trending topics with hashtags, context, and post volume. Use it to see what people are discussing or as a starting point for exploring a topic.

Instructions

Fetch what is trending on X/Twitter right now: the topic or hashtag, its context line where X provides one, and its post volume.

Use this for "what is trending", "what is everyone talking about on X" or as a starting point before searching for posts on a topic. The list is live and refreshed every few minutes, so the same call twice an hour apart will legitimately return different results.

Args:

  • count (number, 1-50): how many trends, default 20.

Returns markdown: a table of rank, topic, context and post count.

Note: trends are global, not localised to a country or city. If the list comes back empty, X was not serving trends at that moment — retry in a minute rather than concluding nothing is trending.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNoNumber of trending topics to return, 1-50 (default 20).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnlyHint and openWorldHint annotations, the description discloses that the list is live and refreshed every few minutes, so repeated calls may legitimately return different results. It also explains the empty-list case as a transient X condition and advises retrying, which is valuable behavioral context.

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?

The description is well organized and front-loaded: purpose, usage guidance, live-data caveat, parameter, return format, and a practical empty-result note. Each sentence adds distinct value without unnecessary jargon or repetition.

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 provides the return format (markdown table of rank, topic, context, post count). It covers the only parameter, the global scope, the live-refresh behavior, and how to handle an empty response, so an agent has everything needed to call and interpret the tool 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%: the count parameter's range and default are already fully documented in the schema. The description repeats the default and range but adds little beyond that, so the baseline 3 is appropriate.

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 opens with a specific verb and resource: 'Fetch what is trending on X/Twitter right now,' and names the returned content (topic/hashtag, context line, post volume). This clearly distinguishes it from sibling tools that get tweets, users, replies, or search results.

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?

The description explicitly states when to use it: for 'what is trending' queries and as a starting point before searching for posts on a topic. It does not name an alternative tool as a direct contrast, but the intended usage is clear and actionable.

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