Skip to main content
Glama

get_lyrics

Fetches song lyrics in LRC format by providing a norm_key or title plus artist, and saves them as a synchronized .lrc file either next to the audio or in the configured lyrics directory.

Instructions

获取歌词(LRC 优先)。传 norm_key 或 title+artist。 audio_dir 提供时写同名 .lrc;否则用 MUSIC_MCP_LYRICS_DIR 配置写 .lrc。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNo
artistNo
norm_keyNo
audio_dirNo
duration_msNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries full behavioral disclosure burden. It discloses the tool WRITES a .lrc file (a side effect beyond simply retrieving), explains the file location logic (audio_dir provided vs MUSIC_MCP_LYRICS_DIR config fallback). Notably the description reveals this is not purely a read operation—it persists to disk—which is valuable behavioral transparency absent from any annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two crisp sentences, zero filler. Every clause adds value: LRC preference, identification options, and write-location logic. Highly efficient and front-loaded with the core purpose.

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?

The tool mutates the filesystem (writes .lrc), has 5 parameters all undocumented in schema, and no annotations—yet the description conveys the essential write behavior, identification options, and output-location logic. It covers the core complexity well; minor gaps include what duration_ms affects (LRC timing?) and return value behavior, though an output schema exists to cover return structure.

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 0%, so the description bears full responsibility. It explains the meaning of norm_key and title+artist (identification methods) and audio_dir (output location), which covers 3 of 5 parameters. However, duration_ms and the precedence of norm_key vs title+artist semantics are not clarified beyond what the schema shows.

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 states the verb (获取/retrieve lyrics), the resource (lyrics for a song), and a specific preference (LRC format prioritized). It distinguishes from siblings—search_songs is for searching not retrieving lyrics, download_song downloads audio not lyrics. The purpose is specific and action-oriented.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explains the two ways to identify a song ('传 norm_key 或 title+artist'), giving usage direction. However, it doesn't mention when to choose this vs siblings or any exclusions/alternatives, so the when-to-use guidance is implied rather than explicit.

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/xiaonanbo1998/music-mcp'

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