Skip to main content
Glama
sonovault-mcp

sonovault-mcp

Official

Recording to composition (ISWC)

get_work_codes

Find the ISWC work code(s) behind a recording, by ISRC or SonoVault track ID. Useful for royalty and publishing workflows.

Instructions

Find the ISWC work code(s) behind a recording, by ISRC or SonoVault track ID. Useful for royalty and publishing workflows. By ISRC it returns the works linked to that exact ISRC (basis "isrc"), falling back to every work on the recording (basis "recording") when none is. One recording can carry several ISWCs (medleys, samples, a song registered under more than one ISWC).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_work_codes"
  }
}

Input Schema

NameRequiredDescriptionDefault
isrcNoISRC of the recording
track_idNoSonoVault track ID (alternative to isrc)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations provided, the description carries the burden well: it discloses the resolution algorithm (exact-ISRC match first, fallback to all works on the recording) and the "basis" value returned, plus the warning that one recording may map to several ISWCs. It does not address behavior when neither identifier is supplied (both params are optional) or error handling.

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 core purpose in the first sentence, then resolution behavior, then the multiplicity caveat. Four sentences with little waste; the workflow sentence is the weakest but still short.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, and the description does convey the return shape (ISWC codes plus a basis value) and its ambiguity. However, with zero required parameters it never says what happens if neither isrc nor track_id is passed, which is the main correctness gap for invoking this tool.

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 coverage is 100%, so both parameters are already documented in the schema; the baseline of 3 applies. The description adds meaningful resolution semantics for isrc (exact vs. recording-level fallback) but says nothing extra about track_id beyond the schema's "alternative to isrc."

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: "Find the ISWC work code(s) behind a recording," and names both accepted identifiers (ISRC, SonoVault track ID). The direction of the mapping (recording → composition) is explicit, which implicitly distinguishes it from get_recordings_of_work, though no sibling is named outright.

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?

Gives a use context ("royalty and publishing workflows") but no explicit when-to-use vs when-not, and no comparison to lookup_isrc or get_recordings_of_work. The choice between isrc and track_id is only implied by "by ISRC..." behavior, not stated as a selection rule.

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