Skip to main content
Glama

TrackForge

CWR validation (CWR 2.1 file check)

validate_cwr
Read-onlyIdempotent

CWR validation: checks the text of a CWR 2.1 (Common Works Registration) file used to register songs with music royalties societies such as The MLC, PRS for Music / ICE, SACEM or CMRRA. Returns whether the file is valid, error and warning counts, and each issue with its line, rule, plain-language explanation and how to fix it. Pass the file content as ASCII text, up to 256 KB; larger files can be uploaded at https://trackforge.studio/cwr-tool. Validation does not guarantee acceptance by a society. The file is not stored.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwr_textYesThe full CWR file content (ASCII text, HDR to TRL).
filenameNoOptional original filename, e.g. CW260001TF_000.V21. A society receiver code in the name selects that society's rules.
recipient_profileNoWhich society's rules to apply; cisac_base when unsure.cisac_base

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
issuesYes
storedNo
is_validYes
error_countYes
full_reportYes
issues_totalYes
record_countYes
spec_versionYes
warning_countYes
issues_truncatedYes
recipient_profileYes
status_dimensionsNo
transaction_countYes
recipient_resolutionYes
line_endings_convertedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/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, non-destructive), and the description adds genuinely new context: the file is not stored, validation does not guarantee society acceptance, and there is a hard 256 KB ASCII input limit. That is real behavioral value beyond the annotations, though it says nothing about latency, rate limits, or partial-failure behavior.

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?

A single dense paragraph, front-loaded with purpose and return shape before moving to constraints and caveats. Nearly every sentence carries information (return fields, size limit, fallback URL, non-storage, acceptance caveat), though the enumeration of societies is slightly padded.

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?

With an output schema present, the description need not detail return values, yet it briefly does so helpfully. It covers format, size limit, storage, and the acceptance caveat; the only minor gap is no guidance on interaction with the sibling catalogue/report tools, which for a self-contained validator is acceptable.

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 description coverage is 100%, so the schema already documents cwr_text, filename (including the society-receiver-code rule) and recipient_profile. The description only restates the ASCII/256 KB constraint already encoded in maxLength, adding no semantics the schema lacks — baseline 3 is correct.

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 (CWR 2.1 file validation) and names the artifact domain (songs registered with MLC, PRS/ICE, SACEM, CMRRA), which no sibling tool covers. An agent can immediately tell this apart from check_catalogue or lookup_recording.

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?

It implies when the tool applies (checking a CWR 2.1 file before society submission) and routes oversized files (>256 KB) to a web upload URL, which is useful. However, it never states when to prefer this over sibling tools like check_catalogue, nor any prerequisites beyond format/size, so usage is only implied rather than explicit.

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.

Resources