Skip to main content
Glama

Label the library's moods

enrich_moods

Run a one-time pass to give every track mood attributes (energy, valence, intensity, vibe, time-of-day), enabling mood search across the entire library. Caches results permanently.

Instructions

Run (or check) the one-time pass that gives EVERY track a mood: energy, valence, intensity, acoustic-vs-electronic, feeling descriptors, which curated vibe it reads as, and what times of day it fits.

This is what makes mood search work across the whole library rather than only the tracks already on a playlist. The library's own metadata cannot support it — genres are a few dozen coarse buckets, and BPM/ReplayGain/MusicBrainz IDs are present on under 3% of files. Results are cached permanently, so this normally runs once and then only picks up newly-added music.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoOnly label this many tracks (useful for a cheap trial run). Omit for all.
status_onlyNoJust report coverage without starting a run.
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. It discloses the one-time permanent caching, the scope ('every track'), and the check-vs-run modes, plus why it cannot rely on existing metadata. However, it doesn't state the return format or authorization requirements, and the mutation is not explicitly flagged as a write, though 'cached permanently' implies persistent side effects.

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 paragraphs; the first states the core purpose and outputs, the second provides rationale and persistence behavior. Every sentence adds value, though the first sentence is long and packed with attributes, making it slightly dense.

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 tool with no output schema, the description explains the tool's role, prerequisites, caching, and the two modes (run/check), which covers the key behavior. It doesn't specify what a successful run returns (e.g., coverage counts), but the schema's status_only parameter hints at that.

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 coverage is 100%, so the schema already documents both parameters. The description reinforces the semantics by mentioning 'check' for status_only and 'trial run' for limit, but adds no new parameter-specific details beyond what the schema provides.

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 identifies the action ('Run (or check)') and the resource ('one-time pass that gives EVERY track a mood'), enumerating the specific mood attributes. It distinguishes from sibling tools by explaining it enables library-wide mood search, unlike playlist-scoped capabilities.

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?

It provides clear context on when to use: to enable mood search across the whole library, and explains why existing metadata is insufficient (genres are coarse, BPM/ReplayGain/MusicBrainz IDs under 3%). It doesn't explicitly name alternatives but implicitly differentiates from playlist-only operations and mentions the caching behavior for 'runs once'.

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/312-dev/navidrome-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server