Skip to main content
Glama
aem-troubleshooting-mcp-server

aem-troubleshooting-mcp-server

by navi00498

list_bundles

Read-onlyIdempotent

Lists OSGi bundles from the Felix console to diagnose AEM issues, defaulting to inactive Installed/Resolved bundles and supporting name filters or all-bundle views.

Instructions

List OSGi bundles from the Felix console. By default only problem bundles (Installed/Resolved).

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": "list_bundles"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
include_allNoReturn every bundle, not only inactive ones
name_containsNoCase-insensitive filter on name

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, closed-world behavior, so the bar is lower. The description adds a genuinely important trait beyond them: results are filtered by default to Installed/Resolved bundles, which would otherwise surprise an agent expecting a complete bundle list. It doesn't mention truncation or ordering, but the core default-behavior caveat is disclosed.

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?

Two short sentences, no filler, with the default-scoping caveat stated immediately after the purpose so it is read before the agent acts.

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?

An output schema and full annotations are present, so the description need not explain return shape or safety. For a simple three-optional-parameter listing tool, purpose plus default-filter behavior is nearly sufficient; only result ordering/truncation behavior is unaddressed.

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?

Two of three parameters (include_all, name_contains) are already described in the schema; only limit lacks a description. The sentence about default problem-bundle filtering adds useful framing for include_all, and even reconciles it slightly (the schema says "inactive ones"), but nothing is said about the limit semantics or the name_contains matching behavior. Baseline 3 given 67% coverage.

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?

States a specific verb and resource ("List OSGi bundles from the Felix console") plus the default scope ("only problem bundles (Installed/Resolved)"). It does not name a sibling to contrast with, but none of the listed siblings appear to list bundles, so the resource itself disambiguates.

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

Usage Guidelines3/5

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

Usage is only implied: the default filter suggests the tool is for diagnosing problem bundles, and the include_all param covers the full-inventory case. There is no explicit "use this when..." statement, no exclusions, and no guidance on when to prefer a health/problem-summary tool over this one.

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