Skip to main content
Glama

Search public posts

search_posts

Find public posts about a topic on X. It uses indexed web discovery, then verifies post text and publication dates; it is not complete or real-time X search. period: day, week, month, year or all. limit: 1–10. A pending result carries job_id and next_check_after_seconds; the collection continues under that job_id. One read is used when usable results are delivered; pending checks use none.

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": "search_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
periodNomonth
platformNox

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, openWorldHint=true, destructiveHint=false; the description adds genuinely new behavior: indexed discovery rather than live search, verification of post text and dates, an asynchronous pending state returning job_id and next_check_after_seconds, and a credit rule (one read on delivery, none for pending checks). That credit-cost disclosure is exactly the kind of context annotations cannot carry. The polling mechanics are compressed — "the collection continues under that job_id" does not say how the agent resumes it — which keeps it short of a 5.

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 freshness limitation are front-loaded in the first sentence, followed by parameter facts and then the async/credit model. Delivery is telegraphic ("period: day, week, month, year or all. limit: 1–10.") rather than prose, which is efficient but reads as compressed notes; no sentence is wasted.

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?

With no output schema, the description must explain return shape, and it covers the important case: a delivered result versus a pending job carrying job_id and next_check_after_seconds. It is adequate for a 4-parameter search tool, with the platform parameter and the shape of individual returned posts the main unaddressed items.

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 0%, so the description must carry parameter meaning, and it does partially: it enumerates the allowed period values (day, week, month, year, all) and the limit range (1–10), neither of which appears in the schema. It says nothing about query formatting or the platform parameter, which is notable since the tool is framed as X-only and the default is "x" — that omission is a real gap at 0% coverage.

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 with platform scope: "Find public posts about a topic on X," and immediately qualifies the mechanism (indexed web discovery with text/date verification, not complete or real-time X search). That scoping helps separate it from a live-search or timeline-style sibling, 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?

The description tells the agent what kind of result to expect and warns it is neither exhaustive nor real-time, which implicitly frames appropriate use. However, it never states when to prefer this over adjacent tools such as week_of_posts or search_trends, and gives no prerequisites or exclusions beyond the freshness caveat.

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