Skip to main content
Glama

twitter_user_affiliates

Read-only

List affiliated accounts of a Twitter/X organization profile using a username or user_id. Returns profile data per affiliate plus a pagination cursor.

Instructions

List the affiliated accounts of an organization profile (the smaller accounts X displays under a company's 'Affiliated' badge, e.g. employees or sub-brands). Provide a username or user_id. Returns profile data per affiliate plus a pagination cursor. Returns empty for accounts with no affiliations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
teamNoOptional team/sub-group name to filter affiliates by, when the org exposes named teams.
countNoRequested page size, capped at 200. Advisory only for this endpoint: X's own search backend typically returns around 13 to 20 tweets per page regardless of the value requested here, an upstream limit, not something this API controls. To retrieve more results, page with the cursor from the previous response rather than raising this value.
cursorNoOpaque pagination cursor from a previous response's next_cursor field. Omit on the first call; pass on subsequent calls to fetch the next page.
user_idNoNumeric Twitter/X user id (e.g. "44196397"). Provide exactly one of username or user_id.
usernameNoTwitter/X handle WITHOUT the leading @ (e.g. "elonmusk", "openai"). Provide exactly one of username or user_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.9

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, openWorldHint=true, destructiveHint=false), so the bar is lower. The description adds substantive behavioral context beyond the annotations: the return shape ('profile data per affiliate plus a pagination cursor') and the empty-result behavior for unaffiliated accounts, which an agent needs to avoid misinterpreting an empty list as an error.

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, front-loaded with the core purpose, followed by the invocation requirement and the empty-case caveat. No filler or repetition.

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?

There is no output schema, so the description usefully covers the return shape (per-affiliate profile data and a pagination cursor) and the empty case. Combined with the rich input schema and annotations, an agent has enough to call it correctly; only the absence of guidance on sibling selection keeps it from a 5.

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 the schema already documents team, count, cursor, user_id, and username in detail — including the unusual advisory nature of count. The description only restates the username/user_id either-or requirement, adding little beyond the schema. 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 ('List the affiliated accounts of an organization profile') and immediately disambiguates with a concrete gloss of what affiliates are ('the smaller accounts X displays under a company's Affiliated badge, e.g. employees or sub-brands'). This clearly separates it from sibling follow/follower tools like twitter_user_followers and twitter_user_following.

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 the prerequisite for invocation ('Provide a username or user_id') and an important edge-case expectation ('Returns empty for accounts with no affiliations'). It does not explicitly contrast with the adjacent sibling tools (e.g. when to prefer this over user_following), so it falls short of a full when/when-not/alternatives statement.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools