Skip to main content
Glama

merge_snapshot_changes_plan

Replay changes between two playlist snapshots onto the live playlist by planning to add new tracks and remove lost ones, ensuring the playlist matches the newer snapshot.

Instructions

Read-only plan to replay the changes between two snapshots onto the live playlist (add new and/or remove lost tracks) 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
modeNoWhich changes to include (default both)
playlistNoLive playlist to change (default: the snapshots’ playlist_id)
to_snapshotYesNewer snapshot — the target state
from_snapshotYesOlder snapshot — the baseline the playlist is assumed to match
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

A3.6/5.0
Behavior3/5

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

With no annotations provided, the description adequately discloses the key behavioral trait: the tool is read-only and does not mutate the playlist. It also clarifies the conceptual behavior of replaying new/lost tracks. However, it does not describe what the plan output looks like, whether further confirmation is needed, or any edge cases such as mismatched snapshot playlists.

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 sentence is crisp and front-loaded with purpose. The appended snapshot guide is somewhat dense and listing-heavy, but it is a useful orientation aid rather than low-value filler.

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 definition gives enough basic context for the tool's role and related tools, but since there is no output schema and no annotations, the description should say more about what the returned 'plan' contains and how it maps to application. The response_format parameter hints at output shape, but the behavior of the plan is not fully specified.

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 schema already documents all five parameters clearly. The description adds contextual framing by mentioning 'add new and/or remove lost tracks', but it does not add substantive parameter-level meaning beyond what the schema 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?

Description states a precise action: produce a read-only plan that replays add/remove changes between two snapshots onto a live playlist. It unambiguously distinguishes itself from applying changes and from the restore/snapshot family in the tool guide.

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 gives context by labeling the tool as 'read-only plan' and listing related snapshot tools, which implies when it might be used. However, it never explicitly states when to choose this over restore_playlist_plan or apply_snapshot_changes, nor does it give exclusion criteria or a direct alternative-selection rule.

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