Skip to main content
Glama
zas

MusicBrainz MCP Server

by zas

get_release_details

Retrieve tracklist with durations, barcode, and label information for a specific music release edition using its MusicBrainz release ID.

Instructions

Get tracklist with durations, barcode, and label for a specific release. Takes a release_id (a specific edition), NOT a release_group_id. To get tracks for an album concept, use get_album_tracks with a release_group_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
release_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • The implementation of the get_release_details tool which fetches release details from the MusicBrainz API.
    def get_release_details(release_id: str) -> str:
        """Get tracklist with durations, barcode, and label for a specific release.
        Takes a release_id (a specific edition), NOT a release_group_id.
        To get tracks for an album concept, use get_album_tracks with a release_group_id."""
        res = musicbrainzngs.get_release_by_id(
            release_id,
            includes=[
                "recordings",
                "labels",
                "artist-credits",
                "media",
                "release-groups",
            ],
        )
        r = res["release"]
        tracks = _format_tracks(r.get("medium-list", []))
    
        labels = ", ".join(
            f"{li.get('label', {}).get('name', '?')} ({li.get('catalog-number', 'N/A')})"
            for li in r.get("label-info-list", [])
        )
        barcode = r.get("barcode", "N/A")
        status = r.get("status", "N/A")
        country = r.get("country", "N/A")
        rg = r.get("release-group", {})
        rg_type = rg.get("type", "N/A")
    
        parts = [
            f"Title: {r['title']}",
            f"Artist: {r.get('artist-credit-phrase', 'N/A')}",
            f"Date: {r.get('date', 'Unknown')}",
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It clarifies the input requirement (release_id vs. release_group_id) but does not disclose behavioral traits like rate limits, error handling, or authentication needs, leaving gaps for a tool with no annotation coverage.

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?

The description is front-loaded with the core purpose, followed by usage guidance, all in three concise sentences with zero waste, making it easy to scan and understand quickly.

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?

Given the tool's complexity (simple lookup), 1 parameter, no annotations, and an output schema (which handles return values), the description is nearly complete. It covers purpose and usage well but could add more behavioral context, such as error cases or response format hints.

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?

With 0% schema description coverage and 1 parameter, the description adds crucial meaning by specifying that 'release_id' refers to 'a specific edition' and distinguishing it from 'release_group_id', compensating well for the lack of schema documentation.

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 specific action ('Get') and resource ('tracklist with durations, barcode, and label for a specific release'), distinguishing it from siblings like 'get_album_tracks' by specifying it operates on a release_id rather than a release_group_id.

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?

It explicitly states when to use this tool ('Takes a release_id...') and when not to ('NOT a release_group_id'), providing a clear alternative ('use get_album_tracks with a release_group_id') for different scenarios.

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/zas/mcp-musicbrainz'

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