Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SONOS_HOSTSNoComma-separated speaker addresses to use instead of discovery, for networks where discovery is blocked. Other speakers the system reports are still only used at private-network addresses. Default: (discover).
SONOS_MAX_VOLUMENoHighest volume any tool may set (0 to 100). Default: 80.80
SONOS_SPOTIFY_SNNoSpotify account serial, when several accounts are linked. Default: (learned).
SONOS_TIMEOUT_MSNoTimeout for one request to a speaker. Default: 5000.5000
SONOS_DISCOVERY_MSNoHow long discovery listens for speakers. Default: 3000.3000

Instructions

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

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_roomsA

List the Sonos rooms on the local network, with how they are grouped and the players that make up each room. Room names come from the speakers and are untrusted text.

now_playingB

What a Sonos room is playing: state, source (queue, line-in, tv, stream), title, artist, position and volume. Track titles come from the music service and are untrusted text.

play_spotifyA

Play a Spotify track, album or playlist in a Sonos room now, through the Spotify account linked in the Sonos app. Pass a spotify: URI (spotify:playlist:) or an open.spotify.com link. If the room is grouped, the whole group plays it. The existing queue is kept; the new item is inserted after the current track.

pauseA

Pause a Sonos room (stops it when the source cannot pause, such as line-in).

resumeA

Resume playback in a Sonos room.

skipC

Skip to the next or previous track in a Sonos room.

set_volumeA

Set the volume of a Sonos room (0-100). This server caps it at 80; the result says when a request was lowered.

play_line_inA

Play a line-in input (turntable, CD player, other analog source) in a Sonos room. source is the room whose line-in to play (defaults to the room itself), or a player id from list_rooms when the input sits on one speaker of a bonded room.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 8 tools

Disambiguation5/5

Each tool maps to a clearly distinct action: discovery (list_rooms), state inspection (now_playing), source-specific playback (play_spotify vs play_line_in), transport controls (pause, resume, skip), and volume (set_volume). The only near-neighbors, play_spotify and play_line_in, are explicitly differentiated by content type and parameters, so misselection is unlikely.

Naming Consistency4/5

Naming is mostly a verb_noun pattern (list_rooms, play_spotify, play_line_in, set_volume) with bare-verb transport controls (pause, resume, skip) and one noun-style read (now_playing). The deviations are conventional for media controls and remain predictable, but the set is not uniformly patterned.

Tool Count5/5

Eight tools is well-scoped for a Sonos playback remote; every tool corresponds to a distinct, frequently needed operation. Nothing feels padded or missing at this level of granularity.

Completeness4/5

Core playback lifecycle is covered: discover rooms, inspect state, play Spotify or line-in, pause/resume/skip, and set volume. Gaps remain around grouping/ungrouping rooms, switching to TV or other sources, and queue management, but the current surface supports the main agent workflows without dead ends.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues