Skip to main content
Glama

twitterapi-io-mcp-server

Get Trending Topics

get_trends
Read-onlyIdempotent

Fetch current trending topics/hashtags for a location. Pass a Yahoo Where-On-Earth ID (woeid). Common: 1=Worldwide, 23424977=USA, 23424975=UK, 23424856=Japan, 23424848=India, 23424881=South Korea. Use woeid=1 for global trends if you don't know a specific location.

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
countNoMax trends to return (default API behavior; may be silently capped by API).
woeidYesYahoo Where-On-Earth ID for the location. Common values: 1 = Worldwide, 23424977 = USA, 23424975 = UK, 23424856 = Japan. Use 1 for global trends if unsure.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety and idempotency profile is fully covered without help from the description. The description adds nothing behavioral beyond that -- no mention of rate limits, auth requirements, freshness/latency of 'current' trends, or what a response contains. With rich annotations the bar is lower, so a 3 is fair, but there is little extra value.

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 the parameter guidance, then the fallback rule -- a sensible order with no filler prose. Minor demerit for redundantly restating the WOEID lookup table that also appears in the schema.

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 rich annotations, this covers selection and invocation adequately. However, there is no output schema, and the description never indicates what a trend record looks like (name, query, tweet volume, URL), leaving the agent to discover the return shape empirically.

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 coverage is 100% and the schema already documents both woeid (with common values) and count (with the silent-cap caveat). The description largely repeats the woeid examples, adding a couple of extra locations (India, South Korea) and the global fallback hint, but no new semantics for count or format expectations.

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 current trending topics/hashtags for a location' -- and names the required identifier (WOEID). No sibling tool shares this capability, so the agent can immediately recognize this as the trends retrieval tool rather than a tweet or user lookup.

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?

It gives concrete operational guidance: pass a WOEID, use woeid=1 as a safe fallback when the location is unknown. There are no exclusions or named alternatives, but none of the sibling tools overlap with trends, so guidance is essentially complete for this tool.

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.