Skip to main content
Glama

snapshot_integrity_check

Validate Spotify playlist snapshots by checking JSON structure, required _meta keys, and track_count consistency with the tracks array; run on a single snapshot or all saved snapshots.

Instructions

Validate one snapshot (or all of them): JSON parses, required _meta keys exist, and the declared track_count matches the tracks array Snapshot guide: take_playlist_snapshot (create), list_saved_snapshots (list), read_playlist_snapshot (read), diff_playlist_snapshots / snapshot_new_tracks / snapshot_removed_tracks (diff), restore_playlist_from_snapshot / restore_playlist_plan (restore).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
snapshotNoOne snapshot (id/filename/path); omit to check ALL snapshots
response_formatNo'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API objectconcise

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.26.1

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the behavioral burden. It does disclose the exact validation semantics (JSON parsing, _meta key presence, track_count matching), which is substantive. But it does not state whether the check mutates anything, what happens when validation fails, or what the return shape is.

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 core behavior is front-loaded and compact. The appended 'Snapshot guide' is slightly run-on and not strictly necessary, but it is short and genuinely useful for navigating the large sibling toolset.

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?

Reasonable for a simple read-only validation tool, but with no annotations and no output schema the description leaves return value, failure behavior, and side-effect status implied. The snapshot tool guide helps, but it does not fully substitute for explicit guidance.

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 coverage is 100%, and both parameters already have descriptions in the schema. The tool description reinforces that snapshot can be one or all and clarifies the validation focus, but it adds little meaning beyond what the schema already provides.

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

Purpose4/5

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

Describes a specific validation action ('Validate one snapshot (or all of them)') with concrete checks: JSON parses, required _meta keys exist, and track_count matches the tracks array. It is clearly distinct from create/list/read/diff/restore tools, though it does not explicitly distinguish itself from the sibling snapshot_integrity_report.

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 by 'Validate...' and the embedded snapshot guide that maps create/list/read/diff/restore actions to their tools. However, it never states when to prefer this tool over snapshot_integrity_report or other validation/report siblings, and gives no exclusion criteria.

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