Skip to main content
Glama

Find trends

trends_search
Read-onlyIdempotent

Use this when the person wants ideas for their next video, asks what is trending or taking off in a topic, or wants to see what worked for other creators. Searches one network at a time — YouTube Shorts (default), TikTok or Instagram Reels — and returns a page of 24 videos from the last 3, 7, 30 or 90 days that went furthest above their creator's usual views, each with views, likes, comments, publication date, the creator (subscribers on YouTube, followers on TikTok and Instagram), and multiplier — the video's views divided by the median views of the creator's other recent videos (null when the creator has too few to say, and null on YouTube until YouTube allows Mellow figures derived from its data: there, rank by views and date). Sorted by multiplier, then views. more: true means there is more of the same search: call again with the same arguments and offset raised by the items received; Trends reads deeper for it (other searches on the same topic, further pages) up to a few hundred videos. more_cost says what that next page costs: 0 while Hub already has it, and always on YouTube; on TikTok and Instagram, once what Hub has read runs out, reading further is 1 AI credit for up to 24 new videos (given back when it finds nothing new) and happens only with pay: true — ask the person first. The topic is searched the way people search for it in language (the answer's searched field says how). Figures are the network's own public ones and every item links to the video: cite them as that network's (the answer's platform field). The same search is answered from the cache (cached: true) and costs nothing for 8 hours over 3 days, 12 over 7, 24 over 30 and 48 over 90. Credits: a YouTube search is free; a new TikTok or Instagram search costs 2 AI credits of the person's balance (insufficient_credits when it is short). Instead of a query, category opens one of Hub's feeds, free to the person: a topic (what videos are about) or a format (how they are made) — the week's videos found by the words people put on that kind of video in language. Every item carries formats: the formats its own title or caption names (read from the words, not from watching the video, and not from the feed it was found in: a format's feed can bring videos made another way, and a talking head whose caption says nothing of it has none). format keeps only the items tagged with it. Next: trends_breakdown on the video that fits the person best.

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": "trends_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
payNotrue reads further on TikTok or Instagram when the answer's more_cost is above 0: 1 AI credit, given back when nothing new is found. Only when the person agreed.
daysNoHow far back it looks. A query: default 30. A category: default the last week (Trending now on YouTube, three days; on TikTok and Instagram always their trending week).
queryNoThe topic or niche, in any language. Leave out when category is given.
formatNoKeep only the videos tagged with this format.
offsetNoWhere the page starts: 0 (default) for the first, then the number of items received so far, while the answer says more: true.
categoryNoA feed instead of a query. Topics: now (trending now), humor (humor), food (food), beauty (beauty), fashion (fashion), fitness (fitness), travel (travel), tech (tech and ai), money (business and money), learning (learning), pets (pets), dance (music and dance), home (home and diy), family (parents and kids), cars (cars), gaming (gaming). Formats: talking-head (talking head), storytime (storytime), podcast (podcast clips), street-interview (street interviews), reaction (reactions), pov-skit (pov and skits), tutorial (tutorials and hacks), top-list (top lists), versus (this vs that), review (reviews and unboxing), screencast (screen recordings), text-meme (text and memes), green-screen (green screen), before-after (before and after), grwm (get ready with me), day-in-life (day in my life), edit (edits and transitions), challenge (challenges), asmr (asmr and satisfying), gameplay (gameplay), animation (animation), ai-video (ai video).
languageNoThe language the videos should be in. Leave out for any language.
platformNoyoutube (default), tiktok or instagram.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / days / enum
      Previous value: -[
      -  3,
      -  7,
      -  30,
      -  90
      -]New value: +[
      +  3,
      +  7,
      +  30,
      +  90,
      +  365
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / language / enum
      Previous value: -[
      -  "en",
      -  "ru",
      -  "es",
      -  "de",
      -  "fr",
      -  "pt",
      -  "it",
      -  "tr",
      -  "ar",
      -  "he"
      -]New value: +[
      +  "en",
      +  "ru",
      +  "es",
      +  "de",
      +  "fr",
      +  "pt",
      +  "it",
      +  "tr",
      +  "ar",
      +  "he",
      +  "ko",
      +  "id"
      +]
  3. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the read-only/open-world annotations, the description discloses the page size, ranking order, pagination via more and offset, cache lifetimes, credit costs, pay-gating behavior, and platform-specific free/paid rules. It also explains that YouTube results may lack multipliers and how formats are derived from captions rather than video analysis.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the use case, but it is a dense, run-on block with nested parentheticals and many clauses packed into single sentences. Most content is relevant to this complex tool, but readability and structure suffer.

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 carries the full burden and does so thoroughly: it explains returned fields, pagination, caching, costs, credit rules, platform defaults, category feeds, and format tagging. An agent has enough information to call the tool correctly and understand its side effects.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents all eight parameters. The description still adds useful meaning about defaults, pay behavior when more_cost is above 0, how offset advances through pages, and how category and format differ from a query.

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 names a specific verb and resource: it searches one network at a time for a page of 24 trend videos ranked by how far above the creator's usual views they performed. It also names the intended use cases and points to trends_breakdown as the logical next step, so the tool is distinguishable from related tools.

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 explicit when-to-use guidance: when the person wants ideas for their next video, asks what is trending, or wants to see what worked for other creators. It also explains query-vs-category usage and points to trends_breakdown next, though it does not state when not to use this tool or name alternative search tools.

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.