Skip to main content
Glama

musicbrainz-mcp-server: get recording

musicbrainz_get_recording
Read-onlyIdempotent

Recording (a specific performance, distinct from the abstract work) by MBID: length, artist credits, ISRCs, one upstream page of release appearances with completeness metadata, work relationships, performer/production credits, and label relationships such as phonographic copyright. Relationships are not capped. Enumerate releases with musicbrainz_browse_entities (target_type=release, link.recording, offset=0); embedded and browse order may differ. Browse recording by work enumerates recording entities; this tool supplies their work relationship details.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "mbid": "<mbid>"
    },
    "name": "musicbrainz_get_recording"
  }
}

Input Schema

NameRequiredDescriptionDefault
mbidYesRecording MBID (hyphenated hexadecimal UUID; surrounding whitespace and uppercase accepted).
inc_relationshipsNoInclude performance/production, work, label (e.g. phonographic copyright) and recording relationships (samples, mashups, music videos, DJ mixes), and external links.

Output Schema

NameRequiredDescriptionDefault
mbidNoRecording MBID.
errorNoPresent when the call failed. Absent on success.
isrcsNoISRCs assigned to this recording (may be empty).
titleNoRecording title.
lengthNoRecording length as m:ss. Omitted when unknown.
releasesNoOne upstream page of release appearances (up to 25; may be empty). See releaseAppearanceSummary for completeness.
artistCreditNoCredited artists (may be empty).
externalLinksNoExternal resource links (url-rels) (may be empty).
relationshipsNoPerformance/production, work, label and recording relationships in upstream order, uncapped (may be empty).
disambiguationNoShort qualifier. Omitted when absent.
firstReleaseDateNoEarliest release date for this recording. Omitted when absent.
artistCreditStringNoDisplay string of the artist credit with join phrases.
releaseAppearanceSummaryNoCompleteness evidence derived only from this recording lookup.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / inc_relationships / description
      Previous value: -"Include performance/production, work and recording relationships (samples, mashups, music videos, DJ mixes), and external links."New value: +"Include performance/production, work, label (e.g. phonographic copyright) and recording relationships (samples, mashups, music videos, DJ mixes), and external links."
    • changedOutput schema / properties / relationships / description
      Previous value: -"Performance/production, work and recording relationships in upstream order, uncapped (may be empty)."New value: +"Performance/production, work, label and recording relationships in upstream order, uncapped (may be empty)."
    • changedOutput schema / properties / relationships / items / properties / targetType / description
      Previous value: -"Type of the related entity (\"artist\" | \"work\" | \"recording\" | \"label\" | \"url\")."New value: +"Type of the related entity (e.g. \"artist\", \"work\", \"recording\", \"release\", \"label\")."
  2. Changed2 schema fields changed
    • changedInput schema / properties / inc_relationships / description
      Previous value: -"Include performance/production relationships (performers, producers, engineers) and work-rels."New value: +"Include performance/production, work and recording relationships (samples, mashups, music videos, DJ mixes), and external links."
    • changedOutput schema / properties / relationships / description
      Previous value: -"Performance/production relationships and work-rels (may be empty)."New value: +"Performance/production, work and recording relationships in upstream order, uncapped (may be empty)."
  3. Changed5 schema fields changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "not": {
      -      "required": [
      -        "error"
      -      ]
      -    },
      -    "required": [
      -      "mbid",
      -      "title",
      -      "artistCredit",
      -      "artistCreditString",
      -      "isrcs",
      -      "releases",
      -      "relationships",
      -      "externalLinks"
      -    ]
      -  },
      -  {
      -    "required": [
      -      "error"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "error"
      +      ]
      +    },
      +    "required": [
      +      "mbid",
      +      "title",
      +      "artistCredit",
      +      "artistCreditString",
      +      "isrcs",
      +      "releases",
      +      "releaseAppearanceSummary",
      +      "relationships",
      +      "externalLinks"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "error"
      +    ]
      +  }
      +]
    • addedOutput schema / properties / relationships / items / properties / orderingKey
      Added value: +{
      +  "description": "Upstream relationship sequence key, including zero. Omitted when unknown; array order is preserved.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / relationships / items / properties / targetDisambiguation
      Added value: +{
      +  "description": "Qualifier distinguishing the related entity from namesakes. Omitted when absent.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / releaseAppearanceSummary
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Completeness evidence derived only from this recording lookup.",
      +  "properties": {
      +    "cap": {
      +      "description": "Upstream embedded page size (25).",
      +      "type": "number"
      +    },
      +    "completeness": {
      +      "description": "Complete for a short present page or exact total; unknown without proof; truncated only when the exact total exceeds shown.",
      +      "enum": [
      +        "complete",
      +        "unknown",
      +        "truncated"
      +      ],
      +      "type": "string"
      +    },
      +    "notice": {
      +      "description": "Browse guidance starting at offset 0, independent of embedded order.",
      +      "type": "string"
      +    },
      +    "shown": {
      +      "description": "Release appearances returned in the embedded page.",
      +      "type": "number"
      +    },
      +    "totalCount": {
      +      "description": "Exact release total from upstream or a short present page. Omitted when unknown.",
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "shown",
      +    "cap",
      +    "completeness",
      +    "notice"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / releases / description
      Previous value: -"Releases this recording appears on (may be empty)."New value: +"One upstream page of release appearances (up to 25; may be empty). See releaseAppearanceSummary for completeness."
  4. Changed3 schema fields changed
    • changedInput schema / properties / mbid / description
      Previous value: -"Recording MBID (36-character UUID)."New value: +"Recording MBID (hyphenated hexadecimal UUID; surrounding whitespace and uppercase accepted)."
    • addedInput schema / properties / mbid / pattern
      Added value: +"^\\s*[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}\\s*$"
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `invalid_mbid`: The MBID is malformed or the all-zeros sentinel (MusicBrainz returns HTTP 400). `entity_not_found`: The MBID is well-formed but no recording exists with it (MusicBrainz returns HTTP 404). Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `invalid_mbid`: The MBID is malformed or the all-zeros sentinel (rejected before fetch), or MusicBrainz rejects it with HTTP 400. `entity_not_found`: The MBID is well-formed but no recording exists with it (MusicBrainz returns HTTP 404). Other values are possible when a failure originates below the handler."
  5. Changed6 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / additionalProperties
      Added value: +false
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "error"
      +      ]
      +    },
      +    "required": [
      +      "mbid",
      +      "title",
      +      "artistCredit",
      +      "artistCreditString",
      +      "isrcs",
      +      "releases",
      +      "relationships",
      +      "externalLinks"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "error"
      +    ]
      +  }
      +]
    • addedOutput schema / properties / error
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Present when the call failed. Absent on success.",
      +  "properties": {
      +    "code": {
      +      "description": "JSON-RPC error code for this failure.",
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "data": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "reason": {
      +          "description": "Machine-readable failure mode. Declared by this tool: `invalid_mbid`: The MBID is malformed or the all-zeros sentinel (MusicBrainz returns HTTP 400). `entity_not_found`: The MBID is well-formed but no recording exists with it (MusicBrainz returns HTTP 404). Other values are possible when a failure originates below the handler.",
      +          "examples": [
      +            "invalid_mbid",
      +            "entity_not_found"
      +          ],
      +          "type": "string"
      +        },
      +        "recovery": {
      +          "additionalProperties": {},
      +          "description": "Actionable next step for the caller.",
      +          "properties": {
      +            "hint": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "hint"
      +          ],
      +          "type": "object"
      +        },
      +        "retryable": {
      +          "description": "Whether retrying may succeed.",
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "message": {
      +      "description": "Human-readable description of what went wrong.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "message"
      +  ],
      +  "type": "object"
      +}
    • removedOutput schema / required
      Removed value: -[
      -  "mbid",
      -  "title",
      -  "artistCredit",
      -  "artistCreditString",
      -  "isrcs",
      -  "releases",
      -  "relationships",
      -  "externalLinks"
      -]
  6. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, openWorld), and the description adds genuinely non-obvious traits: relationships are not capped, only one upstream page of release appearances is returned, and embedded vs. browse ordering may diverge. It stops short of describing failure behavior for a malformed or unknown MBID, which is the remaining gap rather than a contradiction.

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?

Front-loaded with the entity definition, then payload, then routing guidance — a sensible order with no filler sentences. It is dense, semicolon-chained prose that takes a second pass to parse, which keeps it just short of a 5.

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 an output schema present, the description need not explain return values, yet it still characterizes the shape (one upstream page plus completeness metadata, uncapped relationships). For a 2-parameter read-only lookup, nothing an agent needs to call it correctly or interpret the response is missing.

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% and the mbid pattern and inc_relationships are fully documented there, so the baseline would be 3. The description adds meaning beyond the schema by noting that relationships are uncapped and by scoping inc_relationships to performance/production, work, label, and recording relationships — clarifying what toggling it actually changes.

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?

Opens with a precise verb+resource ('Recording ... by MBID') and immediately disambiguates the entity ('a specific performance, distinct from the abstract work'). It then enumerates the payload: length, artist credits, ISRCs, release appearances, work relationships, credits, label relationships — an agent knows exactly what it gets without opening a schema.

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?

Names the alternative explicitly and supplies the exact call shape: 'Enumerate releases with musicbrainz_browse_entities (target_type=release, link.recording, offset=0)'. It also states the reciprocal boundary — browse-by-work lists recordings, this tool supplies their work relationship details — so the agent can route between the two without 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.