Skip to main content
Glama

transfer_playback_with_state

Move Spotify playback to another device, preserving the exact track, position, shuffle, and repeat settings. Preview with dry_run; set dry_run=false to commit.

Instructions

Transfer playback to another device while restoring the full state: same track, position, shuffle and repeat. Preview by default — pass dry_run=false to execute the transfer.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
playNoStart playback after transferring. Default true
dry_runNoPreview only: perform the read side and return a PLAN without changing anything. Default true — pass false to commit.
target_deviceYesTarget device id or name substring
response_formatNo'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API objectconcise
Behavior3/5

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

With no annotations, the description carries the behavioral burden and does disclose the important preview-by-default behavior: pass dry_run=false to execute. However, it does not describe side effects such as what happens to the current device, whether playback must be active, or what the preview plan contains. The dry_run detail is also largely restated in the schema, so the added value here is moderate.

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 with no wasted words. The purpose and state-restoration claim come first, followed immediately by the critical execution instruction about dry_run. This is a model of concision and front-loading.

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

Completeness4/5

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

For a tool with only four simple parameters and no nested objects, the description is complete enough for correct selection and invocation: it explains what the tool does, when it is relevant, and how to execute versus preview. The lack of explicit return-value information is partially mitigated by the response_format parameter and the schema's dry_run description.

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 minimal parameter insight beyond restating the dry_run default and the state-restoration intent; it does not clarify the response_format choices or the matching rules for target_device beyond what the schema already provides.

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 names a specific action (transfer playback), a specific resource (another device), and the key differentiator: full state restoration including track, position, shuffle, and repeat. This clearly distinguishes it from the sibling transfer_playback, which presumably does not restore state.

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

Usage Guidelines4/5

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

The phrase 'while restoring the full state' establishes the intended use case: use this tool when playback state must be preserved across device transfer. It does not explicitly name simpler alternatives like transfer_playback or switch_device, but the context is clear enough for an agent to select it appropriately.

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