Skip to main content
Glama
rcnsh

music-warehouse-mcp

by rcnsh

Top songs over a date range

top_tracks
Read-onlyIdempotent

Rank songs by play count for a chosen date range, folding editions of the same track together. Use it to answer "What were my top songs in July?"

Instructions

Play counts per song between two local dates (inclusive), most played first, with editions of a song (single, album, remaster) folded together. Use this for "my top songs in July" or "most played song last year". Defaults to the last 30 days. Ranges up to 3,660 days.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoLast day, YYYY-MM-DD; default today
fromNoFirst day, YYYY-MM-DD; default 29 days ago
limitNoDefault 20

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the read-only/idempotent profile, and the description adds real behavioral context beyond them: editions are collapsed together, results are sorted by play count, dates are local and inclusive, and the window defaults to 30 days with a 3,660-day cap. It doesn't describe pagination or what a truncated/empty result looks like, so it's not exhaustive.

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?

Four short sentences, front-loaded with what the tool returns and how it aggregates, followed by usage examples and constraints. Every sentence carries information; no filler.

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?

With no output schema, the description carries the return-value burden and does so reasonably by naming the unit (play counts per song) and ordering. It's complete enough to call correctly, though it could say more about result shape (e.g. fields returned) given no output schema exists.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds semantics the schema lacks: the dates are 'local' and 'inclusive', the default window is the last 30 days, and the maximum span is 3,660 days (the schema's limit field has no such range note). This is meaningful extra meaning on top of a fully documented 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?

States a specific verb+resource ('play counts per song'), the ordering ('most played first'), and the aggregation rule ('editions of a song ... folded together'). An agent can distinguish this from top_artists (artists) and track_history (per-track detail) without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete usage examples ('my top songs in July', 'most played song last year') plus the default window and max range, so the agent knows when this tool is the right fit. It never names an alternative to avoid (e.g. track_history or spotify_top), so it stops short of full when/when-not guidance.

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