Skip to main content
Glama

mood_bucket_report

Segment recently played tracks into daypart and familiarity buckets to reveal listening-mood patterns: new discoveries vs familiar staples.

Instructions

Segment recently-played plays into daypart × familiarity buckets (fresh tracks vs staples from your top tracks, default medium_term) as a lightweight listening-mood proxy. Quota: GET /me/player/recently-played + 1× GET /me/top/tracks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_itemsNoMax recently-played items to walk (default 150; the API pages 50 per call).
time_rangeNoTop-tracks window defining "staple" music. Default: medium_termmedium_term
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?

With no annotations, the description carries the behavioral burden, and the quota disclosure ('GET /me/player/recently-played + 1× GET /me/top/tracks') is genuinely valuable operational transparency beyond annotations and schema, implicitly confirming read-only behavior since only GET endpoints are listed. It doesn't explicitly state non-mutation or edge-case behavior, but this is largely adequate for an analysis tool.

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 dense sentences with zero filler: the core action and output concept are front-loaded in the first sentence, and the quota note in the second adds operational value without redundancy.

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 concept is well explained, the quota is disclosed, and every parameter has a description, but with no output schema the description never specifies what the buckets contain or how dayparts are divided, and edge cases (empty recently-played history, sparse top tracks) are unaddressed. Adequate but with clear gaps for a tool that generates a custom report.

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% with meaningful text for all three parameters (max_items pagination behavior, time_range's role, response_format output modes), so the baseline 3 applies. The description reinforces time_range's semantics ('fresh tracks vs staples from your top tracks, default medium_term') but adds no parameter-level detail beyond what the schema already documents.

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 and resource ('Segment recently-played plays') plus a distinctive output concept ('daypart × familiarity buckets') and an interpretive purpose ('lightweight listening-mood proxy'). This makes it clearly distinguishable from raw retrieval siblings like get_recently_played and get_top_tracks, and from heavier analysis tools, without needing to open the 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 phrase 'lightweight listening-mood proxy' implies use for quick mood-oriented questions, and the quota note conveys operational cost, but there is no explicit when-to-use guidance, no when-not-to-use conditions, and no named alternatives among the many sibling report tools (e.g., listening_report, taste_shift_report, discovery_ratio). Usage is implied rather than stated.

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