Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

Threads Post Search

threads_search

Search public Threads posts by keyword or phrase and retrieve matching posts with engagement metrics and media, sorted by relevance, recency, or engagement.

Instructions

Threads keyword search — posts with engagement + media. orderBy relevant | post_dated | engagement. Flat 2 credits. Costs 2 credits. Empty results and failures are never charged. Pass cache=true for a free 24h cache hit (default always fresh).

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": {
      "q": "<q>"
    },
    "name": "threads_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesKeyword or phrase to search public Threads posts (min 2 characters).
cacheNoSet true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.
limitNoMax items to return (default 25, max 200). Flat 2 credits per call.
orderByNoSort the fetched page: relevant (default, Meta Top / similar to query), post_dated (newest publishedAt first), or engagement (likes+replies+reposts+quotes+views). Unknown values are 400.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses flat 2-credit pricing, that empty results and failures are not charged, and that cache=true gives a free 24h cached response while the default is always fresh. Remaining gaps are rate limits and pagination behavior across the 200-item cap.

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?

Purpose and cost are front-loaded into a short, scannable fragment. It loses a point for redundancy — 'Flat 2 credits. Costs 2 credits.' says the same thing twice, and the orderBy list duplicates the schema.

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 4-parameter read tool with no output schema, the description covers what is searched, what is returned, sort semantics, caching, and billing edge cases. An agent has enough to call it correctly; only pagination/rate-limit context is absent.

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 coverage is 100%, so the schema already documents q, cache, limit and orderBy with defaults and constraints. The description's orderBy enumeration and cache note largely restate what the schema provides, adding little new meaning.

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?

States a specific verb and resource ('Threads keyword search') and adds what comes back ('posts with engagement + media'). It is distinguishable from user/profile-oriented siblings like threads_user_posts, though no sibling is named explicitly.

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

Usage Guidelines3/5

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

Gives clear in-tool guidance on ordering options and when to pass cache=true (free hit vs default fresh). It never says when to pick this over alternatives such as threads_search_users or threads_user_posts, so routing is left implicit.

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

Deploy Server

Other Tools