Skip to main content
Glama

Find Viral Trends

find_viral_trends
Read-onlyIdempotent

Collect evidence-backed current TikTok/Instagram posts and grounded web sources, then return 1-5 validated trends with proof links, observations, and safe ways to use them. Use before ideate_ugc_content for trend-aware ideas. Evidence remains available when generation is partial or fails.

Input Schema

NameRequiredDescriptionDefault
uidNoOptional Firebase uid. Must match the URL uid unless local fallback is enabled.
limitNoMaximum direct social evidence posts to collect (default 12).
topicYesThe niche, product category, or topic to research trends for, e.g. 'skincare'.
regionNoAudience region/country if relevant; defaults to Global.
platformNoWhich platform's trends to research (default both).
bearer_tokenNoOptional Firebase ID token. Hosted clients normally authenticate with an API key in the Authorization header or ?uid= in the URL instead.
conversation_idNoCreator-list key for durable state. Reuse a returned list_id for follow-ups; when omitted, MCP uses the active generated list for this tool chain.
preferences_modeNoHow to apply preferences for this call: 'stored' uses users/{uid}.agentPreferences, 'override' uses agent_preferences only, and 'none' disables stored filtering for this run.
agent_preferencesNoOptional per-call filtering preferences. Use with preferences_mode='override'. For backwards compatibility, passing this without preferences_mode implies override.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/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, open world), so the bar is lower. The description still adds real value by disclosing partial-failure behavior — 'Evidence remains available when generation is partial or fails' — and by characterizing the sources (TikTok/Instagram posts plus grounded web). It omits rate limits, latency, and auth expectations that the schema only hints at via bearer_token.

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 verb and output shape, then sequencing, then the resilience note. Dense but each sentence carries distinct information. The trailing resilience sentence is the least essential, keeping it just under top marks.

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 9-parameter research tool with no output schema, the description does the important work: it describes the return shape (1-5 trends with proof links, observations, usage guidance) and the failure semantics. With all parameters schema-documented, the remaining gap is minor — nothing on latency or how conversation_id follow-ups behave beyond the schema field.

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%, so every parameter is already documented in structured form and the baseline is 3. The description adds no syntax or format guidance beyond what the schema states; the '1-5 validated trends' phrasing also risks being read as the limit parameter, which actually governs collected posts (default 12).

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 ('Collect ... posts and grounded web sources', 'return 1-5 validated trends') and names the concrete artifacts returned: proof links, observations, safe usages. It also distinguishes itself from the nearest sibling by naming ideate_ugc_content, so an agent can route without opening schemas.

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?

Gives an explicit ordering rule: 'Use before ideate_ugc_content for trend-aware ideas.' That is a clear when-to-use signal tied to a named sibling. It stops short of stating when NOT to use it or pointing to adjacent alternatives (e.g. analyze_seed_creators, research_company) for already-known topics.

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