Skip to main content
Glama

Get Trending Topics

get_trending_topics
Read-onlyIdempotent

Get trending topics, strongest first, with a plain-language momentum level (Low to Very high), its direction (rising, steady, cooling) and examples

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_trending_topics"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax topics to return (default 10)
min_levelNoOnly return topics at this momentum level or stronger (default low, i.e. all)

Output Schema

NameRequiredDescriptionDefault
topicsYesTrending topics ordered by momentum, strongest first

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • addedInput schema / properties / min_level
      Added value: +{
      +  "description": "Only return topics at this momentum level or stronger (default low, i.e. all)",
      +  "enum": [
      +    "very_high",
      +    "high",
      +    "notable",
      +    "moderate",
      +    "low"
      +  ],
      +  "type": "string"
      +}
    • removedInput schema / properties / min_score
      Removed value: -{
      -  "description": "Minimum score threshold (default 0)",
      -  "type": "number"
      -}
    • changedOutput schema / properties / topics / description
      Previous value: -"Trending topics ordered by score, highest first"New value: +"Trending topics ordered by momentum, strongest first"
    • removedOutput schema / properties / topics / items / properties / change
      Removed value: -{
      -  "description": "Delta from the previous computation",
      -  "type": "number"
      -}
    • changedOutput schema / properties / topics / items / properties / computedAt / description
      Previous value: -"ISO timestamp the score was computed"New value: +"ISO timestamp of the analysis that produced this topic"
    • addedOutput schema / properties / topics / items / properties / direction
      Added value: +{
      +  "description": "Whether momentum is rising, steady or cooling since the previous analysis",
      +  "enum": [
      +    "rising",
      +    "steady",
      +    "cooling"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / topics / items / properties / level
      Added value: +{
      +  "description": "How strongly the topic is trending, from very_high down to low",
      +  "enum": [
      +    "very_high",
      +    "high",
      +    "notable",
      +    "moderate",
      +    "low"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / topics / items / properties / levelLabel
      Added value: +{
      +  "description": "Human label for level, e.g. 'High' or 'Very high'",
      +  "type": "string"
      +}
    • removedOutput schema / properties / topics / items / properties / score
      Removed value: -{
      -  "description": "Momentum score (0–100)",
      -  "type": "number"
      -}
    • changedOutput schema / properties / topics / items / required
      Previous value: -[
      -  "id",
      -  "topic",
      -  "score",
      -  "change",
      -  "mentionCount",
      -  "sourceTypes",
      -  "computedAt",
      -  "examples"
      -]New value: +[
      +  "id",
      +  "topic",
      +  "level",
      +  "levelLabel",
      +  "direction",
      +  "mentionCount",
      +  "sourceTypes",
      +  "computedAt",
      +  "examples"
      +]
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile needs no restating. The description does add the sort order ('strongest first'), which is genuinely behavioral, but the momentum level/direction/examples detail largely echoes return values that an output schema already covers. No volume, freshness window, or result-size behavior is disclosed.

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 dense sentence with the resource first and the most decision-relevant trait (ordering) front-loaded; nothing is padding. It is slightly overloaded as a comma-list, which keeps it from a 5.

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?

For a simple read-only list tool with zero required parameters, complete annotations, and an output schema, the description tells the agent what it gets and in what order. Only the missing sibling differentiation and any freshness/pagination caveat keep it below 5.

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% with only two optional parameters, both self-documenting (limit with a default, min_level with a full enum and default). The description adds no syntax, default, or interaction detail beyond the schema, so the baseline of 3 applies.

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?

The description opens with a specific verb+resource ('Get trending topics') and immediately characterizes the result: ordering ('strongest first'), a plain-language momentum level, a direction, and examples. That is much more than a restatement of the name. It stops short of naming or contrasting any sibling, so it lands at 4 rather than 5.

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?

Usage is only implied by the resource type: an agent can infer this is the tool for momentum/trend questions, but there is no explicit when-to-use statement, no exclusions, and no pointer to an alternative among the nine sibling getters. Adequate but with a clear guidance gap.

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.