Skip to main content
Glama

nexus_get_latest_release

Retrieve a non-snapshot release artifact from a Nexus repository by component name, group, or format; omit the name to find a recently published component, with snapshots excluded by default.

Instructions

Find the latest release artifact in a repository. Pass name to get the newest version of a specific component, or omit it to find the most recently published non-snapshot component anywhere in the repository. SNAPSHOT-style versions are excluded by default.

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": {
      "repository": "<repository>"
    },
    "name": "nexus_get_latest_release"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoOptional component name to restrict the search to
groupNoOptional group filter (Maven groupId, etc.)
formatNoOptional component format filter
repositoryYesRepository to search within
include_snapshotsNoInclude SNAPSHOT-style versions (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses the snapshot exclusion default and, notably, that the two modes use different ordering criteria ('newest version' vs. 'most recently published'), which is meaningful behavior. But it says nothing about permissions/auth requirements, what happens when no matching artifact exists, tie-breaking rules, or what the response contains — substantial gaps for an unannotated tool.

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?

Three short sentences, front-loaded with the core purpose and followed by the two usage modes and the key default. Every sentence conveys distinct information with no repetition of the tool name or filler.

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?

There is no output schema and no annotations, so the description must stand alone, and it explains selection semantics well. It is incomplete on the return shape (coordinates, version, URL?) and on empty-result behavior, both of which an agent needs to plan a call. Adequate but with clear gaps for a 5-parameter, unannotated tool.

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 coverage is 100%, so all five parameters are already documented, making 3 the baseline. The description adds real meaning about the omission semantics of name (whole-repository scan) and reinforces the snapshot default. However, group and format receive no mention in the description, and no format or syntax guidance is added beyond the schema.

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 opens with a specific verb and resource: 'Find the latest release artifact in a repository.' It further splits the behavior into two concrete modes (named component vs. repository-wide), so an agent can tell what it retrieves. It does not, however, differentiate itself from lookalike siblings such as nexus_get_component_versions or nexus_get_asset, leaving that distinction to inference.

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?

It explicitly tells the agent how to choose between two invocation modes: supply name for a specific component's newest version, omit it to scan the whole repository for the most recently published non-snapshot component. That is actionable usage context. It stops short of naming an alternative tool or stating when-not-to-use conditions, so it falls below a 5.

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