AI agents call x_get_following to retrieve information from X without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
This tool retrieves a list of accounts that a user follows—a read-only query operation with no side effects, no data modification, and no irreversible actions. It has low severity because exposing following lists carries minimal security risk (this data is typically public on social platforms). Confidence is high due to consistent naming convention within the server's read-focused sibling tools.
From the tool's definition Tool name 'x_get_following' indicates retrieval of a user's following list. Sibling tools like 'x_get_followers', 'x_get_home_timeline', and 'x_get_tweet' are all read operations that retrieve data without modification.
Attacks that exploit this kind of access
x_get_following. It is categorised as a Read tool in the X MCP Server, which means it retrieves data without modifying state.
Register the X MCP server in PolicyLayer and add a rule for x_get_following: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches X. Nothing to install.
x_get_following is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the x_get_following rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for x_get_following. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
x_get_following is provided by the X MCP server (mindmadelab/x-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →