Skip to main content
Glama

nexus_get_repository

Fetch detailed configuration for a named repository in Sonatype Nexus to inspect settings and support repository operations.

Instructions

Get detailed configuration for a specific repository

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_name": "<repository_name>"
    },
    "name": "nexus_get_repository"
  }
}

Input Schema

NameRequiredDescriptionDefault
repository_nameYesName of the repository

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it says almost nothing: read-only nature is only implied by "Get", and there is no mention of authentication requirements, error behavior for a nonexistent repository, or what "detailed configuration" actually comprises. The phrase "detailed configuration" is the only hint at returned content.

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?

One short sentence, front-loaded with the verb and resource, with no filler or redundancy. It is minimal rather than padded, though the terseness is part of why other dimensions score lower.

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?

This is a simple single-parameter read tool with no output schema, so the description need not explain return fields in detail, but it also gives no indication of what configuration aspects come back or how errors are surfaced. Adequate as a minimum-viable definition, with clear room for more.

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% for the single parameter repository_name, so the schema already documents it fully. The description adds only the modifier "specific", contributing no naming conventions, path formats, or case-sensitivity details 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?

"Get detailed configuration for a specific repository" states a concrete verb (get) and resource (repository) with a scope qualifier (specific, detailed configuration). It is implicitly distinguishable from nexus_list_repositories and from the narrower siblings nexus_get_repository_owner and nexus_get_repository_size, though it never names them.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no mention of when a sibling such as nexus_list_repositories or nexus_get_repository_size is preferable, and no stated preconditions such as needing an existing repository name or valid credentials. The intended usage (fetch config for a repo you already know) must be inferred.

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