Skip to main content
Glama

nexus_explain_repository

Read-onlyIdempotent

Explains a Sonatype Nexus repository's format, type, blob store, cleanup policies, and parent group memberships so you can understand its configuration and dependencies.

Instructions

Explain one repository: format, type, the blob store it writes to, the cleanup policies applied to it and the group repositories it belongs to. Returns an object with an 'error' field if no repository has that name; list names with nexus_understand_architecture first. For the components stored in the repository use nexus_audit_repository_content. Covers what the configured account can see; endpoints missing for version, edition or permission reasons appear under limitations. Errors if Nexus is not configured, rejects the credentials or is unreachable.

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

Input Schema

NameRequiredDescriptionDefault
nameYesExact repository name as shown by nexus_understand_architecture or the nexus://repositories resource, for example 'maven-central'.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.1
    • addedInput schema / properties / name / description
      Added value: +"Exact repository name as shown by nexus_understand_architecture or the nexus://repositories resource, for example 'maven-central'."
  2. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, and the description still adds material behavior: a returned 'error' field when the name is unknown, permission/version/edition gaps surfaced under 'limitations', and failures when Nexus is unconfigured, rejects credentials, or is unreachable. The partial-coverage 'limitations' contract is exactly the kind of thing annotations cannot express.

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?

Front-loaded purpose clause, then failure/limitation behavior, then sibling routing, then error preconditions — no filler sentences and every clause carries distinct information. Density is high but the ordering follows the agent's decision sequence.

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

Completeness5/5

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

For a single-parameter read tool with an output schema, the description covers the remaining unknowns: name discovery path, partial-result semantics via 'limitations', and connectivity/auth failure modes. Nothing an agent needs before calling it is missing.

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 the single 'name' parameter already documents exact-match semantics with an example. The description only reinforces that exactness indirectly via 'no repository has that name', adding little beyond the schema, so the baseline of 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?

The description opens with a specific verb and resource ('Explain one repository') and then enumerates exactly what is covered: format, type, blob store, cleanup policies, and group membership. That enumeration makes it trivially distinguishable from siblings like nexus_understand_architecture (which lists names) or nexus_audit_repository_content (which covers components).

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?

It gives explicit routing: use nexus_understand_architecture to discover the exact name first when a lookup fails, and use nexus_audit_repository_content if components rather than repository configuration are wanted. Both the when-to-use and the when-to-use-a-different-tool conditions 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.