Skip to main content
Glama

Most played

music_top
Read-onlyIdempotent

Retrieve the most played Apple Music library tracks by all-time play count and page through large result sets using a cursor.

Instructions

Most played library tracks by all time play count (Music keeps no per period counts). Large results come in parts (see paging and cursor).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "music_top"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax tracks.
cursorNoLeave out at first. When a result has paging.has_more, repeat the call with the same arguments plus cursor set to paging.cursor to get the next part.
open_if_closedNoOpen Music if it is not running (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered by structured data. The description adds genuine behavioral context beyond that: results are returned in parts for large sets and the caller must follow the paging/cursor loop, plus the notable domain constraint that no per-period counts exist. It does not describe ordering ties or how many tracks constitute a full part.

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?

Two short sentences, with the ranking scope front-loaded and the paging caveat second. Nothing is redundant, though the paging pointer is somewhat vague given the schema already explains the mechanics.

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?

For a three-parameter, no-required-argument read tool with full schema coverage and annotations, the description covers what the tool returns, that the count basis is all-time only, and that results may be paginated. The absence of an output schema is partly mitigated by the paging hint, though the shape of a track entry is never described.

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%, and the cursor parameter's schema already spells out the paging.has_more / paging.cursor loop in detail. The description only gestures at 'paging and cursor' without adding syntax or default semantics for limit, so the baseline of 3 is appropriate.

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?

The description names a specific resource and ordering: library tracks ranked by all-time play count. It also rules out a whole class of query with '(Music keeps no per period counts)', which tells an agent what the tool will not answer. It stops short of distinguishing itself by name from similarly-named siblings such as music_history_top, so an agent still has to reason about the pair.

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 rather than stated: use this for an all-time ranking, not a period-scoped one. There is no explicit routing to alternatives (music_history_top, music_played) and no prerequisites or exclusions beyond the parenthetical about period counts.

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