Skip to main content
Glama

Search Viral Outlier Posts

search_outliers
Read-onlyIdempotent

Search a continuously-crawled database of social media posts ranked by outlier score: how strongly a post overperforms the account's own baseline. Filter by platform, keyword, exact creator handle, content type, an outlier-score band (min/max), a view band (min/max), a follower band (min/max), an engagement-rate band (min/max) and time window; sort by outlier score, views, likes, engagement or recency. Returns post metadata, stats and thumbnails. Use this to find proven viral formats in any niche before creating content. Results may include deleted posts (deleted_at set) and posts from deactivated profiles (profile is_active=false), these are kept for their thumbnails and format ideas, with stats frozen at deletion; filter on deleted_at / is_active if you only want live content. Cost: 1 credit per 25 posts returned.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, 1-based. A search serves its first 1,000 posts; a page past that is refused at no charge, so narrow the filters instead.
queryNoKeyword search over captions/titles
handleNoExact creator handle filter
sortByNo
maxViewsNo
minViewsNo
pageSizeNoResults per page, 1 to 100 (default 25). Billed per 25 posts returned: 25 costs 1 credit, 100 costs 4. Many MCP clients cut a tool answer at about 40,000 characters; posts with long captions can pass that at 25 per page, so page through smaller pages (10 to 15) there.
platformsNo
timeFrameNo
categoryIdNoNiche filter: a category id from list_categories (covers its subtree)
watchlistIdNoScope to the creators in one of your watchlists (id from list_watchlists)
contentTypesNo
maxFollowersNo
minFollowersNo
maxOutlierScoreNo
minOutlierScoreNo
maxEngagementRateNo
minEngagementRateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / pageSize / description
      Previous value: -"Results per page, 1 to 100 (default 25). Billed per 25 posts returned: 25 costs 1 credit, 100 costs 4."New value: +"Results per page, 1 to 100 (default 25). Billed per 25 posts returned: 25 costs 1 credit, 100 costs 4. Many MCP clients cut a tool answer at about 40,000 characters; posts with long captions can pass that at 25 per page, so page through smaller pages (10 to 15) there."
  2. Changed2 schema fields changed
    • addedInput schema / properties / page / description
      Added value: +"Page number, 1-based. A search serves its first 1,000 posts; a page past that is refused at no charge, so narrow the filters instead."
    • addedInput schema / properties / pageSize / description
      Added value: +"Results per page, 1 to 100 (default 25). Billed per 25 posts returned: 25 costs 1 credit, 100 costs 4."
  3. Changed1 schema field changed
    • addedInput schema / properties / categoryId
      Added value: +{
      +  "description": "Niche filter: a category id from list_categories (covers its subtree)",
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • addedInput schema / properties / watchlistId
      Added value: +{
      +  "description": "Scope to the creators in one of your watchlists (id from list_watchlists)",
      +  "type": "string"
      +}
  5. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantial context beyond them: billing ('1 credit per 25 posts returned'), a 1,000-post result cap, the presence of deleted posts with frozen stats and the fields to filter them out. These are exactly the behavioral facts an agent could not infer from the structured fields.

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?

It is one dense but well-ordered paragraph: purpose and ranking definition first, then filter dimensions, sort options, return contents, use case, caveats, and cost. It is longer than typical but nearly every clause carries information; the long enumeration of bands could have been tightened.

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 an 18-parameter tool with no output schema, it covers return shape ('post metadata, stats and thumbnails'), cost, data-freshness caveats, and the semantic core of the ranking. Remaining gaps are minor filter semantics and pagination, the latter partly handled by the schema's page/pageSize descriptions.

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?

With only 33% schema coverage, the description carries real weight by conceptually grouping the filters (outlier-score, view, follower and engagement bands, time window) and explaining what the outlier score means. It still leaves several params unelaborated (platforms, contentTypes, maxViews/minViews units), so it only partially compensates for the coverage gap.

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 and resource ('Search a continuously-crawled database of social media posts') and defines the ranking concept ('outlier score: how strongly a post overperforms the account's own baseline'), which is genuinely clarifying. It does not explicitly differentiate itself from plausible siblings like get_trending_outliers or niche_trends, so it falls short of the top mark.

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 states a clear use case ('find proven viral formats in any niche before creating content') and gives concrete operational guidance on filtering deleted/deactivated content. However, it never says when a sibling such as get_trending_outliers would be the better choice, so there are no explicit exclusions.

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