Skip to main content
Glama

Get Recent Listening

am_recently_played
Read-onlyIdempotent

Get recent Apple Music listening or library additions by type: tracks, played albums/playlists, stations, or added content. Specify kind and limit up to 100. Note: play counts are not included.

Instructions

Read recent listening or recently added Apple Music content when recency matters. This API does not provide play counts; use am_top_played for Replay rankings. / 中文:查最近播放。kind=tracks 是最近播放的曲目;played 是最近播放的歌单/专辑;stations 是最近听的电台;added 是最近加入音乐库的内容。注意:Apple 的这个接口不返回播放次数

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNo默认 tracks
limitNo条数,默认 30

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 declare readOnly, idempotent, and non-destructive behavior. The description adds a non-obvious limitation—this endpoint does not return play counts—and frames the response as recency-based, which is useful beyond the structured annotations. It does not go into response shape or pagination, but that is not a critical gap for a read-only list endpoint.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The English and Chinese sections cover similar ground, including repeating the 'no play counts' caveat, which adds redundancy. The description is still relatively compact and front-loads the main purpose and limitation, but some sentences duplicate content.

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 read-only two-parameter list tool with complete schema coverage and strong annotations, the description covers the key context: when to use it, what each kind returns, and a critical limitation. It does not describe the output schema, but none exists, and the simple list-like nature of the tool makes the description sufficient for correct invocation.

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. The description adds meaning beyond the schema by explaining what each kind value represents semantically (e.g., played means recently played playlists/albums, stations means recently listened radio). The limit parameter is already fully specified by the schema's min/max/default, so no additional explanation is needed.

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 clearly states the tool reads recent listening or recently added Apple Music content, with a specific verb and resource. It also distinguishes itself from am_top_played by noting this API does not provide play counts.

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

Usage Guidelines5/5

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

It explicitly says to use this tool 'when recency matters' and directs users to am_top_played for Replay rankings when play counts are needed. The Chinese section further clarifies the intended use for each kind value, giving the agent concrete selection guidance.

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