Skip to main content
Glama
alarok
by alarok

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CT0YesThe ct0 cookie from that same logged-in session
AUTH_TOKENYesThe auth_token cookie from a logged-in x.com session

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
post_tweetA

Publish a new tweet from the authenticated account. Returns the URL of the created tweet. Use reply_to to reply to an existing tweet id.

quote_tweetA

Quote-tweet: publish text quoting another tweet. Pass the quoted tweet's url or bare id. Returns the new tweet URL.

delete_tweetA

Delete a tweet owned by the authenticated account, by tweet id.

like_tweetC

Like a tweet by id.

unlike_tweetB

Remove a like from a tweet by id.

retweetC

Retweet a tweet by id.

unretweetA

Undo a retweet by tweet id.

bookmarkB

Save a tweet to bookmarks by id.

unbookmarkA

Remove a tweet from bookmarks by id.

follow_userA

Follow a user by numeric id (resolve a @handle with get_user first).

unfollow_userB

Unfollow a user by numeric id.

search_tweetsA

Search X for tweets. product picks the tab: Top (default), Latest (chronological), People, or Media. Returns id, text, author, likes, url.

get_userA

Look up a user profile by @username. Returns the raw user object (rest_id, legacy profile fields, counts).

get_user_tweetsA

Get recent tweets from a user. Give either a numeric user id, or use get_user first to resolve a @username to an id.

get_likesB

Get the tweets a user has liked, by their numeric user id.

get_followersA

List a user's followers (numeric user id). Returns id, username, name, counts.

get_followingB

List the accounts a user follows (numeric user id).

get_tweetB

Fetch a single tweet with its reply thread by tweet id (raw TweetDetail response).

get_threadA

Get a tweet's engagement and replies in a clean shape: { root: {likes, replies, retweets, views, text}, replies: [{author, text, likes}] }. Use this to check likes on a tweet or read the replies people left.

home_timelineC

Get the authenticated account's For You home timeline.

send_dmA

Send a direct message to a user by their numeric id (resolve a @handle with get_user first). Your own id is auto-resolved.

get_dm_inboxA

Fetch the direct-message inbox: conversations and their most recent messages.

get_notificationsB

Get recent notifications (likes, follows, mentions, replies) for the account.

get_mentionsA

Get tweets that mention the authenticated account.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alarok/x-agent-sdk'

If you have feedback or need assistance with the MCP directory API, please join our Discord server