Skip to main content
Glama

Tools

Tool

Description

list_keyword_searches

List all keyword searches, filtered by status

keyword_search

Create a keyword/hashtag search and return results when complete

get_keyword_search

Get keyword search results (status, analytics, posts)

list_user_searches

List all user searches, filtered by status

user_search

Create a user profile search and return results when complete

get_user_search

Get user search results (profile, metrics, content analysis)

list_expert_searches

List all expert searches, filtered by status

expert_search

Find experts matching a natural-language query and return results when complete

get_expert_search

Get expert search results (recommended experts with AI-generated match summaries)

get_topic_tree

Get conversation topic tree for a keyword search

get_keyword_search_posts

Get raw posts from a keyword search

get_user_search_posts

Get raw posts from a user search

list_agent_runs

List Rolli Agent runs (AI-driven social intelligence investigations)

start_agent_run

Start a Rolli Agent investigation and return the markdown report when complete

get_agent_run

Get a Rolli Agent run by ID (progress while running, full report when complete)

cancel_agent_run

Cancel a pending or running Rolli Agent run

rerun_agent_run

Retry a failed, waiting, or stuck Rolli Agent run

update_agent_run

Pin or rename a Rolli Agent run

delete_agent_run

Soft-delete a completed or failed Rolli Agent run

list_agent_schedules

List Rolli Agent scheduled reports

create_agent_schedule

Create a recurring Rolli Agent report (daily/weekly/monthly/once)

get_agent_schedule

Get a Rolli Agent schedule with its 10 most recent runs

update_agent_schedule

Update a Rolli Agent schedule

delete_agent_schedule

Permanently delete a Rolli Agent schedule

pause_agent_schedule

Pause a Rolli Agent schedule

resume_agent_schedule

Resume a paused Rolli Agent schedule

list_agent_schedule_runs

List the full execution history of a Rolli Agent schedule

get_integration_setup

Get current integration settings (webhook URL, name)

update_integration_setup

Set the webhook URL for search completion notifications

get_usage

Get API usage data and per-user breakdowns

Related MCP server: Grok X Insights MCP Server

Setup

You need a Rolli account with API access. Get your API token from rolli.ai.

Claude Desktop / Claude Code / VS Code / Cursor / Windsurf

Add to your MCP config (claude_desktop_config.json, .vscode/mcp.json, or equivalent):

{
  "mcpServers": {
    "rolli": {
      "command": "npx",
      "args": ["-y", "@rolli/mcp"],
      "env": {
        "ROLLI_API_TOKEN": "your_token"
      }
    }
  }
}

ROLLI_USER_ID is optional and defaults to "rolli-mcp". Set it to override with your own user ID.

Optional Environment Variables

Variable

Default

Description

ROLLI_USER_ID

"rolli-mcp"

User ID sent with API requests

ROLLI_POLL_INTERVAL_MS

5000

Polling interval (ms) when waiting for search results

ROLLI_MAX_POLL_MS

600000

Max time (ms) to wait before search timeout (default: 10 min)

ROLLI_MAX_RESPONSE_BYTES

140000

Max tool-response size in bytes; larger responses are trimmed (truncated: true). claude.ai and Claude Desktop accept ~150,000 characters per tool result, so keep it under that

Smithery

This server includes a smithery.yaml for deployment via Smithery. It will prompt for your API token during setup.

Usage Examples

Search for a keyword across social media:

"Search for posts about 'artificial intelligence' on Twitter and Reddit from the last week"

Analyze a user profile:

"Look up @elonmusk on Twitter and analyze their recent posts"

Get topic breakdown:

"Show me the topic tree for my keyword search #123"

Check API usage:

"How many searches have I used this month?"

Set up a webhook:

"Set my webhook URL to https://myapp.com/rolli-callback"

Optional X/Twitter Source Context

Rolli is useful for cross-platform social search, topic trees, user analysis, and scheduled social intelligence reports. If an agent also needs reviewed account-scoped X/Twitter source evidence before a Rolli investigation, collect that evidence in an approved OpenClaw workflow such as TweetClaw, then pass only the reviewed handles, post URLs, post IDs, excerpts, or summary notes into Rolli prompts.

Keep Rolli and TweetClaw credentials separate. Do not transfer API tokens, cookies, sessions, or account credentials between tools. Treat TweetClaw output as source context for Rolli searches and reports, not as publishing approval.

Development

npm ci
npm run lint    # ESLint
npm run build   # TypeScript
npm test        # Vitest

CI runs on every push and PR to master. Releases published on GitHub automatically publish to npm (requires NPM_TOKEN repo secret).

License

MIT

Available Tools

30 tools
cancel_agent_runA

Cancel a pending or running Rolli Agent run. Marks the run as failed.

Inputs: id (required).

create_agent_scheduleC

Create a recurring Rolli Agent report that runs on a cron-like cadence (daily, weekly, monthly, or one-time) with optional email and Slack notifications.

Inputs: name (required), question (required), starts_at (required), recurrence_time (required), +16 more.

delete_agent_runA

Soft-delete a Rolli Agent run. The record remains in the database for audit purposes but is hidden from listings. Only works on completed or failed runs — cancel the run first if it is still running.

Inputs: id (required).

delete_agent_scheduleA

Permanently delete a Rolli Agent schedule and its execution history. This is irreversible. Use pause_agent_schedule to temporarily stop a schedule without losing history.

Inputs: id (required).

get_agent_runA

Get a Rolli Agent run by ID. While running, returns progress (percentage, phase, current tool). Once complete, returns the full markdown report, signals, evidence links, and usage metrics.

Inputs: id (required).

get_agent_scheduleA

Get a Rolli Agent schedule's full configuration plus its 10 most recent execution records.

Inputs: id (required).

get_integration_setupA

Get the current integration settings (webhook return URL and integration name).

Inputs: no named parameters.

get_keyword_search_postsA

Get raw posts from a keyword search. The first line says how many of the search's posts this response shows and the offset of the next page; total, returned, offset and platform_counts (posts per platform across the whole search) are in the JSON. Read a large search in pages with offset and limit, one platform at a time, and fields=lean when the text matters more than media and profile URLs. A response over the size cap is marked truncated: true.

Inputs: search_id (required), limit, fields, offset, +1 more.

get_topic_treeA

Get the conversation topic tree for a keyword search. Shows how topics and subtopics are distributed across the search results. Each searched platform has its own tree in data; a platform the search left out (see the search's coverage) has none.

Inputs: search_id (required), platform.

get_usageA

Get API usage data. Returns search counts, per-user breakdowns, and the current IQ credit balance (credits.credits_remaining, credits.credits_limit, credits.period_reset_date — the latter two are null for one-time credit grants). Counts are all-time unless a month is given.

Inputs: month.

get_user_search_postsA

Get raw posts from a user search. The first line says how many of the profile's posts this response shows and the offset of the next page; total, returned and offset are in the JSON. Read a large search in pages with offset and limit, and fields=lean when the text matters more than media and profile URLs. A response over the size cap is marked truncated: true.

Inputs: search_id (required), limit, fields, offset.

list_agent_runsA

List Rolli Agent runs (AI-driven social intelligence investigations). Returns a paginated summary list. Discarded runs are excluded.

Inputs: limit, offset, status.

list_agent_schedule_runsA

List the full execution history of a Rolli Agent schedule, including a preview of each linked agent run.

Inputs: id (required), limit, offset.

list_agent_schedulesB

List Rolli Agent scheduled reports. Schedules execute on a daily/weekly/monthly/once cadence and produce a new agent run each time.

Inputs: limit, offset.

list_expert_searchesC

List all expert searches. Returns a paginated list filtered by status.

Inputs: page, show.

list_keyword_searchesB

List all keyword searches. Returns a paginated list filtered by status.

Inputs: page, show.

list_user_searchesC

List all user searches. Returns a paginated list filtered by status.

Inputs: page, show.

pause_agent_scheduleA

Pause a Rolli Agent schedule so it stops executing. The schedule and its history are preserved — resume it later with resume_agent_schedule.

Inputs: id (required).

rerun_agent_runA

Rerun a failed, waiting, or stuck Rolli Agent run. Resets the run to pending and re-enqueues it. Running runs are force-cancelled first. Returns 422 if the run is already completed. Fails immediately if the IQ credit balance is exhausted (a rerun needs at least 1 credit).

Inputs: id (required).

resume_agent_scheduleA

Resume a paused Rolli Agent schedule. next_run_at is recalculated based on the recurrence parameters.

Inputs: id (required).

start_agent_runA

Start a Rolli Agent investigation. Submit a plain-English question; the agent plans a search strategy, queries Rolli IQ across platforms, analyzes posts, and produces a markdown intelligence report with signals, evidence links, and a confidence rating. Fails immediately (before starting) if the IQ credit balance is insufficient. Polls inline for up to 2 minutes. If the run finishes in that window, returns the full results; otherwise returns the run ID and a note to fetch the results with get_agent_run (typical run takes 3–5 minutes).

Inputs: question (required), mode, max_post, metadata, +4 more.

update_agent_runB

Update a Rolli Agent run's metadata (rename or pin). At least one of pinned or label is required.

Inputs: id (required), label, pinned.

update_agent_scheduleA

Partially update a Rolli Agent schedule. Unspecified fields are left unchanged. next_run_at is recalculated if any recurrence parameter changes.

Inputs: id (required), mode, name, ends_at, +14 more.

update_integration_setupC

Update integration configuration. Set the webhook URL that receives notifications when a search completes.

Inputs: return_url (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 30 tools

    Disambiguation4/5

    The surface is organized into clear families (keyword/user/expert searches, agent runs, agent schedules, integrations, usage), and descriptions make the read-vs-create distinction explicit (e.g. keyword_search creates, get_keyword_search fetches by ID). Minor overlap remains between get_agent_schedule (config + recent runs) and list_agent_schedule_runs, and between bare-noun search creators and their get_* counterparts, but an agent can reasonably choose.

    Naming Consistency3/5

    Most tools follow snake_case verb_noun (list_keyword_searches, create_agent_schedule, pause_agent_schedule, get_agent_run). However, the three creation tools for searches are bare nouns (keyword_search, user_search, expert_search), inconsistent with create_agent_schedule and start_agent_run, and the plural/singular distinction between list_* and get_* requires careful reading.

    Tool Count3/5

    30 tools is at the heavy end, driven by four parallel search families each with create/get/list/posts variants plus full agent-run and schedule lifecycles. Each tool is individually justified, but the repetition across search types (and near-duplicate post pagination tools) suggests consolidation was possible.

    Completeness4/5

    Lifecycle coverage is strong for agent runs (start/get/list/cancel/rerun/update/delete) and schedules (create/get/list/update/pause/resume/delete/run history), and integrations and usage are covered. The main gap is that keyword, user, and expert searches can be created and listed but never deleted, updated, or cancelled, leaving stale searches with no cleanup path.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      SocialCrawl provides the "best" quality public web data on the internet. Access 65+ real-time social media, e-commerce and public web data from a single API with a single schema.
      5
      973 npm
      29
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to search, describe and call 239 social data endpoints across Instagram, TikTok, LinkedIn, Facebook, YouTube, X, Reddit, Threads and Pinterest through a single API key, covering profiles, posts, comments, followers, hashtags, ads and transcripts with one unified schema. Full responses are saved server-side and can be re-sliced for free with jq, fields or size outlines, so agents pull only the data they need into context.
      77 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI tools to read publicly visible social media posts, comments, profiles, and trends from 18 platforms such as TikTok, Instagram, X, Reddit, YouTube, Xiaohongshu, and Weibo, on a prepaid pay-per-call basis where failed calls are free. Ships tools for search, trending, detail, comments, user profiles and posts, plus higher-level workflows like brand buzz, comment analysis, account watching, creator discovery, bulk link data, and viral finding.
      MIT