Skip to main content
Glama
sonovault-mcp

sonovault-mcp

Official

Find a release by UPC or EAN

get_release_by_upc

Find the release behind a UPC, EAN, or GTIN barcode and get title, artist, label, date, formats, and digital UPC; returns 404 if no match.

Instructions

Find the release behind a UPC, EAN or GTIN barcode: title, artist, label, release date, the formats that carry the barcode (cd, vinyl, digital, ...) and its digital_upc. Accepts 8 to 14 digits; spaces and hyphens are ignored, and a 12-digit UPC-A finds the same release as its 13-digit EAN form with a leading zero. Only barcodes with title evidence on the release are matched, so a barcode reused across unrelated compilations does not return them. Returns an error with status 404 when no release carries the barcode. Use get_release with the returned id for the tracklist. To go the other way (album to UPC), use search_releases and read digital_upc.

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": {
      "upc": "<upc>"
    },
    "name": "get_release_by_upc"
  }
}

Input Schema

NameRequiredDescriptionDefault
upcYesThe barcode: UPC-A, EAN-13 or GTIN-14, e.g. 724384960650

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.4.0

TDQS

A4.8/5.0
Behavior4/5

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

No annotations exist, so the description carries the full load, and it does substantial work: accepted digit range, normalization of spaces/hyphens, 12-digit UPC-A vs 13-digit EAN equivalence, the title-evidence matching rule that suppresses reuse across compilations, and 404 on no match. It stops short of stating any auth or rate-limit characteristics, so it is strong rather than exhaustive.

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?

Front-loaded with the purpose and return payload, then edge-case rules, then error behavior, then sibling routing. Every sentence contributes a distinct fact; the length is justified by the density rather than padded.

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?

For a single-parameter lookup with no output schema, the description compensates fully: it describes the returned fields, the error case, and the follow-up path for the tracklist. Nothing an agent needs before calling is missing.

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

Parameters5/5

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

Schema description coverage is 100% and already gives examples, but the description adds real validation semantics beyond it: 8 to 14 digits, whitespace and hyphen tolerance, and the equivalence between a 12-digit UPC-A and its leading-zero 13-digit EAN. These are exactly the normalization rules an agent needs to avoid a failed or duplicated lookup.

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?

Names a specific verb and resource ('Find the release behind a UPC, EAN or GTIN barcode') and enumerates exactly what comes back (title, artist, label, release date, formats, digital_upc). This is clearly separable from get_release, which the description itself routes to only after an id is known.

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 explicit forward guidance ('Use get_release with the returned id for the tracklist') and explicit reverse-direction guidance ('To go the other way (album to UPC), use search_releases and read digital_upc'), naming the sibling and the field to read. Both when-to-use and which-alternative-for-which-direction are stated, not inferred.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.