Skip to main content
Glama

musicbrainz-mcp-server: lookup identifier

musicbrainz_lookup_identifier
Read-onlyIdempotent

Resolve a standard identifier to MusicBrainz entities without a name search — the deterministic path when you already hold an ID. id_type=isrc → recordings (a recording-level code, often shared by several recordings); id_type=iswc → works (a composition-level code); id_type=barcode → releases (UPC/EAN digits; spaces and hyphens are ignored). ISRC and ISWC hit dedicated exact endpoints. Barcode is a ranked Lucene search filter and returns up to 25 editions with the upstream total. Follow the notice into musicbrainz_search_entities for more. The output kind field tells you which entity type came back.

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": {
      "id_type": "<id_type>",
      "value": "<value>"
    },
    "name": "musicbrainz_lookup_identifier"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYesISRC: compact CCXXXYYNNNNN or grouped CC-XXX-YY-NNNNN (e.g. GBAYE9701274 or GB-AYE-97-01274), case-insensitive with surrounding whitespace. ISWC: T plus ten digits, optional hyphen after T, optional dots between three-digit groups, optional hyphen/dot before the check digit (e.g. T-010.140.236-1 or T0101402361); whitespace and case are ignored. Echoes canonical uppercase ISRC or T-DDD.DDD.DDD-C ISWC. Barcode: UPC/EAN digits, e.g. 075678164125; spaces and hyphens are ignored, other characters rejected.
id_typeYesWhich standard identifier: isrc (recording), iswc (work), or barcode (release).

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
noticeNoRelease search continuation when barcode matches remain.
resultNoThe resolved entities, discriminated by `kind` (recordings | works | releases).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / notice
      Added value: +{
      +  "description": "Release search continuation when barcode matches remain.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / result / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "description": "ISRC result arm: recordings carrying the ISRC.",
      -    "properties": {
      -      "identifier": {
      -        "description": "The looked-up identifier value.",
      -        "type": "string"
      -      },
      -      "kind": {
      -        "const": "recordings",
      -        "description": "ISRC resolved to recordings.",
      -        "type": "string"
      -      },
      -      "recordings": {
      -        "description": "Recordings carrying this ISRC.",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "A recording carrying the looked-up ISRC.",
      -          "properties": {
      -            "artistCredit": {
      -              "description": "Credited artist string; falls back to \"Unknown artist\" when none is recorded.",
      -              "type": "string"
      -            },
      -            "length": {
      -              "description": "Recording length as m:ss. Omitted when unknown.",
      -              "type": "string"
      -            },
      -            "mbid": {
      -              "description": "Recording MBID — chain to musicbrainz_get_recording.",
      -              "type": "string"
      -            },
      -            "title": {
      -              "description": "Recording title.",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "mbid",
      -            "title",
      -            "artistCredit"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "identifier",
      -      "recordings"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "ISWC result arm: works carrying the ISWC.",
      -    "properties": {
      -      "identifier": {
      -        "description": "The looked-up identifier value.",
      -        "type": "string"
      -      },
      -      "kind": {
      -        "const": "works",
      -        "description": "ISWC resolved to works.",
      -        "type": "string"
      -      },
      -      "works": {
      -        "description": "Works carrying this ISWC.",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "A work carrying the looked-up ISWC.",
      -          "properties": {
      -            "mbid": {
      -              "description": "Work MBID — chain to musicbrainz_get_work.",
      -              "type": "string"
      -            },
      -            "title": {
      -              "description": "Work title.",
      -              "type": "string"
      -            },
      -            "type": {
      -              "description": "Work type. Omitted when absent.",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "mbid",
      -            "title"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "identifier",
      -      "works"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "Barcode result arm: releases carrying the barcode.",
      -    "properties": {
      -      "identifier": {
      -        "description": "The barcode digits that were searched (spaces and hyphens removed).",
      -        "type": "string"
      -      },
      -      "kind": {
      -        "const": "releases",
      -        "description": "Barcode resolved to releases.",
      -        "type": "string"
      -      },
      -      "releases": {
      -        "description": "Releases carrying this barcode (ranked).",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "A release carrying the looked-up barcode.",
      -          "properties": {
      -            "artistCredit": {
      -              "description": "Credited artist string.",
      -              "type": "string"
      -            },
      -            "country": {
      -              "description": "Release country code. Omitted when absent.",
      -              "type": "string"
      -            },
      -            "date": {
      -              "description": "Release date. Omitted when absent.",
      -              "type": "string"
      -            },
      -            "mbid": {
      -              "description": "Release MBID — chain to musicbrainz_get_release.",
      -              "type": "string"
      -            },
      -            "score": {
      -              "description": "Lucene relevance score, 0–100 (barcode is a search filter; exact = 100).",
      -              "type": "number"
      -            },
      -            "title": {
      -              "description": "Release title.",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "mbid",
      -            "title",
      -            "artistCredit",
      -            "score"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "identifier",
      -      "releases"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "description": "ISRC result arm: recordings carrying the ISRC.",
      +    "properties": {
      +      "identifier": {
      +        "description": "The looked-up identifier value.",
      +        "type": "string"
      +      },
      +      "kind": {
      +        "const": "recordings",
      +        "description": "ISRC resolved to recordings.",
      +        "type": "string"
      +      },
      +      "recordings": {
      +        "description": "Recordings carrying this ISRC.",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "A recording carrying the looked-up ISRC.",
      +          "properties": {
      +            "artistCredit": {
      +              "description": "Credited artist string; falls back to \"Unknown artist\" when none is recorded.",
      +              "type": "string"
      +            },
      +            "length": {
      +              "description": "Recording length as m:ss. Omitted when unknown.",
      +              "type": "string"
      +            },
      +            "mbid": {
      +              "description": "Recording MBID — chain to musicbrainz_get_recording.",
      +              "type": "string"
      +            },
      +            "title": {
      +              "description": "Recording title.",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "mbid",
      +            "title",
      +            "artistCredit"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "identifier",
      +      "recordings"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "ISWC result arm: works carrying the ISWC.",
      +    "properties": {
      +      "identifier": {
      +        "description": "The looked-up identifier value.",
      +        "type": "string"
      +      },
      +      "kind": {
      +        "const": "works",
      +        "description": "ISWC resolved to works.",
      +        "type": "string"
      +      },
      +      "works": {
      +        "description": "Works carrying this ISWC.",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "A work carrying the looked-up ISWC.",
      +          "properties": {
      +            "mbid": {
      +              "description": "Work MBID — chain to musicbrainz_get_work.",
      +              "type": "string"
      +            },
      +            "title": {
      +              "description": "Work title.",
      +              "type": "string"
      +            },
      +            "type": {
      +              "description": "Work type. Omitted when absent.",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "mbid",
      +            "title"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "identifier",
      +      "works"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "Barcode result arm: releases carrying the barcode.",
      +    "properties": {
      +      "identifier": {
      +        "description": "The barcode digits that were searched (spaces and hyphens removed).",
      +        "type": "string"
      +      },
      +      "kind": {
      +        "const": "releases",
      +        "description": "Barcode resolved to releases.",
      +        "type": "string"
      +      },
      +      "releases": {
      +        "description": "Releases carrying this barcode (ranked).",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "A release carrying the looked-up barcode.",
      +          "properties": {
      +            "artistCredit": {
      +              "description": "Credited artist string.",
      +              "type": "string"
      +            },
      +            "barcode": {
      +              "description": "UPC/EAN. Empty means confirmed absent. Omitted when unknown.",
      +              "type": "string"
      +            },
      +            "country": {
      +              "description": "Release country code. Omitted when absent.",
      +              "type": "string"
      +            },
      +            "date": {
      +              "description": "Release date. Omitted when absent.",
      +              "type": "string"
      +            },
      +            "formats": {
      +              "description": "Known media formats in medium order. Omitted when none are known.",
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "labelInfo": {
      +              "description": "Known label and catalog-number pairings. Omitted when none are known.",
      +              "items": {
      +                "additionalProperties": false,
      +                "description": "Label + catalog-number pairing for the release.",
      +                "properties": {
      +                  "catalogNumber": {
      +                    "description": "Catalog number on this release. Omitted when absent.",
      +                    "type": "string"
      +                  },
      +                  "labelId": {
      +                    "description": "Label MBID — chain to musicbrainz_get_label. Omitted when absent.",
      +                    "type": "string"
      +                  },
      +                  "labelName": {
      +                    "description": "Label name. Omitted when absent.",
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "mbid": {
      +              "description": "Release MBID — chain to musicbrainz_get_release.",
      +              "type": "string"
      +            },
      +            "packaging": {
      +              "description": "Packaging type. Omitted when unknown.",
      +              "type": "string"
      +            },
      +            "releaseEvents": {
      +              "description": "Release dates and countries in upstream event order. Omitted when none are known.",
      +              "items": {
      +                "additionalProperties": false,
      +                "description": "One dated or country-specific release event.",
      +                "properties": {
      +                  "country": {
      +                    "description": "ISO 3166-1 code of the event area. Omitted when unknown.",
      +                    "type": "string"
      +                  },
      +                  "date": {
      +                    "description": "Event date, which may be partial. Omitted when unknown.",
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "releaseGroupId": {
      +              "description": "Parent release-group MBID — chain to musicbrainz_get_release_group.",
      +              "type": "string"
      +            },
      +            "score": {
      +              "description": "Lucene relevance score, 0–100 (barcode is a search filter; exact = 100).",
      +              "type": "number"
      +            },
      +            "title": {
      +              "description": "Release title.",
      +              "type": "string"
      +            },
      +            "trackCount": {
      +              "description": "Reported release track count, or sum of all medium counts. Omitted when unknown.",
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "mbid",
      +            "title",
      +            "artistCredit",
      +            "score"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "totalCount": {
      +        "description": "Total barcode matches reported by MusicBrainz.",
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "identifier",
      +      "totalCount",
      +      "releases"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed3 schema fields changed
    • changedInput schema / properties / value / description
      Previous value: -"The identifier value. ISRC e.g. \"USRC17607839\"; ISWC e.g. \"T-010.140.236-1\"; barcode = the UPC/EAN digits, e.g. \"075678164125\" (spaces and hyphens are ignored; any other character, including a wildcard, is rejected)."New value: +"ISRC: compact CCXXXYYNNNNN or grouped CC-XXX-YY-NNNNN (e.g. GBAYE9701274 or GB-AYE-97-01274), case-insensitive with surrounding whitespace. ISWC: T plus ten digits, optional hyphen after T, optional dots between three-digit groups, optional hyphen/dot before the check digit (e.g. T-010.140.236-1 or T0101402361); whitespace and case are ignored. Echoes canonical uppercase ISRC or T-DDD.DDD.DDD-C ISWC. Barcode: UPC/EAN digits, e.g. 075678164125; spaces and hyphens are ignored, other characters rejected."
    • addedInput schema / properties / value / examples
      Added value: +[
      +  "GBAYE9701274",
      +  "GB-AYE-97-01274",
      +  "T-010.140.236-1",
      +  "T0101402361",
      +  "075678164125"
      +]
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `identifier_not_found`: The identifier is well-formed but resolves to zero entities. `invalid_identifier`: The ISRC/ISWC is malformed (the dedicated endpoint returns HTTP 400), or the barcode contains anything other than digits once spaces and hyphens are removed. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `identifier_not_found`: The identifier is well-formed but resolves to zero entities. `invalid_identifier`: The ISRC/ISWC fails its accepted grammar locally or the dedicated endpoint rejects it with HTTP 400, or the barcode contains anything other than digits once spaces and hyphens are removed. Other values are possible when a failure originates below the handler."
  3. Changed3 schema fields changed
    • changedInput schema / properties / value / description
      Previous value: -"The identifier value. ISRC e.g. \"USRC17607839\"; ISWC e.g. \"T-010.140.236-1\"; barcode e.g. \"075678164125\"."New value: +"The identifier value. ISRC e.g. \"USRC17607839\"; ISWC e.g. \"T-010.140.236-1\"; barcode = the UPC/EAN digits, e.g. \"075678164125\" (spaces and hyphens are ignored; any other character, including a wildcard, is rejected)."
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `identifier_not_found`: The identifier is well-formed but resolves to zero entities. `invalid_identifier`: The ISRC/ISWC is malformed (the dedicated endpoint returns HTTP 400). Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `identifier_not_found`: The identifier is well-formed but resolves to zero entities. `invalid_identifier`: The ISRC/ISWC is malformed (the dedicated endpoint returns HTTP 400), or the barcode contains anything other than digits once spaces and hyphens are removed. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / result / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "description": "ISRC result arm: recordings carrying the ISRC.",
      -    "properties": {
      -      "identifier": {
      -        "description": "The looked-up identifier value.",
      -        "type": "string"
      -      },
      -      "kind": {
      -        "const": "recordings",
      -        "description": "ISRC resolved to recordings.",
      -        "type": "string"
      -      },
      -      "recordings": {
      -        "description": "Recordings carrying this ISRC.",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "A recording carrying the looked-up ISRC.",
      -          "properties": {
      -            "artistCredit": {
      -              "description": "Credited artist string; falls back to \"Unknown artist\" when none is recorded.",
      -              "type": "string"
      -            },
      -            "length": {
      -              "description": "Recording length as m:ss. Omitted when unknown.",
      -              "type": "string"
      -            },
      -            "mbid": {
      -              "description": "Recording MBID — chain to musicbrainz_get_recording.",
      -              "type": "string"
      -            },
      -            "title": {
      -              "description": "Recording title.",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "mbid",
      -            "title",
      -            "artistCredit"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "identifier",
      -      "recordings"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "ISWC result arm: works carrying the ISWC.",
      -    "properties": {
      -      "identifier": {
      -        "description": "The looked-up identifier value.",
      -        "type": "string"
      -      },
      -      "kind": {
      -        "const": "works",
      -        "description": "ISWC resolved to works.",
      -        "type": "string"
      -      },
      -      "works": {
      -        "description": "Works carrying this ISWC.",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "A work carrying the looked-up ISWC.",
      -          "properties": {
      -            "mbid": {
      -              "description": "Work MBID — chain to musicbrainz_get_work.",
      -              "type": "string"
      -            },
      -            "title": {
      -              "description": "Work title.",
      -              "type": "string"
      -            },
      -            "type": {
      -              "description": "Work type. Omitted when absent.",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "mbid",
      -            "title"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "identifier",
      -      "works"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "Barcode result arm: releases carrying the barcode.",
      -    "properties": {
      -      "identifier": {
      -        "description": "The looked-up identifier value.",
      -        "type": "string"
      -      },
      -      "kind": {
      -        "const": "releases",
      -        "description": "Barcode resolved to releases.",
      -        "type": "string"
      -      },
      -      "releases": {
      -        "description": "Releases carrying this barcode (ranked).",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "A release carrying the looked-up barcode.",
      -          "properties": {
      -            "artistCredit": {
      -              "description": "Credited artist string.",
      -              "type": "string"
      -            },
      -            "country": {
      -              "description": "Release country code. Omitted when absent.",
      -              "type": "string"
      -            },
      -            "date": {
      -              "description": "Release date. Omitted when absent.",
      -              "type": "string"
      -            },
      -            "mbid": {
      -              "description": "Release MBID — chain to musicbrainz_get_release.",
      -              "type": "string"
      -            },
      -            "score": {
      -              "description": "Lucene relevance score, 0–100 (barcode is a search filter; exact = 100).",
      -              "type": "number"
      -            },
      -            "title": {
      -              "description": "Release title.",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "mbid",
      -            "title",
      -            "artistCredit",
      -            "score"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "identifier",
      -      "releases"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "description": "ISRC result arm: recordings carrying the ISRC.",
      +    "properties": {
      +      "identifier": {
      +        "description": "The looked-up identifier value.",
      +        "type": "string"
      +      },
      +      "kind": {
      +        "const": "recordings",
      +        "description": "ISRC resolved to recordings.",
      +        "type": "string"
      +      },
      +      "recordings": {
      +        "description": "Recordings carrying this ISRC.",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "A recording carrying the looked-up ISRC.",
      +          "properties": {
      +            "artistCredit": {
      +              "description": "Credited artist string; falls back to \"Unknown artist\" when none is recorded.",
      +              "type": "string"
      +            },
      +            "length": {
      +              "description": "Recording length as m:ss. Omitted when unknown.",
      +              "type": "string"
      +            },
      +            "mbid": {
      +              "description": "Recording MBID — chain to musicbrainz_get_recording.",
      +              "type": "string"
      +            },
      +            "title": {
      +              "description": "Recording title.",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "mbid",
      +            "title",
      +            "artistCredit"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "identifier",
      +      "recordings"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "ISWC result arm: works carrying the ISWC.",
      +    "properties": {
      +      "identifier": {
      +        "description": "The looked-up identifier value.",
      +        "type": "string"
      +      },
      +      "kind": {
      +        "const": "works",
      +        "description": "ISWC resolved to works.",
      +        "type": "string"
      +      },
      +      "works": {
      +        "description": "Works carrying this ISWC.",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "A work carrying the looked-up ISWC.",
      +          "properties": {
      +            "mbid": {
      +              "description": "Work MBID — chain to musicbrainz_get_work.",
      +              "type": "string"
      +            },
      +            "title": {
      +              "description": "Work title.",
      +              "type": "string"
      +            },
      +            "type": {
      +              "description": "Work type. Omitted when absent.",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "mbid",
      +            "title"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "identifier",
      +      "works"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "Barcode result arm: releases carrying the barcode.",
      +    "properties": {
      +      "identifier": {
      +        "description": "The barcode digits that were searched (spaces and hyphens removed).",
      +        "type": "string"
      +      },
      +      "kind": {
      +        "const": "releases",
      +        "description": "Barcode resolved to releases.",
      +        "type": "string"
      +      },
      +      "releases": {
      +        "description": "Releases carrying this barcode (ranked).",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "A release carrying the looked-up barcode.",
      +          "properties": {
      +            "artistCredit": {
      +              "description": "Credited artist string.",
      +              "type": "string"
      +            },
      +            "country": {
      +              "description": "Release country code. Omitted when absent.",
      +              "type": "string"
      +            },
      +            "date": {
      +              "description": "Release date. Omitted when absent.",
      +              "type": "string"
      +            },
      +            "mbid": {
      +              "description": "Release MBID — chain to musicbrainz_get_release.",
      +              "type": "string"
      +            },
      +            "score": {
      +              "description": "Lucene relevance score, 0–100 (barcode is a search filter; exact = 100).",
      +              "type": "number"
      +            },
      +            "title": {
      +              "description": "Release title.",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "mbid",
      +            "title",
      +            "artistCredit",
      +            "score"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "identifier",
      +      "releases"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. 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": [
      +      "result"
      +    ]
      +  },
      +  {
      +    "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: `identifier_not_found`: The identifier is well-formed but resolves to zero entities. `invalid_identifier`: The ISRC/ISWC is malformed (the dedicated endpoint returns HTTP 400). Other values are possible when a failure originates below the handler.",
      +          "examples": [
      +            "identifier_not_found",
      +            "invalid_identifier"
      +          ],
      +          "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: -[
      -  "result"
      -]
  5. Changed2 schema fields changed
    • changedInput schema / properties / value / description
      Previous value: -"The identifier value. ISRC e.g. \"USRC17607839\"; ISWC e.g. \"T-345246800-1\"; barcode e.g. \"075678164125\"."New value: +"The identifier value. ISRC e.g. \"USRC17607839\"; ISWC e.g. \"T-010.140.236-1\"; barcode e.g. \"075678164125\"."
    • changedOutput schema / properties / result / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "description": "ISRC result arm: recordings carrying the ISRC.",
      -    "properties": {
      -      "identifier": {
      -        "description": "The looked-up identifier value.",
      -        "type": "string"
      -      },
      -      "kind": {
      -        "const": "recordings",
      -        "description": "ISRC resolved to recordings.",
      -        "type": "string"
      -      },
      -      "recordings": {
      -        "description": "Recordings carrying this ISRC.",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "A recording carrying the looked-up ISRC.",
      -          "properties": {
      -            "artistCredit": {
      -              "description": "Credited artist string.",
      -              "type": "string"
      -            },
      -            "length": {
      -              "description": "Recording length as m:ss. Omitted when unknown.",
      -              "type": "string"
      -            },
      -            "mbid": {
      -              "description": "Recording MBID — chain to musicbrainz_get_recording.",
      -              "type": "string"
      -            },
      -            "title": {
      -              "description": "Recording title.",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "mbid",
      -            "title",
      -            "artistCredit"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "identifier",
      -      "recordings"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "ISWC result arm: works carrying the ISWC.",
      -    "properties": {
      -      "identifier": {
      -        "description": "The looked-up identifier value.",
      -        "type": "string"
      -      },
      -      "kind": {
      -        "const": "works",
      -        "description": "ISWC resolved to works.",
      -        "type": "string"
      -      },
      -      "works": {
      -        "description": "Works carrying this ISWC.",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "A work carrying the looked-up ISWC.",
      -          "properties": {
      -            "mbid": {
      -              "description": "Work MBID — chain to musicbrainz_get_work.",
      -              "type": "string"
      -            },
      -            "title": {
      -              "description": "Work title.",
      -              "type": "string"
      -            },
      -            "type": {
      -              "description": "Work type. Omitted when absent.",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "mbid",
      -            "title"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "identifier",
      -      "works"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "Barcode result arm: releases carrying the barcode.",
      -    "properties": {
      -      "identifier": {
      -        "description": "The looked-up identifier value.",
      -        "type": "string"
      -      },
      -      "kind": {
      -        "const": "releases",
      -        "description": "Barcode resolved to releases.",
      -        "type": "string"
      -      },
      -      "releases": {
      -        "description": "Releases carrying this barcode (ranked).",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "A release carrying the looked-up barcode.",
      -          "properties": {
      -            "artistCredit": {
      -              "description": "Credited artist string.",
      -              "type": "string"
      -            },
      -            "country": {
      -              "description": "Release country code. Omitted when absent.",
      -              "type": "string"
      -            },
      -            "date": {
      -              "description": "Release date. Omitted when absent.",
      -              "type": "string"
      -            },
      -            "mbid": {
      -              "description": "Release MBID — chain to musicbrainz_get_release.",
      -              "type": "string"
      -            },
      -            "score": {
      -              "description": "Lucene relevance score, 0–100 (barcode is a search filter; exact = 100).",
      -              "type": "number"
      -            },
      -            "title": {
      -              "description": "Release title.",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "mbid",
      -            "title",
      -            "artistCredit",
      -            "score"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "identifier",
      -      "releases"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "description": "ISRC result arm: recordings carrying the ISRC.",
      +    "properties": {
      +      "identifier": {
      +        "description": "The looked-up identifier value.",
      +        "type": "string"
      +      },
      +      "kind": {
      +        "const": "recordings",
      +        "description": "ISRC resolved to recordings.",
      +        "type": "string"
      +      },
      +      "recordings": {
      +        "description": "Recordings carrying this ISRC.",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "A recording carrying the looked-up ISRC.",
      +          "properties": {
      +            "artistCredit": {
      +              "description": "Credited artist string; falls back to \"Unknown artist\" when none is recorded.",
      +              "type": "string"
      +            },
      +            "length": {
      +              "description": "Recording length as m:ss. Omitted when unknown.",
      +              "type": "string"
      +            },
      +            "mbid": {
      +              "description": "Recording MBID — chain to musicbrainz_get_recording.",
      +              "type": "string"
      +            },
      +            "title": {
      +              "description": "Recording title.",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "mbid",
      +            "title",
      +            "artistCredit"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "identifier",
      +      "recordings"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "ISWC result arm: works carrying the ISWC.",
      +    "properties": {
      +      "identifier": {
      +        "description": "The looked-up identifier value.",
      +        "type": "string"
      +      },
      +      "kind": {
      +        "const": "works",
      +        "description": "ISWC resolved to works.",
      +        "type": "string"
      +      },
      +      "works": {
      +        "description": "Works carrying this ISWC.",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "A work carrying the looked-up ISWC.",
      +          "properties": {
      +            "mbid": {
      +              "description": "Work MBID — chain to musicbrainz_get_work.",
      +              "type": "string"
      +            },
      +            "title": {
      +              "description": "Work title.",
      +              "type": "string"
      +            },
      +            "type": {
      +              "description": "Work type. Omitted when absent.",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "mbid",
      +            "title"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "identifier",
      +      "works"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "Barcode result arm: releases carrying the barcode.",
      +    "properties": {
      +      "identifier": {
      +        "description": "The looked-up identifier value.",
      +        "type": "string"
      +      },
      +      "kind": {
      +        "const": "releases",
      +        "description": "Barcode resolved to releases.",
      +        "type": "string"
      +      },
      +      "releases": {
      +        "description": "Releases carrying this barcode (ranked).",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "A release carrying the looked-up barcode.",
      +          "properties": {
      +            "artistCredit": {
      +              "description": "Credited artist string.",
      +              "type": "string"
      +            },
      +            "country": {
      +              "description": "Release country code. Omitted when absent.",
      +              "type": "string"
      +            },
      +            "date": {
      +              "description": "Release date. Omitted when absent.",
      +              "type": "string"
      +            },
      +            "mbid": {
      +              "description": "Release MBID — chain to musicbrainz_get_release.",
      +              "type": "string"
      +            },
      +            "score": {
      +              "description": "Lucene relevance score, 0–100 (barcode is a search filter; exact = 100).",
      +              "type": "number"
      +            },
      +            "title": {
      +              "description": "Release title.",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "mbid",
      +            "title",
      +            "artistCredit",
      +            "score"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "identifier",
      +      "releases"
      +    ],
      +    "type": "object"
      +  }
      +]
  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 safety (readOnly, idempotent), but the description adds real beyond-annotation behavior: ISRC/ISWC use exact-match endpoints, while barcode degrades to a ranked Lucene search capped at 25 editions with an upstream total surfaced. The pointer to a "notice" and to the output `kind` field flags how partial results are signalled. It stops short of stating auth, rate-limit, or not-found/error behavior, which matters for a MusicBrainz-backed tool.

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 key discriminator (no name search needed) and then organized one id_type per clause, so the reader can scan to the branch they need. It is dense though, with heavy parentheticals in the barcode clause, and the closing sentence about the output `kind` field is slightly orphaned from the rest.

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?

An output schema exists, so return values need not be explained, and the description spends its words on what the schema cannot say: per-id_type resolution behavior and the 25-result cap on barcode lookups. For a two-parameter read-only lookup this leaves nothing an agent needs before calling 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 meaning the schema does not fully carry: an ISRC is described as recording-level and "often shared by several recordings," which warns the agent that one code may fan out to multiple hits. The id_type → entity mapping largely mirrors the enum descriptions, keeping this from a 5.

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 ("Resolve a standard identifier to MusicBrainz entities") and immediately contrasts the scope with name search, calling itself "the deterministic path when you already hold an ID." That single clause separates it from musicbrainz_search_entities without requiring the sibling's schema to be read.

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 the selecting condition explicitly (you already hold an ID, so skip the name search) and names the alternative, musicbrainz_search_entities, as the follow-up path when the identifier resolves to something broader. Each id_type is also routed to an entity class, so an agent knows which call shape to pick.

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.