Skip to main content
Glama

compareVersions

Compare dependencies between two versions of a Maven artifact to identify changes in packages and libraries.

Instructions

Compare dependencies between two versions

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
groupIdYesMaven group ID
toVersionYesNew version
artifactIdYesMaven artifact ID
fromVersionYesOld version
Behavior3/5

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

No annotations are provided, so the description carries the full burden of disclosing behavioral traits. The description states that it compares dependencies but does not specify what the comparison includes (e.g., added, removed, upgraded dependencies), whether there are any side effects, or if it requires specific permissions or network access. This is minimal but acceptable given that 'compare' implies a read-only analysis.

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?

The description is very concise at seven words, which is efficient. However, it could be even more effective with a bit more context about what the comparison reveals. Still, it is appropriately sized and front-loaded with the key action.

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?

Given the complexity of a dependency comparison tool with four required parameters and no output schema, the description is minimally adequate. It does not explain what the output looks like or how to interpret the comparison results. With no output schema, the description should provide more details about the return values to be truly complete.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3. The description adds value by stating that it compares dependencies between two versions, which clarifies the role of 'fromVersion' and 'toVersion' as the old and new versions for comparison. However, it does not provide guidance on how to interpret the output or how the groupId and artifactId are used. The additional context justifies a slight increase above baseline.

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 'Compare dependencies between two versions' clearly states the verb ('compare') and the resource ('dependencies between two versions'). It effectively distinguishes itself from sibling tools like getLatestVersion and getDependencies, though it does not explicitly differentiate itself.

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 description implies usage for comparing dependencies, but does not provide guidance on when to use this tool versus when to use siblings like getDependencies (which likely fetches dependencies for a single version) or searchArtifacts. There are no explicit when-to-use or when-not-to-use instructions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/IvanMikhailenka/maven-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server