Skip to main content
Glama

nexus_generate_inventory_json

Read-onlyIdempotent

Export Nexus repositories, blob stores, cleanup policies and routing rules as a single JSON inventory with collector metadata and limitations. Use it to save a baseline, feed other tools, or build declared state for drift comparison.

Instructions

Export repositories, blob stores, cleanup policies and routing rules as one JSON document, plus collector metadata and limitations. Use it to save a baseline, feed another tool, or build a declared state for nexus_compare_live_state_with_declared_state; for a readable summary use nexus_understand_architecture. 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

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_generate_inventory_json"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), and the description adds real behavior beyond them: scope is limited to what the configured account can see, endpoints missing due to version/edition/permission appear under limitations, and the failure modes (Nexus unconfigured, credentials rejected, unreachable). It stops short of describing output structure or size, but the output schema exists to cover that.

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 sentences, each doing distinct work: what is produced, when to use it versus the readable alternative, and scope/error boundaries. Front-loaded with the resource list and no filler.

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?

With zero parameters, an output schema, and rich annotations, the remaining burden is scope and failure behavior — both stated explicitly, including the limitations caveat for missing endpoints. An agent has everything needed to decide to call it and to interpret partial results.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes no parameters, so the baseline is 4 and there is no parameter meaning for the description to add. The description correctly spends its words on scope and outcomes instead of redundant argument documentation.

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+resource bundle: exports repositories, blob stores, cleanup policies and routing rules as one JSON document, plus collector metadata and limitations. It also explicitly distinguishes itself from nexus_understand_architecture (readable summary) and connects to nexus_compare_live_state_with_declared_state, so an agent can tell it apart from siblings without inspecting schemas.

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?

Names three concrete use cases (save a baseline, feed another tool, build declared state for the compare tool) and points to the alternative for human-readable output. The exclusions are explicit, not inferred.

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