Skip to main content
Glama

Search a network's public posts

search_network_posts
Read-onlyIdempotent

Keyword search over public posts on Threads, Bluesky or YouTube (videos), as Discover does. Returns id (pass it as mediaId to reply_to_network_post), text, username, permalink, timestamp, mediaType and isReply. canReply is true for threads and bluesky; YouTube is search only. Needs the Creator or Business plan, and a connected account on Threads or Bluesky (accountId from list_accounts picks one; YouTube needs none). Threads and YouTube searches are rationed: search on intent, not in loops.

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

Input Schema

NameRequiredDescriptionDefault
typeNoMost relevant or newest first. Default TOP.
queryYesWhat to look for. At least 2 characters.
networkYes
accountIdNoA Threads or Bluesky account id from list_accounts. Defaults to the organization's default account.
organizationIdNoWhich organization to act in: an id from list_organizations. Leave out for this connection's default organization.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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 (readOnly/openWorld/idempotent/non-destructive) by disclosing plan requirements (Creator or Business), connected-account prerequisites per network, and rate rationing on Threads and YouTube. It also spells out the return fields and the canReply capability boundary per network, which the annotations cannot convey.

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?

Front-loads the purpose, then return values, then prerequisites, then the rate-limit warning, in five dense sentences with no filler. Parenthetical asides (mediaId chaining, accountId source) are compact and load-bearing rather than decorative.

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?

No output schema exists, and the description compensates by enumerating the returned fields and their downstream use. Prerequisites, per-network capability limits, and cost constraints are all present, so an agent has everything needed to call this correctly on the first attempt.

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

Parameters4/5

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

With 80% schema coverage the schema already documents most parameters, but the description adds real meaning: accountId comes from list_accounts, is unnecessary for YouTube, and defaults to the organization's default account. The network parameter's downstream effect (canReply true only for threads/bluesky) is explained, though query syntax and the TOP/RECENT choice are left entirely to the schema.

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?

States a specific verb and resource ("Keyword search over public posts") and scopes it to three named networks, with "as Discover does" anchoring the behavior. An agent can distinguish this from list_network_posts because the description makes clear this is keyword-driven discovery rather than a listing of known posts.

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 operational context: YouTube is search only, Threads/Bluesky results can be replied to via reply_to_network_post, and searches should be run "on intent, not in loops." It also names list_accounts as the source of accountId. It does not explicitly say when to prefer this over a sibling listing tool, 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources