Skip to main content
Glama

compare_dependency_versions

Read-only

Compare Maven dependency versions against latest available to determine if upgrades are major, minor, or patch.

Instructions

Compare current dependency versions against the latest available and determine upgrade types (major/minor/patch).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectPathNoProject root used to resolve declared repositories. Defaults to the current working directory.
dependenciesYesDependencies with their currently pinned version, compared against the latest available.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultsYes
summaryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, covering the safety profile. The description adds the behavioral detail that results are classified into upgrade types (major/minor/patch), which is useful, but discloses nothing about network/repository access, auth needs, or rate limits beyond the openWorld hint.

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 well-formed sentence that front-loads the action and its result with no filler. It is appropriately sized, though its brevity means the usage context is entirely omitted.

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?

With a full output schema and safety annotations, the description's coverage of purpose and output is adequate for a read-only comparison tool. It falls short on usage context and alternative routing, which matter given the dense set of version-related siblings.

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 both parameters and the nested dependency fields are fully documented in the schema. The description adds no syntax or format detail beyond it (e.g., how to handle the default projectPath or version formatting), so the baseline 3 applies.

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 names a specific verb (compare) and resource (dependency versions) and states the output (upgrade types major/minor/patch), so the agent knows exactly what the tool produces. It does not, however, distinguish itself from siblings like get_latest_version or check_multiple_dependencies, which also handle version comparison.

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 when-to-use guidance, no when-not-to-use, and no named alternative despite several closely related siblings (get_latest_version, get_dependency_changes, compare_upgrade_closure). The agent must infer the routing from the description alone.

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