Skip to main content
Glama

Kindle Music

曲库筛选词表 / Faceted vocabulary

km_vocabulary

列出曲库全部可用的筛选值(流派/情绪/乐器/速度/适用场景/厂牌)。 Lists every filterable facet value in the catalog (genre, mood, instrumentation, tempo, music-for, label).

何时用 / When: 在 km_search 里使用任何 include*/exclude* 筛选之前,先用本工具确认取值。 Call this BEFORE using any include*/exclude* filter in km_search.

入参 / Args: field(可选,facet 字段名子串,如 "genre"/"mood"/"library");query(可选,对取值与中文名做不区分大小写的子串过滤,中文也能查,如 query="悲伤")。

返回 / Returns: 每个 facet 字段的 { param, values },values 里每项是 { value, labelZh, count }。param 就是 km_search 里该字段对应的入参名。 顶层另有 labels[]:320 个厂牌的 { library_name, library_type, company, album_count, track_count },可用来判断某个厂牌值不值得单独收窄。 ⚠️ value 必须原样回填到 km_search,不要翻译、改大小写或去掉 "Parent;Leaf" 里的分号;改动过的值一律匹配不上。labelZh 只供你把中文 brief 映射到 canonical 值,不要回填。 count 用来防过度收窄:候选值 count < 200 时考虑放宽或换父级(例:sad 有 8.6 万首,而叶子 sad;breakup 只有 38 首,直接用叶子会把结果掐死)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fieldNoSubstring of a facet field name, e.g. "genre", "mood", "instrumentation", "library".
queryNoCase-insensitive substring filter applied to the facet values and their Chinese labels.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it warns that values must be replayed verbatim (no translation, case changes, or dropping the ';' in 'Parent;Leaf'), that labelZh is display-only, and that count should be used to avoid over-narrowing. It does not state read-only/side-effect status or any auth requirement, so it falls just short of complete.

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?

Purpose, usage, args, and returns are front-loaded and clearly sectioned, and every sentence carries content. It is, however, fully duplicated across Chinese and English, which doubles the length for any single 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?

There is no output schema, so the description must explain the return shape, and it does so precisely: per-facet { param, values } with { value, labelZh, count } items, plus a top-level labels[] describing 320 libraries. An agent has everything needed to call and interpret it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: it clarifies that 'field' matches a facet name substring and that 'query' filters against values and their Chinese labels, with a concrete non-Latin example (query="悲伤") that the schema does not provide.

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 ('列出曲库全部可用的筛选值 / Lists every filterable facet value in the catalog') and enumerates the facet domains covered. It is clearly distinguishable from km_search, which it explicitly references as the consumer of these values.

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?

Gives an explicit precondition: 'Call this BEFORE using any include*/exclude* filter in km_search.' It names the sibling tool and the exact condition that should trigger this call, 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