Skip to main content
Glama

PostToData

Trending

get_trending
Read-only

What is popular on the platform right now. Returns compact results with source URLs where available. Use list_platforms first for input formats and coverage limits. Works on: bluesky, hackernews, reddit, douyin, bilibili, weibo. Uses prepaid credit with an API key or OAuth access token.

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": {
      "platform": "<platform>"
    },
    "name": "get_trending"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoItems to return, 1 to 50. Default 10.
cursorNoOpaque cursor from page.next_cursor of the previous response.
platformYesWhich platform to read. Live now: Facebook, Pinterest, Meta Ad Library, Google Ads Transparency, Bluesky, Hacker News, YouTube, Reddit, X (Twitter), TikTok, Instagram, Threads, Xiaohongshu (RedNote), Douyin, Bilibili, Weibo, Zhihu, Kuaishou, LinkedIn, Telegram, WeChat Official Accounts, WeChat Channels, WeChat Search.
max_price_usdNoMaximum list price in USD for this call (e.g. "0.003"). Up to 6 decimal places, including zero. A higher current price returns 412 price_limit_exceeded before any upstream request or charge. REST also accepts X-Max-Price; if both are set, both limits apply.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / max_price_usd
      Added value: +{
      +  "description": "Maximum list price in USD for this call (e.g. \"0.003\"). Up to 6 decimal places, including zero. A higher current price returns 412 price_limit_exceeded before any upstream request or charge. REST also accepts X-Max-Price; if both are set, both limits apply.",
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / platform / description
      Previous value: -"Which platform to read. Live now: Bluesky, Hacker News, YouTube, Reddit, X (Twitter), TikTok, Instagram, Threads, Xiaohongshu (RedNote), Douyin."New value: +"Which platform to read. Live now: Facebook, Pinterest, Meta Ad Library, Google Ads Transparency, Bluesky, Hacker News, YouTube, Reddit, X (Twitter), TikTok, Instagram, Threads, Xiaohongshu (RedNote), Douyin, Bilibili, Weibo, Zhihu, Kuaishou, LinkedIn, Telegram, WeChat Official Accounts, WeChat Channels, WeChat Search."
    • changedInput schema / properties / platform / enum
      Previous value: -[
      -  "bluesky",
      -  "hackernews",
      -  "reddit",
      -  "douyin"
      -]New value: +[
      +  "bluesky",
      +  "hackernews",
      +  "reddit",
      +  "douyin",
      +  "bilibili",
      +  "weibo"
      +]
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered; the description adds meaningful context beyond that: results are compact and include source URLs where available, the call consumes prepaid credit, and it accepts an API key or OAuth token. It does not mention rate limits, error conditions, or pagination behavior, which keeps it from a 5.

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?

Four short sentences, front-loaded with purpose, then return format, prerequisite, and coverage/auth. Every sentence carries information, though the platform list partially duplicates the enum in the schema and could be trimmed.

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 supplies the return shape ('compact results with source URLs'), the coverage set, the prerequisite step, and the billing/auth model — the pieces an agent needs before calling. Remaining details like pagination are handled by the cursor parameter in the 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 100%, with limit, cursor, platform, and max_price_usd all documented in-schema (including the 412 price_limit_exceeded behavior for max_price_usd). The description's platform list merely restates the enum values, adding little semantic value. Baseline 3 is appropriate.

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 names the resource ('what is popular on the platform right now') and the verb is implicitly a read of trending content, which is specific enough for an agent to distinguish it from get_user_posts or search_posts. It also enumerates the exact platforms covered. It stops short of explicitly contrasting with a sibling like search_posts for 'popular topics', so it is clear but not fully differentiated.

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 an explicit prerequisite ordering ('Use list_platforms first for input formats and coverage limits'), which is actionable guidance an agent would otherwise miss. It does not state when to prefer this over siblings such as search_posts or get_answers, so there is no exclusion or routing rule beyond the prerequisite.

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.

Resources