Skip to main content
Glama

Maven Central Java Ecosystem MCP

Get Maven artifact versions

get_artifact_versions
Read-onlyIdempotent

List published release versions and timestamps for a Maven groupId and artifactId.

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": {
      "group_id": "<group_id>",
      "artifact_id": "<artifact_id>"
    },
    "name": "get_artifact_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum versions to return (default 20).
group_idYesMaven groupId (e.g. "com.google.guava", "org.apache.logging.log4j").
artifact_idYesMaven artifactId (e.g. "guava", "log4j-core").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered. The description does add the meaningful constraint that only published release versions are returned (implying snapshots are excluded) plus timestamps, but says nothing about ordering or pagination behavior beyond the schema's limit.

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?

A single front-loaded sentence with no filler; the scope and returned fields appear before any qualifiers, and nothing is repeated from the schema.

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?

For a simple, side-effect-free read tool with a fully documented three-parameter schema and complete annotations, one sentence stating the resource and returned fields (versions and timestamps) is nearly sufficient. Only ordering/pagination of results is left unspecified, a minor gap with no output schema present.

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% and each parameter carries its own description with examples, so the schema does the heavy lifting. The description only names groupId/artifactId and adds no format or semantics beyond that; 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?

States a specific verb and resource ("List published release versions and timestamps") scoped to a Maven groupId/artifactId, so the agent knows exactly what it retrieves. It does not distinguish itself from siblings such as get_latest_artifact_coords, so it stops short of a 5.

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?

Usage is only implied: needing the full version history of a known coordinate. There is no explicit when-to-use, when-not-to-use, or pointer to get_latest_artifact_coords for the single-latest-version case, which is the most likely sibling confusion.

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.