Skip to main content
Glama

export_profile_state

Export local Spotify profile state (scenes, genre tags, playback extensions, search history, mutations, artist watchlist) into a single versioned JSON archive for backup or migration.

Instructions

Export local sidecar stores (scenes, genre-tags, playback-ext, search-history, mutations, artist-watchlist) to a single schema-versioned JSON archive. artist-watchlist is ~/.spotify-mcp/artist-watchlist.json; SPOTIFY_MCP_DATA_DIR overrides that directory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
output_dirNoDirectory to write the archive into, confined to the output root (default ~/.spotify-mcp/exports, set SPOTIFY_MCP_EXPORT_DIR to move it)
include_historyNoInclude mutation history JSONL (can be large)
response_formatNo'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API objectconcise

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.1.2
    • changedInput schema / properties / output_dir / description
      Previous value: -"Directory to write the archive into (default: ~/.spotify-mcp/exports)"New value: +"Directory to write the archive into, confined to the output root (default ~/.spotify-mcp/exports, set SPOTIFY_MCP_EXPORT_DIR to move it)"
  2. Changed2 schema fields changedv1.31.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • addedInput schema / additionalProperties
      Added value: +false
  3. Addedv1.26.1

TDQS

A3.8/5.0
Behavior3/5

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

Annotations only provide destructiveHint=false, so the description carries the burden of explaining behavior. It adds that the output is a single schema-versioned JSON archive and specifies the artist-watchlist location, which is useful. However, it does not disclose overwrite behavior, directory creation, or whether the operation has any side effects beyond writing the archive.

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 filler: the first states the core action and content scope, the second adds a useful file-path detail. Information is front-loaded and every sentence earns its place.

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?

Given the simple export operation, well-documented parameters, and clear content enumeration, the description is nearly complete for correct invocation. It does not describe the return value or file-naming behavior, but no output schema exists and the operation's intent is clear enough.

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 parameters (output_dir, include_history, response_format) are already fully documented. The description adds no parameter-level meaning beyond the schema, making the baseline 3 appropriate.

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 uses a specific verb and resource: 'export local sidecar stores' to 'a single schema-versioned JSON archive', and enumerates exactly which stores are included (scenes, genre-tags, playback-ext, search-history, mutations, artist-watchlist). This clearly distinguishes it from export siblings like export_library_json or export_listening_history without needing to open the schema.

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?

The description implies the tool is for backing up or migrating local profile/sidecar state, but it never explicitly states when to use this tool over alternatives. With several nearby export tools (sidecar_export_bundle, export_library_json, mutation_log_export), the lack of exclusion or alternative guidance leaves some ambiguity.

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

Deploy Server

Other Tools