Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SC_GO_PLUSNoSet to `1` to declare that you have SoundCloud Go+, enabling full playback of Go+ preview tracks (`SC_GO_PLUS=1`).
SC_CLIENT_IDNoProvide the SoundCloud app Client ID through the environment instead of the system secret store (handy in CI).
SC_REDIRECT_URINoOverride the redirect URI, e.g. `http://localhost:8976/callback` if SoundCloud rejects the default `http://127.0.0.1:8976/callback`.
SC_SECRET_STORENoOptional setting. Set to `file` for Linux machines without a keyring; stores the secrets unencrypted in `~/.config/soundcrate/credentials.json`. Use only if there is no alternative.
SC_CLIENT_SECRETNoProvide the SoundCloud app Client Secret through the environment instead of the system secret store (handy in CI).
SC_SECRET_SERVICENoUse a different secret storage name, for example to use two accounts.

Instructions

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

If the user is new to SoundCrate or a tool says it is not set up, call setup_status and guide them step by step; start_setup opens a local page where they enter their credentials, so never ask for secrets in the chat. If the user has Go+, setup_status says how to declare it for their install: extension and plugin have a switch in their settings, so do not tell them to edit config files. Each track has 'listen': full = plays in full for anyone; go_plus = snippet without a subscription, full with Go+; go_plus_probable = label catalogue the API won't stream off SoundCloud, usually full with Go+ on SoundCloud (no regional guarantee); restricted = blocked, no label or ISRC (rights, region or uploader): may not play even with Go+. All can be added to playlists. The API does not report whether the user has Go+. The user has not declared Go+ (SC_GO_PLUS): only 'full' plays in full; go_plus plays a snippet.

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
setup_statusA

Check whether SoundCrate is ready on this computer and, if not, get the exact next steps. Call it when the user is new to SoundCrate, asks how to set it up, or when any tool fails with a setup error. Then guide the user one step at a time, in plain language and in their language, and offer to run start_setup for them. Never ask the user to paste the Client Secret into the chat: start_setup opens a local page where they type it.

start_setupA

Open SoundCrate's local setup page in the user's browser (served only on 127.0.0.1). There the user follows the steps to register a SoundCloud app, types its Client ID and Client Secret, and connects their account; the secrets go straight to the system's secure storage and never pass through the chat. Returns the URL in case the browser does not open. When the user says they are done, call setup_status to confirm.

search_tracksA

Search tracks by text and/or filters (genres, tags, BPM, duration, upload date). Returns id, title, user, BPM, key, Camelot, genre, label, release date, plays, likes, access and listen. Each track has 'listen': full = plays in full for anyone; go_plus = snippet without a subscription, full with Go+; go_plus_probable = label catalogue the API won't stream off SoundCloud, usually full with Go+ on SoundCloud (no regional guarantee); restricted = blocked, no label or ISRC (rights, region or uploader): may not play even with Go+. All can be added to playlists. The API does not report whether the user has Go+. only_listenable=true keeps full and, with Go+ declared, go_plus and go_plus_probable (likely, not guaranteed; to be sure use listen full or go_plus). Tracks without bpm are dropped when filtering by BPM. For the next page, pass next_cursor as cursor. The user has not declared Go+ (SC_GO_PLUS): only 'full' plays in full; go_plus plays a snippet.

get_trackB

Get one track by id or soundcloud.com URL.

get_related_tracksB

Tracks related to a track (SoundCloud's recommendations). Useful to grow a playlist from seed tracks. exclude_playlist_id removes tracks already in that playlist.

get_my_tracksA

Tracks from the user's account to inspire playlists. source: likes (liked tracks), recently_played (last 25 plays), feed (uploads and reposts from followed users), followings (recent uploads from followed users), reposts (the user's reposts).

search_usersB

Search artists, labels or DJs. Returns id, name, location, followers and track count.

get_related_artistsC

Artists similar to a given one, according to SoundCloud.

get_user_contentB

Content from an artist, label or DJ. kind: tracks (their uploads), likes, reposts or playlists. Useful for digging through what reference DJs play.

search_playlistsA

Search PUBLIC playlists from any SoundCloud user (without tracks); it does not find the user's private playlists, use get_my_playlists for those. Then get_playlist returns their tracks.

get_stationA

A SoundCloud station (system playlist) with its tracks. Ids come from get_my_playlists(kind=stations), e.g. soundcloud:system-playlists:track-stations:123.

whoamiA

Check the session: user, plan and subscriptions SoundCloud reports for the account, and whether Go+ is declared. force_refresh=true gets a new token first.

get_my_playlistsA

The user's playlists, including private ones, without tracks. kind: own (default), liked (liked playlists) or stations (liked stations; open them with get_station). query filters by title (case- and accent-insensitive). Use this to find one of the user's playlists by name.

get_playlistA

A playlist with its tracks, the user's own or another user's public one. By id or soundcloud.com URL. Returns up to 'limit' tracks (default 100, max 200) starting at 'offset', each with its 1-based 'position', plus total and next_offset (null when there are no more); pass next_offset as offset for the next page. compact=true returns only position, id, title, user, bpm, camelot and listen per track (about a third of the size). Big playlists are expensive to read: for duplicates, BPM jumps or key clashes use analyze_playlist, and to reorder use update_playlist with sort_by; neither needs the whole list.

create_playlistA

Create a playlist. It is PRIVATE unless public=true. Entries of track_ids that are not track ids are skipped and listed in ignored_ids.

add_tracks_to_playlistA

Append tracks to the end of a playlist without removing existing ones (duplicates are ignored; entries that are not track ids are listed in ignored_ids).

remove_tracks_from_playlistA

Remove one or more tracks from a playlist in a single write. Keeps the order of the rest. If a track appears more than once in the playlist, nothing is changed unless all_copies is true (then every copy is removed); to remove a single copy use remove_track_from_playlist with position.

remove_track_from_playlistA

Remove one track from a playlist. For several, use remove_tracks_from_playlist. If the track appears more than once, nothing is changed unless you pass position (1-based, removes only that copy) or all_copies true (removes every copy); they cannot be combined.

replace_track_in_playlistA

Replace a track with another at the same position (e.g. a user upload with the official release). The first copy of old_track_id is replaced; any other copy of old_track_id, and any existing copy of new_track_id elsewhere, is removed so the playlist keeps one copy of the new track (they are listed in removed_elsewhere). If SoundCloud does not accept the new track, the previous list is restored and an error is returned.

suggest_tracksA

From 1 to 5 seed tracks, gathers their SoundCloud related tracks, removes duplicates, the seeds and anything already in exclude_playlist_id, applies BPM, duration and genre filters, and ranks by how many seeds suggest each track, with a bonus when it mixes harmonically with a seed. Returns candidates only: it writes nothing. The user has not declared Go+ (SC_GO_PLUS): only 'full' plays in full; go_plus plays a snippet.

find_official_versionA

For a track (especially a user upload), finds candidates for its official release: same title and artist, label, or same ISRC. Scores each one and explains why. Suggestions only: to swap it in a playlist use replace_track_in_playlist.

analyze_playlistB

Summary of a playlist for planning: total duration, BPM (min, median, max), Camelot keys, genres, years, duplicate tracks, BPM jumps above 6 and harmonic clashes between consecutive tracks, plus counts by access and listen. Read-only.

update_playlistA

Change a playlist's title, description, genre or tags and/or reorder its tracks: sort_by (bpm, camelot, duration or released, with direction asc/desc; camelot goes number by number and, inside a number that has both letters, starts with the letter that mixes with the previous track, so it leaves as few harmonic clashes as possible, and tracks without a key go last) or track_order with all its ids in the desired order. Never adds or removes tracks. Does not write if the API hides any track. If after writing it does not see the same set of tracks, it restores the previous order and reports it.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 23 tools

Disambiguation4/5

Most tools target distinct resources or actions (search_tracks vs get_track vs get_user_content vs get_my_tracks are clearly scoped), and the descriptions explicitly cross-reference the risky pairs. A few boundaries remain thin: remove_track_from_playlist vs remove_tracks_from_playlist differ only by cardinality, and get_related_tracks vs suggest_tracks overlap heavily in intent, though the descriptions do steer the agent correctly.

Naming Consistency4/5

The set is overwhelmingly consistent snake_case verb_noun (search_tracks, get_playlist, add_tracks_to_playlist, update_playlist, replace_track_in_playlist). The deviations are minor and few: whoami (no separator, verb phrase) and setup_status (noun phrase rather than verb_noun).

Tool Count4/5

23 tools is on the high side but the domain genuinely spans discovery, search, playlist CRUD, analysis, curation and local setup/auth. Each tool maps to a distinct workflow and none looks like dead weight, though the singular/plural removal pair could reasonably be collapsed.

Completeness3/5

Playlist lifecycle is strong on tracks (add, add-many, remove, replace, reorder, analyze) but the surface has no delete_playlist and no way to change playlist privacy after creation, both of which are common follow-ups to create_playlist. Track discovery, artist digging and setup flows are otherwise well covered.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues