Skip to main content
Glama

get_trends

Retrieve trending topics for a specific location by WOEID, defaulting to worldwide, to identify popular conversation themes.

Instructions

Trending topics for a place (woeid 1 = worldwide).

Find a woeid with get_trend_locations. Tweet volumes are present only for trends X decides to publish them for.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
woeidNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.0.6
    • removedInput schema / properties / category
      Removed value: -{
      -  "default": "trending",
      -  "description": "Trend category — \"trending\", \"news\", \"sport\", or \"entertainment\".",
      -  "type": "string"
      -}
    • removedInput schema / properties / limit / description
      Removed value: -"Max trends to return (default 20)."
    • addedInput schema / properties / woeid
      Added value: +{
      +  "default": 1,
      +  "type": "integer"
      +}
  2. First observedv1.0.3

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one non-obvious behavioral trait: tweet volumes appear only for trends X chooses to publish them for, so the agent should not expect them on every item. It says nothing about auth requirements, rate limits, or whether `limit` caps the returned trend list, leaving meaningful gaps for an unannotated tool.

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?

Two short sentences, front-loaded with the core action and the woeid convention, followed by one caveat about output reliability. No filler or repetition.

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?

An output schema exists, so return values need no explanation, and the woeid prerequisite is covered. The only real omission is any semantic for the `limit` parameter in an otherwise unannotated, undocumented schema.

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 0%, so the description must compensate for both parameters. It adds real meaning for `woeid` (1 = worldwide, obtainable via get_trend_locations) but leaves `limit` completely undefined — no statement of what it counts, its range, or default behavior — so half the parameters remain opaque.

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+resource ('Trending topics for a place') and immediately disambiguates the key argument with '(woeid 1 = worldwide)'. It also implicitly separates itself from get_trend_locations, which locates woeids rather than returning trends.

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?

Explicitly routes the agent to get_trend_locations when a woeid is unknown, which is the main prerequisite for calling this tool. It gives no exclusion cases (e.g. when another timeline tool would be better) but for a simple lookup that is acceptable.

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

Deploy Server

Other Tools