Skip to main content
Glama

Groundsocial

Search Threads posts

threads_search_posts
Read-onlyIdempotent

Search Threads posts by keyword, top or newest first.

Posts matching a keyword or phrase as Threads’ own search ranks them (sort=top) or newest first (sort=recent): one window, usually 10 to 20 posts. Run both sorts for more.

Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.

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_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSearch text.
sortNo`top` (default, Threads’ ranking) or `recent` (newest first).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/openWorld, yet the description adds material behavior the annotations cannot convey: cost of 1 credit per call, automatic refund on failure, public-data-only scope, and a typical result window of 10-20 posts. It also names returned fields (cost_credits, credits_remaining), which matters because there is no output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short lines: purpose first, ranking behavior second, cost and constraints last. Every sentence carries information an agent cannot get from the schema or annotations, with no filler.

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 a two-parameter read tool with no output schema, the definition covers purpose, ranking semantics, expected result volume, cost model, refund policy, data scope, and response fields. Nothing an agent needs in order to decide or call correctly is missing.

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% and the enum already documents 'top' as Threads' ranking and 'recent' as newest first, so the description largely restates structured data. The 'run both sorts' advice adds mild strategy but no new syntax, limits, or constraint detail beyond the schema's maxLength/minLength.

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 ('Search Threads posts by keyword') plus the ranking dimension, which implicitly separates it from post-listing tools like threads_user_posts. It never explicitly names what it is not, so an agent must infer the boundary rather than read it.

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 actionable retrieval strategy: pass both sorts to widen coverage, and explains what each sort yields. It offers no exclusion guidance (e.g., when to prefer a user-post listing instead of keyword search), so it stops short of full routing guidance.

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.