Skip to main content
Glama

compare_asset_versions

Compare metadata and artifact hashes between two exact asset versions to verify changes and ensure version integrity before production transitions.

Instructions

Compare the metadata and artifact hashes of two exact asset versions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
asset_idYes
asset_typeYes
left_versionYes
project_rootYes
right_versionYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It hints that comparison covers metadata and artifact hashes, which is useful, but it does not clarify whether this is read-only, what happens on version mismatch, or any permission requirements. The disclosure is thin for a mutation-capable environment.

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, front-loaded sentence with no filler. It is efficient, though its brevity contributes to the gaps in other dimensions rather than being tight but complete.

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

Completeness2/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, but for a five-parameter tool with 0% schema coverage and no annotations, the description leaves too much unstated: parameter roles, whether it is safe/read-only, and when a comparison is appropriate. It is inadequate for the tool's complexity.

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% across five parameters. The description implies left_version/right_version semantics through 'two exact asset versions' and references asset context, but project_root, asset_type, and asset_id receive no semantic explanation anywhere, leaving most parameters ambiguous.

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 verb (Compare) and resource (metadata and artifact hashes of two exact asset versions), which is more precise than the bare tool name. However, it does not differentiate itself from siblings like inspect_asset or inspect_project that could also expose version data, leaving some ambiguity about scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no indication of when to use this tool versus alternatives such as inspect_asset (single asset) or promote/archive_version (mutations). No prerequisites or context for invoking a comparison are given.

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