Skip to main content
Glama

Groundsocial

Search X accounts

x_search_users
Read-onlyIdempotent

X accounts matching a name, handle or keyword, paginated.

Accounts matching a name, handle or keyword, ranked as X’s People search ranks them, about 20 a page, paginated with after. Each has id, handle, name, bio, avatar, verification and protected; for follower counts call x_user_get on the ones you want.

Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.

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": {
      "q": "<q>"
    },
    "name": "x_search_users"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesName, handle or keyword.
afterNoCursor: the previous page's `meta.next_token`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, and the description adds real context beyond them: roughly 20 results per page, cursor chaining via after, the exact fields returned per account, public-data-only scope, and a cost model of 1 credit per call with automatic refund on failure plus cost_credits/credits_remaining in the response.

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?

Front-loaded with the core purpose, then behavior, then cost — a sensible ordering. The opening fragment largely restates the title and the second sentence repeats the matching basis, a small amount of redundancy, but nothing is padded or vague.

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?

With no output schema, the description compensates by enumerating the returned account fields and mentioning cost metadata, and it covers pagination, cost, and data-scope caveats. An agent has everything needed to call it correctly and interpret the response.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema does not: results are ranked as X's People search ranks them and arrive about 20 per page, which tells the agent how to chain the after cursor. It does not elaborate on q length limits or query syntax, so it is not a 5.

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?

Names a specific verb and resource (search X accounts) and states the matching basis (name, handle or keyword) plus pagination. It also distinguishes itself from x_user_get, which is named for follower counts, so an agent can separate the two without opening either 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 guidance: use this to find accounts by name/handle/keyword, then call x_user_get on the chosen accounts for follower counts. There is no explicit when-not-to-use or note about preferring direct lookup when the handle is already known, which keeps it just short of a 5.

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.