Skip to main content
Glama

nexus_get_download_url

Resolve direct artifact download URLs without fetching file content, using an asset ID or repository and component coordinates, so CI scripts can pass URLs to curl or wget.

Instructions

Resolve one or more direct download URLs without fetching content. Pass asset_id for an exact single asset, or repository + name (optionally version/group/format) to resolve by coordinates. Useful for CI scripts that just need a URL to hand to curl/wget rather than round-tripping the file's bytes through this MCP server — pair with nexus_download_asset when you actually need the bytes.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "nexus_get_download_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoComponent name to match (required if asset_id is omitted)
groupNoOptional group filter (Maven groupId, etc.)
formatNoOptional component format filter
versionNoOptional exact version filter
asset_idNoExact asset ID to resolve. If given, the coordinate fields below are ignored.
repositoryNoRepository to search within (required if asset_id is omitted)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full load, and it does disclose the most important trait: resolution only, no content transfer, plus the precedence rule that asset_id causes coordinate fields to be ignored. It does not say what happens when coordinates match multiple assets, whether authentication/permissions are required, or the shape of the response for 'one or more' matches.

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?

Three sentences, front-loaded with the core action and each sentence carrying a distinct point (what it does, how to address assets, when to prefer it). The parenthetical aside about round-tripping bytes is slightly wordy but still earns its place as the justification for the tool's existence.

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 six-parameter, read-oriented resolver with no annotations and no output schema, the description covers the important ground: no content fetch, dual addressing, and sibling routing. The remaining gap is that it never states what the tool returns (single URL vs. list of candidate URLs) or how ambiguous multi-match resolution is reported, which matters given 'one or more' in the first sentence.

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 the schema already documents all six parameters; the description's parameter content largely restates it (asset_id for exact single asset, repository + name for coordinates, version/group/format optional). It adds the useful conditional framing of which fields matter together, but no syntax, format, or matching-semantics detail beyond the schema. Baseline 3 applies.

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?

States a specific verb and resource ('Resolve one or more direct download URLs') and immediately bounds the scope with 'without fetching content', which is the crucial distinction from the download siblings. It also enumerates the two addressing modes, so an agent knows exactly what this tool does relative to nexus_download_asset.

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

Usage Guidelines5/5

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

Explicitly names the use case ('CI scripts that just need a URL to hand to curl/wget') and the alternative with its selecting condition ('pair with nexus_download_asset when you actually need the bytes'). Both when-to-use and when-to-use-something-else are stated, not implied.

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