Skip to main content
Glama
threads-socialcrawl-mcp

threads-socialcrawl-mcp

threads_search_hashtag

Read-only

Search public Threads posts by hashtag, including niche tags via keyword fallback; filter by date and engagement and continue results with a cursor. Estimate credit costs before paid searches.

Instructions

Search Threads posts by HASHTAG. The default search only knows hashtags that are Threads topic tags (e.g. #motorcycle); niche hashtags need fallback_full=true: real keyword search at 3 credits per post. Returns slim posts, a summary (pages, matches, credits, why it stopped), top authors and next_cursor to continue.

Args:
    hashtags: One or more hashtags, comma/space separated, e.g. "motogymkhana" or "#moto, #gymkhana". A post matches if it has ANY of them (checked in ext.hashtags and the text); results are merged and de-duplicated.
    fallback_full: If a hashtag finds nothing, retry it once with real keyword search (3 credits per post).

    mode: How hard to look. "quick" (default) = one page, at most 30 credits; "deep" = scroll until about 30 matches (up to 20 pages, at most 200 credits); "bulk" = scroll as far as the budget allows (up to 50 pages, at most 500 credits), for exports. State the mode you chose and why.
    target_matches: Stop once this many matching posts are collected (0 = the mode's default).
    min_engagement: Drop posts whose likes + comments are below this (views are not used).
    start_date: Optional ISO date (YYYY-MM-DD) lower bound.
    end_date: Optional ISO date (YYYY-MM-DD) upper bound.
    cursor: next_cursor from a previous call, to continue where it stopped.
    max_credits: Replace the mode's credit budget (0 = the mode's budget). The search stops before a page that would exceed it.
    save_csv: File name (no folders), e.g. "moto_posts". Saves ALL matches to <data dir>/exports/<name>.csv (the reply says the exact path) and authors to <name>_authors.csv; the reply then carries only a 10-post preview.
    dry_run: True = do not search, only return the credit estimate and the account balance for these exact arguments (free).
    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

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": {
      "hashtags": "<hashtags>"
    },
    "name": "threads_search_hashtag"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoquick
cursorNo
dry_runNo
end_dateNo
hashtagsYes
save_csvNo
confirmedNo
start_dateNo
max_creditsNo
fallback_fullNo
min_engagementNo
target_matchesNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing credit costs per mode (30/200/500 credit ceilings), that the search stops before an over-budget page, why the search stopped, the confirmation gate that blocks execution, and that save_csv diverts output to files and leaves only a 10-post preview. Minor nuance: it writes CSV files despite readOnlyHint=true, but the description is explicit about that so it is a disclosed side effect rather than a contradiction.

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 purpose and the critical fallback caveat, then a clean Args block; length is justified by twelve parameters and a credit model. It loses a point for mild redundancy, repeating the 3-credits-per-post fallback cost and the mode descriptions in both the preamble and Args.

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?

Complete for a paid, paginated, resumable search: it covers cost control, truncation via save_csv preview, resumption via cursor, and the confirm-before-spend workflow. The output schema exists, yet the description still orients the agent on the summary fields and next_cursor, which is appropriate.

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 description coverage is 0%, so the description carries the full burden and does: every one of the twelve parameters is explained with type-appropriate detail, including match semantics for multiple hashtags (ANY, merged and de-duplicated), what min_engagement counts (views excluded), date format, cursor continuation, and the 0-means-default convention for target_matches and max_credits.

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?

Opens with a specific verb+resource ("Search Threads posts by HASHTAG") and immediately scopes it against the generic case by stating the default search only knows topic-tag hashtags. An agent can distinguish this from threads_search_keyword/threads_search_topic without reading either schema.

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 clear conditional guidance: use fallback_full=true for niche hashtags, choose mode by depth/export intent, call with dry_run first and only set confirmed after the user approves. It never names the sibling threads_search_keyword as the alternative when hashtag coverage is the wrong tool, so routing between search siblings is left partly to inference.

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