Skip to main content
Glama

Deja Viral

Viral posts in a niche

viral_posts
Read-onlyIdempotent

Use this when the user wants real examples of TikTok posts that went viral in a niche, to see which hooks and formats are working there. Returns posts from Deja Viral’s library, each read from its own public TikTok page: the words on screen, the reusable shape of that hook, the format, the views and the date they were read, the date posted, the creator and the link. The library covers 40 niches and is a sample, not all of TikTok; a niche with few posts says so.

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": {
      "niche": "<niche>"
    },
    "name": "viral_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNofresh (the default): posted in the last 90 days first, the fastest rising first. views: the most viewed. recent: the newest. rising: gaining views fastest between our last two readings.
limitNoHow many posts, 1 to 10. The default is 5.
nicheYesThe niche, as one of these tags: calorie-tracking, fitness, studying, skincare, budgeting, language-learning, mental-health, productivity, sleep, career, ai-photo, dating, travel, parenting, pets, shopping, ecommerce, investing, ai-tools, office, coding, food, home, fashion, beauty, health, music, creators, gaming, real-estate, events, kids-learning, sports, cars, faith, astrology, local-services, small-business, books, garden. A TikTok hashtag such as "studytok" also works.
formatNoOnly posts in this format. Leave out for every format.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's job is to add context — and it does: data is read from each post's own public TikTok page, the library spans 40 niches, and it is a sample rather than all of TikTok. It also discloses that sparse niches are reported as such, which is a useful behavioral caveat not present in annotations.

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?

Three sentences, front-loaded with the usage trigger, then the return contents, then the coverage caveat. Each sentence carries distinct information, though the middle sentence is a long enumerated list that could be tightened.

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 of describing return values and does so field by field (on-screen words, hook shape, format, views, read date, post date, creator, link). It also sets expectations about sampling limits, which is exactly the caveat an agent needs to interpret sparse results.

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% and both enums (sort, format) are thoroughly documented in the schema itself, so the baseline is 3. The description adds only marginal meaning beyond that — the '40 niches' framing and the note that sparse niches are flagged — without explaining the niche tag syntax or sort behavior itself.

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 and resource ('real examples of TikTok posts that went viral in a niche') plus the underlying intent ('to see which hooks and formats are working there'). The emphasis on real, sourced examples implicitly separates it from sibling idea-generators such as hook_ideas or caption_ideas.

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?

Opens with an explicit trigger condition ('Use this when the user wants real examples...'), which is clear context for selection. It stops short of naming an alternative tool or stating when not to use it, so it earns a 4 rather than a 5.

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