Skip to main content
Glama
universal-social

universal-social

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
X_API_KEYNoX OAuth 1.0a user-context API key, required only when publishing live to X.
US_DB_PATHNoPath to the SQLite database file instead of the default ~/.universal-social/social.db.
US_DATA_DIRNoDirectory used to store the local SQLite data instead of the default ~/.universal-social.
US_X_PUBLISHNoSet to "live" to enable publishing to X. Publishing is off/dry-run by default.
X_API_SECRETNoX OAuth 1.0a user-context API secret, required only when publishing live to X.
X_ACCESS_TOKENNoX OAuth 1.0a user-context access token, required only when publishing live to X.
X_ACCESS_TOKEN_SECRETNoX OAuth 1.0a user-context access token secret, required only when publishing live to X.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Local, site-less social network ranked by the X algorithm. Read-only adapters pull posts in; the only public output is X, and only through queue_for_x -> approve_post. Never call approve_post without the account owner's explicit approval of that exact text.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
statusA

Show the database path, owner, pinned x-algorithm version, X publisher mode, and counts.

seed_demoA

Create the owner account, three demo users, follows and sample posts (local only). Safe to run twice.

create_userA

Create a local account (no sign-up, no password; it exists only in this local DB).

list_usersB

List local accounts.

list_adaptersC

List the network adapters (universal input layer), their status, and options.

ingestA

Pull public posts in from another network through a read-only adapter (bluesky or mastodon) and store them locally so they can be ranked. Never posts anywhere.

compose_postA

Write a native post (stored locally). Optionally also put it in the X approval queue; it is still not posted until approve_post.

followB

Follow an account (local or imported) so its posts are in-network.

unfollowC

Stop following an account.

muteB

Mute an account (its posts are filtered out).

likeB

Like a post (local signal only).

repostA

Repost inside universal-social (local only; use queue_for_x to share on X).

not_interestedA

Mark a post not interested (removes it and lowers that author).

mute_wordC

Hide posts containing a word or phrase.

threadB

Show a post and its replies.

rank_feedA

Rank the For You feed for a user with the X algorithm weights (pinned version unless "version" is given). Returns ranked posts with scores.

why_thisB

Explain why a post ranked where it did: source, each filter, every scoring head (prediction x weight), author-diversity and out-of-network multipliers, final rank.

algo_versionsB

List the x-algorithm ranking versions this app knows (one per upstream commit that changed a ranking parameter).

algo_changelogA

Changelog of every x-algorithm ranking-parameter change (old -> new), with plain-English notes from fitzyracing1/x-algorithm-changelog where available.

algo_compareA

Rank the same feed under two x-algorithm versions and show how each post moved (old weights vs new weights).

pin_versionB

Pin the x-algorithm version the feed ranks with ("latest" follows the newest synced version).

queue_for_xA

Add a post to the X approval queue. Your own posts go out as written; posts from other people/networks become an attributed quote with a link to the original. Nothing is posted until approve_post.

queue_changelogA

Queue an x-algorithm changelog entry as an X post (like @XAlgoChangelog). Still needs approve_post.

list_queueB

List X queue items, optionally by status (pending, approved, rejected, posted, failed).

approve_postA

Approve one queued item and publish it to X. Only call after the account owner explicitly approved this exact text. In dry-run mode (default) nothing is sent and the item stays approved; it is sent when approved again in live mode.

reject_postB

Reject a queued item so it can never be posted.

action_logB

Read the append-only, hash-chained action log (newest first) and verify the chain.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 27 tools

Disambiguation4/5

Most tools target a distinct resource+action: ranking (rank_feed, why_this, algo_compare), adapters (list_adapters, ingest), and the X queue (queue_for_x, approve_post, reject_post, list_queue) are cleanly separated. The main risk is compose_post vs queue_for_x vs repost vs queue_changelog, plus the mute/mute_word/not_interested cluster, but the descriptions explicitly disambiguate each of these.

Naming Consistency3/5

The dominant convention is verb_noun (create_user, list_users, rank_feed, pin_version, approve_post, reject_post, queue_for_x), with a coherent algo_* prefix family. However a substantial minority are bare nouns or unqualified verbs (status, thread, action_log, ingest, follow, mute, like, repost), and the list_ prefix is applied to only two of the four listing tools (list_users, list_adapters, list_queue yes, but algo_versions and status are not list_*).

Tool Count3/5

27 tools exceeds the comfortable range, though the server genuinely spans four sub-domains (local social graph, ingest adapters, X-algorithm ranking, X publishing queue). Several tools are narrow single-purpose probes (status, why_this, algo_versions, algo_changelog, action_log) that push the surface toward heavy without being obviously redundant.

Completeness3/5

The core lifecycle is covered—users, posts, follows, feed ranking, algorithm versioning, and a full queue lifecycle (queue, list, approve, reject)—but notable gaps remain. mute and mute_word have no unmute counterpart, and there is no delete/edit for users or posts, leaving several dead ends an agent cannot undo.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues