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.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "datasets_x_users_search"
  }
}

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.3/5.0
Behavior4/5

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

Beyond the readOnly/openWorld/idempotent annotations, it discloses two things the annotations cannot: the billing model (1 credit per record, minimum 2) and the data provenance/staleness (indexed records, not live fetches). Auth requirements, rate limits, and error behavior remain unstated, which keeps it short of a 5 for a paid, metered search.

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 short sentences with zero filler: purpose and data nature first, cost constraint second, alternative endpoint last. Every sentence carries information an agent needs to decide whether and how to call it.

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?

An output schema exists, so return values need no explanation, and the input schema fully covers the 17 optional parameters. Combined with the cost note, the indexed-vs-live caveat, and the item-endpoint routing, an agent has everything required to invoke this correctly.

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%, so all 17 parameters are already fully documented in the schema, which sets the baseline at 3. The description adds only one parameter-level insight — that page_size drives cost — and does not explain how filters interact or how to combine q with sort, so it does not materially exceed 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 names a specific verb (Search) and a precisely scoped resource (the stored public X/Twitter user profile dataset), and immediately distinguishes it from live lookups: 'indexed user records, not live profile fetches'. It also points at the item endpoint for record-ID lookups, so an agent can tell it apart from siblings like datasets_x_users_item and x_profile 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 a clear routing rule: use the item endpoint when you already hold a record ID, and use this search otherwise, plus a cost-aware instruction to keep page_size minimal. It does not explicitly say when to prefer the facets or per-source (github/instagram) search variants, but the context needed to pick this tool is stated.

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.