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

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

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)
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden. It discloses the action ('Enable party mode') and return format, but lacks details on side effects (e.g., how it affects other devices, volume changes, duration), error conditions, or permissions needed. It adds some context about the return data but misses key behavioral traits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences: first states the action, second describes the return value. Zero waste, front-loaded with the core purpose, and efficiently structured for a parameterless tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations, no output schema, and 0 parameters, the description covers the basic action and return format adequately. However, for a mutation tool ('Enable') with potential side effects on a media device, it should ideally mention behavioral implications (e.g., volume changes, multi-device effects) to be fully complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0 parameters and 100% schema description coverage, the baseline is 4. The description appropriately doesn't discuss parameters, focusing instead on the action and return value, which is correct for a parameterless tool.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action ('Enable party mode') and target resource ('on the current Sonos device'), distinguishing it from sibling tools like 'mode' (general mode setting) or 'play' (playback control). It provides a complete verb+resource+scope statement.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like 'mode' (which might handle other modes) or other playback controls. It doesn't mention prerequisites (e.g., device must be on), exclusions, or contextual triggers for party mode activation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

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