Skip to main content
Glama

restore_playback_state

Restore a saved playback snapshot to a device, recovering seek position, shuffle/repeat settings, and queue context.

Instructions

Restore a saved playback state snapshot (seeks, shuffle/repeat, queue context) to a device.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesSnapshot name
dry_runNoPreview only: validate inputs and describe exactly what would change without performing it
device_idNoTarget device id
response_formatNo'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API objectconcise
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It lists the state components restored, but does not disclose that current playback/queue state will be overwritten, whether an active or specific device is required, or what the response/reversibility situation is.

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?

The description is a single, front-loaded sentence with no filler. The parenthetical adds useful precision about what the snapshot contains, and every word contributes to the core meaning.

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?

The core operation and parameters are understandable given the full schema, but there is no output schema and no annotations. The definition lacks guidance about default device behavior, destructive side effects, and how to choose this over closely related restore/resume tools.

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

Parameters3/5

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

Schema description coverage is 100%, so the baseline is 3. The description adds no real parameter-level detail beyond what the schema already provides: 'name' maps to snapshot name, 'device' maps to device_id, but no syntax or additional semantics are supplied.

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 identifies a specific verb ('Restore'), a specific resource ('saved playback state snapshot'), and clarifies the scope with the parenthetical '(seeks, shuffle/repeat, queue context)'. This distinguishes it from library/playlist snapshot restore tools and other playback helpers.

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

Usage Guidelines3/5

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

Usage is implied rather than explicit: a saved snapshot must already exist and the action targets a device, so it likely follows save_playback_state or list_playback_states. However, it does not name alternative tools or state when not to use this instead of similar tools like resume_playback_position, continue_last, or transfer_playback_with_state.

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

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/NovaLux12/spotify-mcp-server'

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