Skip to main content
Glama

compare_project_versions

Compare two project archives by resource path to identify added, removed, and changed resources, enabling clear review of differences between versions.

Instructions

Diff two project archives by resource path.

Args: zip_a: Path to the first archive. zip_b: Path to the second archive.

Returns: Added, removed and changed resources.

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": {
      "zip_a": "<zip_a>",
      "zip_b": "<zip_b>"
    },
    "name": "compare_project_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
zip_aYes
zip_bYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose two useful behaviors: comparison is keyed by resource path, and the result set is categorized as added/removed/changed. It says nothing about read-only safety, how missing or malformed archives are handled, or size/performance limits.

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?

Short, front-loaded, with the purpose in the opening line and Args/Returns sections that are easy to scan. The Args entries are near-redundant with the schema, but nothing is verbose.

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?

An output schema exists, so the Returns block is a bonus rather than a necessity. However, for a two-archive diff tool the definition omits the directionality of the comparison and any failure behavior, which an agent needs to call it and interpret results correctly.

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 coverage is 0%, so the description must compensate, and it only restates that each parameter is a path to an archive. The semantically important detail - which archive is the baseline and therefore how added vs removed is determined - is not stated, leaving the diff direction 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?

"Diff two project archives by resource path" states a specific verb (diff/compare) and a specific resource (project archives), plus the comparison key. It is distinguishable from compare_script_versions because it names archives rather than scripts, though it does not explicitly route away from that sibling.

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?

The description offers no when-to-use guidance, no prerequisites, and no pointer to alternatives such as compare_script_versions or validate_project. An agent must infer the use case entirely from the name and verb.

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

Deploy Server

Other Tools