Skip to main content
Glama

datasets_x_users_search

Read-only

Search the stored public X (Twitter) user profile dataset using a query and filters. Costs 1 credit per record returned (minimum 2), so keep page_size to what you need. Results are indexed user records, not live profile fetches; use the item endpoint when you have a record ID.

Input Schema

NameRequiredDescriptionDefault
qNoOptional full-text query over username, name, bio and location, max 256 characters.
pageNoResult page number, 1-based, default 1; page times page_size must not exceed 10000.
sortNoOptional sort order. Allowed values: relevance, followers_desc, followers_asc, crawled_at_desc, crawled_at_asc, created_at_desc, created_at_asc. Defaults to relevance with q, otherwise followers_desc.
has_bioNoOptional filter for a non-empty profile bio.
usernameNoOptional exact username filter (case-insensitive), max 128 characters.
max_ratioNoOptional maximum follower-to-following ratio, 0 or greater.
min_ratioNoOptional minimum follower-to-following ratio, 0 or greater. Low values surface follow-spam / bot-like accounts.
page_sizeNoPage size, default 20, max 100; page times page_size must not exceed 10000.
source_tierNoOptional exact filter for which seed tier discovered this account, e.g. github-users, wikidata.
crawled_afterNoOptional filter for records last refreshed on or after this date (RFC3339 or YYYY-MM-DD).
created_afterNoOptional filter for accounts created on or after this date (RFC3339 or YYYY-MM-DD).
max_followersNoOptional maximum follower count, 0 or greater.
min_followersNoOptional minimum follower count, 0 or greater.
crawled_beforeNoOptional filter for records last refreshed on or before this date (RFC3339 or YYYY-MM-DD).
created_beforeNoOptional filter for accounts created on or before this date (RFC3339 or YYYY-MM-DD).
has_external_urlNoOptional filter for a linked external URL.
is_blue_verifiedNoOptional filter for the X blue-check verification flag.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds real value beyond that: a credit cost model ('1 credit per record returned, minimum 2') and the important freshness caveat that results are 'indexed user records, not live profile fetches.'

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 tightly written sentences with zero waste. The core purpose is front-loaded, followed by the cost constraint and the disambiguation note, each earning its place.

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 an output schema present, return values needn't be described, and all 17 parameters are documented in the schema. The description covers cost, freshness, and routing, leaving little for an agent to guess. Only the facets sibling relationship is left implicit.

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% with rich per-parameter descriptions, so the schema does the heavy lifting. The description only touches page_size indirectly via the cost note and adds no syntax or semantics beyond what the schema provides. Baseline 3 is appropriate.

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 ('Search the stored public X (Twitter) user profile dataset using a query and filters') and explicitly distinguishes itself from the item endpoint. An agent can tell it apart from datasets_x_users_item and the live-fetch profile tools without opening the 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?

Gives explicit routing: 'use the item endpoint when you have a record ID,' plus practical guidance to keep page_size to what's needed. It does not mention the sibling datasets_x_users_facets, which is a minor gap given the search/facets/item triad.

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.