Skip to main content
Glama
threads-socialcrawl-mcp

threads-socialcrawl-mcp

threads_top_posts

Read-only

Find popular Threads posts by keyword or topic tag over a date window, each with top replies, ranked by likes, comments, or shares.

Instructions

Find the most popular Threads posts for a keyword and/or topic over a date window, each with its own most popular replies, in one call.

"Popular" is rank_by: "likes_comments" (default), "likes" or "likes_comments_shares" (views are not used). The search fetches search_pages pages of up to search_limit candidate posts inside the window, keeps the ones matching query / topic_tag, ranks them and fetches replies only for the final top posts (1 credit each), re-ranked by likes. If a replies call fails that post carries comments_error and the rest still return. The exact UTC date_window used comes back in the reply. Threads search is a sampled window, so fewer than posts_limit posts is normal; add search_pages to widen the candidate pool.

Args: query: Keyword, phrase or category name (optional when topic_tag is given). days: Size of the date window ending at end_date (or today UTC), inclusive. 1 = just that day. end_date: Optional ISO date (YYYY-MM-DD) to anchor the window on instead of today (UTC). rank_by: "likes_comments" (default), "likes" or "likes_comments_shares". posts_limit: How many top posts to return. comments_per_post: How many top (by likes) replies per post, 0-50. search_limit: Candidate posts per search page, 1-100 (default 30; big pages are slow and can time out; 50 max with coverage="full"). search_pages: How many search pages to scan for candidates (default 1; more costs more credits). coverage: "full" = Threads' real keyword search (3 credits per post). topic_tag: Optional Threads topic tags, comma separated (case-insensitive). topic_match: "exact" (default) or "contains". max_credits: Credit budget for the candidate search (default 500, 0 = unlimited); replies cost extra. dry_run: True = return only the credit estimate (search + replies) and the account balance, no calls. confirmed: Leave False. Without it nothing is run: you get the balance and the estimate. Set True only after the user has seen them and said yes.

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

Input Schema

NameRequiredDescriptionDefault
daysNo
queryNo
dry_runNo
rank_byNolikes_comments
coverageNo
end_dateNo
confirmedNo
topic_tagNo
max_creditsNo
posts_limitNo
topic_matchNoexact
search_limitNo
search_pagesNo
comments_per_postNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond annotations (readOnly/openWorld) it discloses credit costs (3 credits per post with coverage="full", 1 credit per reply), max_credits budget semantics, timeout risk on large pages, partial-failure behavior (comments_error per post while the rest still return), and the sampled-window caveat that fewer than posts_limit results is normal. It also returns the exact UTC date_window used. This is materially more than the annotations convey.

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?

Front-loaded with a one-sentence purpose, then a dense behavior paragraph, then a scannable Args list. Every line carries information a caller needs, though a few parenthetical asides ("big pages are slow and can time out") could be tightened given the overall length.

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?

An output schema exists, so return values needn't be described, and the failure/partial-result and date_window behaviors are covered. The only gap for a 14-parameter, open-world, credit-spending tool is the lack of explicit routing guidance to sibling tools for related needs (e.g., hashtag or topic-only search).

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

Parameters5/5

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

Schema coverage is 0%, so the description carries the full burden and does: every one of the 14 parameters is documented with meaning, defaults and bounds (days inclusive window, comments_per_post 0-50, search_limit 1-100 default 30, max_credits 0 = unlimited, rank_by allowed values and the note that views are not used). This is exactly the compensation the low coverage requires.

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 opening sentence states a specific verb+resource+scope: find the most popular Threads posts for a keyword/topic over a date window, each with its own popular replies, in one call. The composite behavior (candidate search, ranking, reply fetching) distinguishes it from simpler search siblings such as threads_search_keyword without needing to name them.

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 clear operational guidance: query is optional when topic_tag is given, add search_pages to widen the candidate pool, 50 max search_limit with coverage="full". The dry_run/confirmed workflow is spelled out as a two-step user-approval gate. It doesn't explicitly contrast against sibling search tools, which keeps it from a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.