Skip to main content
Glama

playlist_staleness_score

Check how stale a playlist is by scoring days since tracks were added, then grade it from fresh to fossil and get refresh suggestions.

Instructions

Local staleness check: days since the most-recent / median added_at in a playlist, a fresh/aging/stale/fossil grade, and refresh suggestions. Read-only. Quota: 🟢 1–2 GETs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
marketNoISO 3166-1 alpha-2 market for availability
dry_runNoPreview only: validate inputs and describe exactly what would change without performing it
max_resultsNoMax items to return (default: SPOTIFY_MCP_MAX_ITEMS env or 50)
playlist_idYesPlaylist to score (ID or spotify:playlist: URI)
threshold_daysNoDays over which a playlist counts as stale. Default 90
response_formatNo'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API objectconcise
Behavior4/5

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

No annotations are provided, so the description carries the full burden, and it delivers: 'Read-only' and 'Quota: 🟢 1–2 GETs' explicitly disclose the safety profile and API cost, the key behavioral facts an agent needs before invoking. It does not, however, disclose whether the check scans the entire playlist or a capped subset (max_results hints at a limit), nor edge-case behavior on empty playlists.

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 compact, front-loaded sentences: core purpose and outputs first, then safety and cost. Every clause earns its place, and the 🟢 emoji compactly conveys low cost with zero 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?

For a six-parameter tool with no output schema and no annotations, the description covers purpose, safety, quota, and names the key output concepts (grade, refresh suggestions). Missing are an explicit return-shape hint, a clear single- vs multi-playlist distinction from playlist_staleness_report, and edge-case expectations for empty or very large playlists.

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 all six parameters are already documented; baseline 3 applies. The description adds modest context by grounding threshold_days in the fresh/aging/stale/fossil taxonomy and clarifying which added_at statistic is used (most-recent / median), but adds no syntax or default details beyond the schema.

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 states a specific verb and resource ('Local staleness check') and enumerates exact computed outputs: days since most-recent/median added_at, a four-bucket fresh/aging/stale/fossil grade, and refresh suggestions. The 'Local' qualifier distinguishes it from the broader playlist_staleness_report sibling without needing to open either 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 'Local' qualifier and 'Read-only' tag imply a single-playlist, safe read operation, but no alternative tool is named and no when-to-use / when-not-to-use condition is given. With closely related siblings like playlist_staleness_report, playlist_health_check, and get_playlist_added_dates, the agent must infer routing.

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