Skip to main content
Glama

get_following

Returns the accounts an X/Twitter user follows, up to a 5000 limit, and reports truncation along with the profile's total following count so you know if results were cut short.

Instructions

Accounts a user follows, with a real limit (up to 5000).

Same truncation contract as get_followers: truncated tells you the walk stopped early, total_available is the profile's following count.

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": {
      "username": "<username>"
    },
    "name": "get_following"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
usernameYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.0.6
    • removedInput schema / properties / limit / description
      Removed value: -"Max users to return (default 20, max 100)."
    • removedInput schema / properties / username / description
      Removed value: -"The @handle (without the @)."
  2. First observedv1.0.3

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the disclosure burden. It does add real behavioral context—a hard cap of 5000 and the truncated/total_available truncation contract—but omits pagination approach, rate limits, and the fact that this is a read operation.

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 tight sentences, front-loaded with purpose before the truncation contract. The phrasing 'with a real limit' is slightly informal but nothing is wasted.

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 two-parameter read tool with an output schema covering return values, the definition is mostly adequate. It leaves the username parameter and any rate-limit or pagination behavior undocumented, which is a noticeable gap given zero annotation and zero schema description coverage.

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 0%, so the description must compensate. It gives 'limit' real meaning by clarifying it is honored up to 5000, which the bare integer schema does not convey; 'username' is left to inference, costing a point.

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+resource: accounts a user follows, plus the limit cap. It implicitly contrasts with get_followers by naming it, but does not explicitly frame itself as the counterpart, so it falls just short of full sibling differentiation.

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

Usage Guidelines3/5

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

Usage is implied by the resource ('following' vs 'followers'), and the description cross-references get_followers' truncation contract, but it never states when to choose this over that sibling or any prerequisites/auth needs.

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