Skip to main content
Glama

Get following

get_following
Read-onlyIdempotent

Get accounts a user follows. Paginated.

Input Schema

NameRequiredDescriptionDefault
countNoHow many users to request per page (default 20). X may return slightly more or fewer.
cursorNoPagination cursor. Leave empty for the first page; pass the next_cursor from a previous result to get the next page.
formatNoResponse format (default simple). simple: compact JSON with flat camelCase tweets and users, about 60% fewer tokens. raw: X's full GraphQL JSON, only needed for fields simple leaves out (cards, polls, edit history, community notes).
userIdNoNumeric X user ID (rest_id). Provide this or username. Using the ID is faster.
usernameNoX handle, used when you do not have the user ID. Provide this or userId.
max_charsNoMaximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnly, idempotent, non-destructive, openWorld, so the safety profile is fully covered. The only added trait is "Paginated", which merely restates what the cursor/count schema fields already document in detail, so the description contributes almost no behavioral context of its own.

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?

Two short sentences, front-loaded with the resource and scope, with no filler. It is arguably too sparse rather than bloated, but there is zero wasted text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter tool there is no output schema, yet the description never mentions the simple/raw format choice, the max_chars truncation behavior, or that either userId or username must be supplied. The schema covers all of this, so the definition is workable but thin for the tool's complexity.

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% and each of the six parameters carries a substantive description (defaults, truncation marker, simple vs raw format trade-offs). The description adds nothing beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Get accounts a user follows") and the directionality implicitly distinguishes it from the sibling get_followers. However it never names that sibling or any other alternative, so sibling disambiguation is left to inference.

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

Usage Guidelines2/5

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

No when-to-use guidance, no alternatives, no prerequisites stated. "Paginated" hints at context but the description never says when to prefer this over get_followers or get_verified_followers, nor mentions the userId-vs-username choice that the schema requires the caller to make.

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.