Skip to main content
Glama

list_backups

Read-onlyIdempotent

Retrieve library backups sorted newest first, with automatic expiration of old snapshots, and get details on removed items and storage usage.

Instructions

List complete and partial library backups (newest first) using bounded metadata sidecar reads, with a bounded prefix fallback for legacy snapshots. Expires snapshots past SPOTIFY_MCP_BACKUP_RETENTION_DAYS (default 30, 0 disables) and reports what it removed, plus the store envelope (dir_bytes, oldest_created, oldest_retention_until).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
response_formatNo'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API objectconcise

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.31.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • addedInput schema / additionalProperties
      Added value: +false
  2. Addedv1.26.1

TDQS

B3.3/5.0
Behavior1/5

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

The description states 'Expires snapshots past SPOTIFY_MCP_BACKUP_RETENTION_DAYS' and 'reports what it removed', which is a mutating action. The annotations declare readOnlyHint=true, which claims the tool does not modify state. This is a direct contradiction. Per the rubric, score is 1 because the description contradicts annotations.

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

Conciseness4/5

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

The description is dense but efficient, with the core listing behavior front-loaded. It includes necessary operational details (sidecar reads, retention policy, output fields) without being verbose. Could be slightly tighter, but overall well-structured.

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?

The description covers the tool's main actions (list, expire, report removal) and specifies the output envelope fields. It does not describe the response_format effect beyond the schema, but that field is fully documented. The only weakness is the annotation contradiction, which creates ambiguity about safety, but the description itself is fairly complete.

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% for the single parameter (response_format). The description does not need to add parameter details, so the baseline of 3 applies. The schema already explains concise/detailed/json.

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 a specific verb and resource: 'List complete and partial library backups (newest first)'. It also lists secondary behavior (expiring old snapshots) which distinguishes it from similar tools like backup_library or delete_backup. It is unambiguous what this tool does.

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 usage for inspecting backups and cleaning expired ones, but it does not explicitly contrast with alternatives like delete_backup (which also deletes) or backup_library (which creates backups). When to choose this over a plain delete tool is left to inference, so guidance is only moderate.

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