Skip to main content
Glama

compare_versions

Compare two song versions to identify tempo, key, track, section, and loudness changes; omit the second version to compare against the current song.

Instructions

What changes between two versions (b omitted = the current song): tempo/key, tracks added, removed, changed (with note counts), sections, loudness.

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": {
      "a": "<a>"
    },
    "name": "compare_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
aYes
bNo
projectNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden, and it does usefully enumerate what comes back in the diff. It never states that this is a read-only, non-mutating operation, nor what happens when a named version does not exist, and the 'project' scope is left unexplained.

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?

A single dense sentence front-loads the core question and then qualifies the default and the output categories. Nothing is redundant and no clause could be dropped without losing information.

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?

Because there is no output schema, the enumeration of diff dimensions is genuinely necessary and present. However, for a tool with three undocumented parameters and no annotations, the definition leaves the agent guessing about version identifier format and project scoping.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must define all three parameters and does not. It establishes that 'a' and 'b' are versions and that 'b' defaults to the current song, but the format of a version identifier (name, id, snapshot?) is never stated and 'project' is not mentioned at all.

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?

The description states a specific operation on a specific resource: a diff of two song versions, and it even enumerates the comparison dimensions (tempo/key, tracks added/removed/changed, sections, loudness). No sibling in the supplied list competes with it, but it never explicitly frames itself against an alternative, so it stops short of a 5.

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?

The parenthetical '(b omitted = the current song)' gives real usage guidance about the default case, which is the main decision an agent has to make. There is no guidance on when to prefer this over any other inspection tool, nor any precondition such as requiring a valid version reference.

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