Skip to main content
Glama
threads-socialcrawl-mcp

threads-socialcrawl-mcp

threads_search_keyword

Read-only

Search public Threads posts by keyword or phrase to find matching posts and authors, with credit estimates before running and options for date, engagement, and CSV export.

Instructions

Search Threads posts by plain KEYWORD or phrase with Threads' real keyword search (3 credits per post, so price it first). It has no tag filter and is the least precise mode; prefer threads_search_hashtag / threads_search_topic when a tag exists.

Args:
    query: Keyword or phrase to search for.

    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": {
      "query": "<query>"
    },
    "name": "threads_search_keyword"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoquick
queryYes
cursorNo
dry_runNo
end_dateNo
save_csvNo
confirmedNo
start_dateNo
max_creditsNo
min_engagementNo
target_matchesNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare read-only/open-world/non-idempotent; the description adds substantive behavior the agent could not otherwise know: 3 credits per post, per-mode credit ceilings (30/200/500), a confirmation gate, and that dry_run is free. It also discloses side effects of save_csv (writes to <data dir>/exports/, generates an _authors.csv, returns only a 10-post preview) — a minor tension with readOnlyHint but not a contradiction, since the source data is never modified.

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 one-sentence summary followed by a scannable Args block; nearly every line carries operational value. Minor redundancy remains — the price-before-running idea appears in both the lead sentence and the confirmed/dry_run entries — costing a bit of tightness in an otherwise disciplined definition.

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?

For an 11-parameter, cost-bearing, paginated search tool, everything an agent needs to invoke it correctly is present: budget behavior, stopping conditions, pagination via cursor, output destinations, and the spend-approval workflow. An output schema exists, yet the description still usefully notes the reply shape under save_csv and dry_run.

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 meets it for all 11 parameters: it supplies the mode enum values the schema lacks, defines 0-sentinels for target_matches and max_credits, explains min_engagement excludes views, gives ISO date formats, and clarifies cursor, dry_run, and confirmed semantics. This is meaning well beyond the bare typed fields.

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 plain KEYWORD or phrase") and immediately qualifies the mechanism ("Threads' real keyword search"). It explicitly contrasts itself with siblings threads_search_hashtag and threads_search_topic and states the cost model, so an agent can identify and differentiate the tool without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit alternative and the condition that selects it: "prefer threads_search_hashtag / threads_search_topic when a tag exists" and "least precise mode." It also covers when each mode applies (quick = one page, deep = ~30 matches, bulk = "for exports") and the confirmation prerequisite before any spend, leaving little to inference.

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