Skip to main content
Glama

Audit Playlist Metadata

am_audit_playlist
Read-onlyIdempotent

Audit playlist metadata to check length, artist concentration, genres, eras, duplicates, and short interludes, helping you verify whether a playlist meets curation standards.

Instructions

Read-only metadata audit of playlist length, artist concentration, genres, eras, duplicates, and possible interludes. For BPM, key, energy, and transitions, use am_analyze_flow. / 中文:歌单结构化体检(元数据层):曲目数、总时长、艺人集中度(同一艺人是否超过 2 首)、流派分布、年代分布、时长分布、重复曲目、<2:00 的疑似间奏。只读,用于判断歌单是否符合策展规范(长度 20–30 首最佳、单一主题等)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
playlistYes歌单名或 p.xxxx ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds value by specifying the exact audit scope and curation norms (e.g., 20–30 tracks best, same-artist threshold, suspected interludes under 2:00). It reinforces the read-only nature without contradicting the annotations.

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 front-loaded and concise, with the alternative routing in the second sentence. The Chinese section repeats some content but also adds unique details such as duration distribution, the same-artist threshold, and the 20–30 track curation guideline, so it is not pure redundancy.

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 single-parameter, read-only audit tool with strong annotations, the description is nearly complete: it tells the agent what is audited, what standards are applied, and when to use a different tool. The lack of an output schema means the return format is unspecified, but the listed audit dimensions give enough context for correct invocation and interpretation.

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% and the single 'playlist' parameter is already described as '歌单名或 p.xxxx ID'. The tool description adds no additional parameter-level semantics, so the baseline of 3 applies because the schema carries the full burden.

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 names a specific verb ('audit') and resource ('playlist metadata') and enumerates concrete audit dimensions: length, artist concentration, genres, eras, duplicates, and possible interludes. It also explicitly distinguishes the tool from the sibling am_analyze_flow by routing BPM, key, energy, and transitions elsewhere, so an agent can disambiguate without opening schemas.

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?

The description clearly states when to use this tool: for metadata-layer playlist audits and curation-rule checks. It also names the alternative: 'For BPM, key, energy, and transitions, use am_analyze_flow.' This is explicit routing guidance with a condition, matching the high standard of the calibration example.

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