Skip to main content
Glama

dependency-management-mcp-server

getComponentVersion

getComponentVersion
Read-onlyIdempotent

Returns detailed analysis of a specific dependency or multiple dependencies with metadata about quality, license and security. Dependencies can be referred to as packages, components or libraries. They can be transitive (brought in by other dependencies) or direct (explicitly added to the project).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
packageUrlsYesPackage URL (PURL) or list of PURLs identifying the component(s). Maven requires namespace (groupId). Version is required. When providing multiple package URLs, limit to 20 maximum.

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds meaningful context about the output content (quality, license, security metadata) and dependency terminology, going beyond what annotations provide without contradicting them.

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?

The description is three sentences, front-loaded with the core purpose. Each sentence adds distinct value: what it returns, synonyms for dependencies, and the transitive/direct distinction. There is no redundancy or fluff.

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

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, but the description specifies the output type ('detailed analysis' with metadata about quality, license, and security) and clarifies dependency types. Combined with strong annotations and full schema parameter coverage, this is adequate for a query tool, though it does not detail the exact structure of the returned analysis.

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%: packageUrls is thoroughly documented with PURL format, Maven namespace requirement, version requirement, and the 20-item limit. The description adds terminology context but does not enhance parameter understanding beyond the schema, so baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's function: 'Returns detailed analysis of a specific dependency or multiple dependencies with metadata about quality, license and security.' It specifies the resource (dependencies/components) and the verb (returns), and distinguishes from siblings by emphasizing 'specific' versus the latest/recommended alternatives.

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

Usage Guidelines4/5

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

The description provides clear context by stating it works for a 'specific dependency or multiple dependencies' and clarifies transitive vs direct dependencies. It implies use cases where a particular version is known, contrasting with siblings like getLatestComponentVersion and getRecommendedComponentVersions, though it does not explicitly name these alternatives or provide exclusion criteria.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: getComponentVersion returns analysis of specific dependencies, getLatestComponentVersion returns the latest version, and getRecommendedComponentVersions returns ranked recommendations. While there is some conceptual overlap, the descriptions effectively differentiate them.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern in camelCase: getComponentVersion, getLatestComponentVersion, getRecommendedComponentVersions. No deviations or mixed conventions.

Tool Count4/5

With only 3 tools, the surface is minimal but well-focused on version analysis. It feels slightly thin for a 'dependency management' server, but the tools are non-redundant and serve a clear niche.

Completeness3/5

The tools cover core analysis tasks but lack essential management operations like listing all dependencies, adding, removing, or updating dependencies. This leaves notable gaps for full dependency management workflows.