Skip to main content
Glama

partymode

Activate party mode on Sonos devices to control playback, adjust volume, and manage track information directly through the Sonos MCP Server, enhancing group listening experiences.

Instructions

Enable party mode on the current Sonos device.

Returns: Dict[str, Any]: The device's state after enabling party mode, including name, volume, state, and track info.

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "properties": {}, "title": "partymodeArguments", "type": "object" }

Implementation Reference

  • The partymode tool handler: enables party mode on the current Sonos device using device.partymode() and returns the updated device info. Registered via @mcp.tool() decorator.
    @mcp.tool() def partymode() -> Dict[str, Any]: """Enable party mode on the current Sonos device. Returns: Dict[str, Any]: The device's state after enabling party mode, including name, volume, state, and track info. """ device = get_device() device.partymode() return get_info_from(device)

Other Tools

Related Tools

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/WinstonFassett/sonos-mcp-server'

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