Skip to main content
Glama

user_search

Search social media profiles by username or URL across Twitter, Facebook, or Instagram with date filters and optional AI analysis; return full post results.

Instructions

Create a user profile search on a social media platform. Polls until the search is complete and returns the full results. Oversized responses are truncated (truncated: true) — read the complete post list in pages with get_user_search_posts (offset, limit, fields=lean). A status of results_pending means the search succeeded but results are still being written; fetch them with get_user_search.

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>",
      "platform": "<platform>"
    },
    "name": "user_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesUsername or profile URL to search
end_dateNoEnd date (YYYY-MM-DD)
platformYesPlatform to search
enable_aiNoWhether Rolli runs its AI analysis on the posts: sentiment, summaries and the topic tree (default: true). Pass false to collect the raw posts only, which is faster; use it when you will analyse the posts yourself. A search made with false has no topic tree.
start_dateNoStart date (YYYY-MM-DD)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.7.0
    • addedInput schema / properties / enable_ai
      Added value: +{
      +  "description": "Whether Rolli runs its AI analysis on the posts: sentiment, summaries and the topic tree (default: true). Pass false to collect the raw posts only, which is faster; use it when you will analyse the posts yourself. A search made with false has no topic tree.",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changedv1.5.0
    • removedInput schema / additionalProperties
      Removed value: -false
  3. First observedv1.1.7

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden and does well: it discloses that the call polls until the search completes (a blocking, potentially long-running operation), that oversized payloads are truncated with a truncated: true flag, and that results_pending means success-but-not-yet-readable. It omits auth requirements, quotas, and latency expectations.

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 sentences, each doing distinct work: what it does, what it returns, and how to handle the two failure-shaped outcomes. The most actionable constraint (truncation and the recovery path) is front-loaded after the purpose statement, with no filler.

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?

A search tool with polling, truncation, and a pending state is behaviorally complex, and the description covers both recovery paths with named sibling tools and arguments. With no output schema, it could say slightly more about the shape of a successful result set, but the essential calling information is present.

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 description coverage is 100%, including detailed docs for enable_ai and date formats, so the baseline is 3. The description adds no parameter-level meaning beyond referencing offset/limit/fields=lean for the sibling tool; enable_ai's tradeoff (speed vs topic tree) lives only in 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?

The description opens with a specific verb and resource: "Create a user profile search on a social media platform." The word "profile" distinguishes it from the keyword- and expert-search siblings, and the follow-up sentences name the exact retrieval siblings, so an agent can place it without opening any schema.

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?

It gives precise routing for the two ambiguous outcomes: truncated responses go to get_user_search_posts (offset, limit, fields=lean) and a results_pending status goes to get_user_search. What it lacks is a positive statement of when to choose user_search over expert_search or keyword_search; the reader must infer that from the word "profile".

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