Skip to main content
Glama

Batch Get User Info By UserIds

get_twitter_user_batch_info_by_ids
Read-onlyIdempotent

Resolve many X users at once from their numeric user IDs, passed as a comma-separated userIds string. Use this when a previous call (timeline, retweeters, followers) gave you IDs and you need to turn them into full profiles in one request instead of looping. Returns an array of user objects under users. Note this endpoint takes numeric IDs, not @handles — to look up by handle use get_twitter_user_info.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
userIdsYesComma-separated user IDs

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint false, covering the safety profile. The description adds value by specifying the return format (array of user objects under `users`) and the input format distinction (numeric IDs vs handles), which are not in the annotations.

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 compact sentences, front-loaded with purpose, then usage context, then a critical clarification. Every sentence earns its place with zero redundancy.

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?

For a single-parameter tool with an output schema and annotations covering safety, the description fully covers what an agent needs: how to format the input, what the output looks like, and when to choose this tool over its sibling. Nothing essential is missing.

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?

The schema describes the parameter as 'Comma-separated user IDs', but the description adds critical semantic detail: it clarifies these are numeric IDs, not @handles, which is a common point of confusion. This goes beyond the schema description and justifies a higher score than the baseline 3.

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 (Resolve) and resource (many X users at once from numeric IDs), clearly distinguishing from get_twitter_user_info which looks up by handle. The purpose is unambiguous and actionable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly tells when to use: when a previous call gave IDs and you need full profiles in one request instead of looping. Also names the alternative (get_twitter_user_info) for handle lookups, providing a clear routing decision.

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.

Resources