Skip to main content
Glama

Kindle Music

曲目剪辑版本 / Cutdown versions of a track

km_track_versions

列出同一首曲子的全部剪辑版本(Full Length / 60 Sec / 30 Sec / 20 Sec / 15 Sec 等)。 Lists every cutdown version of one track (Full Length / 60 Sec / 30 Sec / 20 Sec / 15 Sec …).

⚠️ km_search 只索引主曲(Solr 里 track_is_main=Y),剪辑版拿不到,只能靠本工具取。 km_search only indexes main tracks; the shorter cutdowns are invisible to it and can ONLY be fetched here.

何时用 / When: 广告、TVC、预告片这类有硬性时长的项目,交付候选之前对每首都查一次—— 有现成的 60s/30s/15s 版本,客户就不必自己剪;没有就要在交付说明里讲清楚需要自行剪辑。

入参 / Args: albumCode = 曲目的 album_code;trackNumber = 主曲的 track_number(都取自 km_search 返回的曲目对象)。 libraryType 可选:原样透传 km_search 里那首曲子的 library_type,用来判定 web_url 的 essential / premium 段(本端点自身不返回该字段)。

返回 / Returns: { albumCode, trackNumber, total, versions[] },versions 按时长从长到短排,字段与 km_search 的曲目对象同构。 看 track_version(版本名)、track_duration(秒)、orginal_time(mm:ss)、track_mixout(如 Backing Vocals Only,即去人声版)。 注意:剪辑版只有版本名 / 时长 / mixout / 英文描述,track_bpm 与四维标签(mood/genre/instrumentation/tempo)只有主曲那行有——它们本来就是同一首曲子,按主曲的值理解即可。 专辑号或曲目号不存在时返回空 versions[],不报错。

返回的 track_url 仅供试听/临时分析,见 audioNotice。 Returned track_url values are for audition / temporary analysis only; see audioNotice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
albumCodeYesAlbum code as returned by km_search (field "album_code"), e.g. "NYB17".
libraryTypeNoPass through library_type from the km_search result so web_url gets the right tier.
trackNumberYestrack_number of the MAIN track, as returned by km_search.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does so well: it discloses that non-existent album/track numbers return an empty versions[] rather than an error, that cutdown rows lack track_bpm and the four dimension tags (inherited from the main track), that libraryType is not returned by this endpoint itself, and that track_url is audition-only. These are non-obvious behaviors an agent could not infer from the schema.

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 text is well front-loaded and organized with clear section markers (When / Args / Returns), and the critical constraint about km_search being blind to cutdowns appears early with a warning glyph. The cost is that every statement is duplicated in Chinese and English, roughly doubling length without adding information for a bilingual reader.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description fully documents the return shape ({ albumCode, trackNumber, total, versions[] }), the sort order (longest to shortest), the per-version fields to inspect (track_version, track_duration, orginal_time, track_mixout), and explicitly flags which fields are absent from cutdown rows. Nothing an agent needs to interpret the response is missing.

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 all three parameters are already documented in the schema, including the instruction to use the MAIN track's track_number. The description largely restates this, adding only the sourcing note that both required values come from the km_search track object, which is already implied by the schema. Baseline 3 is correct when the schema does the heavy lifting.

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 gives a specific verb+resource ('Lists every cutdown version of one track') and enumerates the concrete version set (Full Length / 60 Sec / 30 Sec / 20 Sec / 15 Sec), so the agent knows exactly what comes back. It also explicitly positions itself against the sibling km_search, stating that km_search only indexes main tracks and cutdowns can ONLY be fetched here.

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?

There is an explicit 'When' section: for ads, TVCs and trailers with hard duration requirements, query this for every track before delivering candidates, because an existing 60s/30s/15s version saves the client an edit. It names the alternative (km_search) and states the precise condition under which that alternative fails, leaving nothing to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources