Skip to main content
Glama
TwitterAPI.io MCP Server

TwitterAPI.io MCP Server

Official

get_trends

Fetch current trending topics and hashtags for a Yahoo WOEID location such as Worldwide, USA, UK, Japan, India, or South Korea, with an optional result limit.

Instructions

Fetch current trending topics and hashtags for a Yahoo WOEID (1=Worldwide, 23424977=USA, 23424975=UK, 23424856=Japan).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "woeid": "<woeid>"
    },
    "name": "get_trends"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoMaximum number of trending topics to return (truncated client-side when below 30).
woeidYesYahoo Where-On-Earth ID for the location. Common values: 1 = Worldwide, 23424977 = USA, 23424975 = UK, 23424856 = Japan, 23424848 = India, 23424881 = South Korea.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses nothing about rate limits, auth requirements, caching/refresh cadence of 'trending', or what the response contains. Only the implicit read-only nature of 'fetch' is conveyed.

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?

A single front-loaded sentence with no filler, but the inline WOEID mapping duplicates schema content and the list is truncated mid-set, spending tokens without adding new information.

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

Completeness3/5

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

For a simple two-parameter read tool with full schema coverage and no output schema, the description is adequate to invoke it. It falls short on return shape (what a 'trending topic' object looks like) and on the count truncation caveat, neither of which is documented elsewhere.

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 both parameters are already documented, and the description merely repeats a subset of the WOEID examples already in the schema. The count parameter, including its client-side truncation behavior, is not mentioned at all, so no meaning is added beyond the schema.

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 and resource (fetch trending topics and hashtags) plus the scoping key (Yahoo WOEID). The resource is unmistakably distinct from the tweet/user siblings, though it never explicitly says so.

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?

'Current' implies recency and usage is inferable, but there is no when-to-use guidance, no exclusions, and no mention of alternatives or prerequisites. An agent knows what it does but not the conditions that select it.

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