Skip to main content
Glama

Analyze Playlist Flow

am_analyze_flow
Read-onlyIdempotent

Analyze a playlist's flow using audio features like BPM, key, loudness, and mood to detect weak transitions and arc issues.

Instructions

Read-only diagnosis of BPM, key, loudness, energy, mood, adjacent transitions, and overall arc. It may fetch and cache remote feature data; use am_optimize_order only when a proposed replacement order is wanted. / 中文:歌单「好听度」体检(音频特征层):抓取每首的 BPM/调性/响度/能量/情绪值(经 ISRC→ReccoBeats,首次会慢,之后走缓存),然后检查四项相邻衔接(两首慢歌相邻 / 「只慢一点」/ tempo 与 key 同时相似 / 能量骤变)和整体弧线形状(Man in a hole、Icarus、Tragedy 等)。只读但会联网抓数据,可能耗时较久。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refreshNo忽略特征缓存重新抓取,默认 false
playlistYes歌单名或 p.xxxx ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations, the description explicitly discloses that the tool may fetch and cache remote feature data, that the first call is slow due to ISRC→ReccoBeats lookup, and that later calls use cache. This adds real behavioral context about side effects, latency, and network usage that annotations alone do not provide.

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?

The English portion is tightly front-loaded and scoped, and the Chinese section adds valuable specifics about transition checks and arc shapes. The bilingual duplication makes it longer than strictly necessary, but each half still carries useful detail.

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 moderately complex analysis tool with no output schema, the description covers what is analyzed, the data source, caching behavior, latency, and the key sibling distinction. It does not explicitly describe the return shape, but the named diagnostic dimensions give a strong inference of what the result will contain.

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%, so the schema already documents playlist and refresh. The description's cache discussion aligns with the refresh parameter but does not add new parameter-level semantics beyond what the schema states; therefore the baseline 3 is appropriate.

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 opens with a specific verb-resource pair ('Read-only diagnosis of BPM, key, loudness, energy, mood, adjacent transitions, and overall arc') and names the exact analysis scope. It also explicitly distinguishes itself from am_optimize_order, so an agent can tell this is an analysis tool, not a reordering tool.

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 clearly says to use am_optimize_order only when a proposed replacement order is wanted, which routes the agent away from the closest sibling. It also conveys the read-only nature and the potentially long runtime, but it does not enumerate exclusions for other siblings such as am_audit_playlist or am_show_playlist.

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