Skip to main content
Glama

nexus_detect_architecture_smells

Read-onlyIdempotent

Detect repository architecture smells via rule-based checks for unused blob stores, empty group repos, offline repos, and unapplied cleanup policies; return findings and suggested actions.

Instructions

Run rule-based checks and return findings with severity, confidence, affected objects, evidence and a suggested action. Four rules: blob stores no repository uses, group repositories without members, offline repositories and cleanup policies applied to no repository. Returns an empty list when nothing is found. It is not a security audit; for a full Markdown report use nexus_generate_audit_report. 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_detect_architecture_smells"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, non-destructive), the description discloses substantive behavior: the empty-list result when nothing is found, that coverage is limited to what the configured account can see, that missing endpoints surface under a limitations section for version/edition/permission reasons, and the three error conditions (unconfigured Nexus, rejected credentials, unreachable host). This is exactly the operational context annotations cannot convey.

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?

Content is front-loaded with the action and the rule list, then constraints, then failure modes — a sensible order with no filler. The final two sentences are dense multi-clause statements (limitations plus three error causes) that could be slightly easier to scan, keeping it just below top marks.

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?

An output schema exists, so the description need not document return shape, yet it still names the finding fields (severity, confidence, affected objects, evidence, suggested action). Combined with the rule enumeration, scope caveat, and error conditions, nothing an agent needs to invoke and interpret this tool is missing.

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 zero parameters, so there is nothing for the description to disambiguate; baseline 4 applies. No parameter semantics gap exists because the schema is empty.

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+resource ("Run rule-based checks" for architecture smells) and then enumerates the exact four rules checked, so an agent knows precisely what class of finding this produces. It explicitly names a sibling (nexus_generate_audit_report) as a different tool, reinforcing that this is the point-check rather than the reporting tool.

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 gives a clear exclusion ("It is not a security audit") and routes the agent to the named alternative when a full Markdown report is wanted. It does not differentiate against other nearby siblings such as nexus_audit_repository_content or nexus_understand_architecture, so routing is clear but not exhaustive.

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