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

aem-troubleshooting-mcp-server

by navi00498

list_oak_indexes

Read-onlyIdempotent

Lists Oak index definitions under /oak:index with key settings and flags stuck reindexing or bad configurations to help triage AEM index issues.

Instructions

List Oak index definitions under /oak:index with key settings, and flag stuck reindexing or bad configs.

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

Input Schema

NameRequiredDescriptionDefault
index_typeNolucene, property, ordered, disabled, ...
name_containsNoCase-insensitive filter on index 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 declare readOnlyHint, idempotentHint, destructiveHint=false and a closed world, so the safety profile is covered. The description adds value beyond that by disclosing that results include key settings and that problematic indexes (stuck reindexing, bad configs) are flagged rather than merely enumerated.

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?

A single sentence that front-loads the resource and scope, then the added diagnostic behavior. No redundant restatement of the name or filler wording.

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?

With an output schema present, return shape need not be explained, and annotations cover safety. The description is sufficient for a read-only two-filter listing tool, missing only explicit guidance on when to prefer it over get_index_definition.

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 both optional filters (index_type, name_contains) are documented in the schema with examples. The description adds no extra meaning about how filtering interacts with the diagnostic flags, so the baseline of 3 applies.

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 ('List') and resource ('Oak index definitions') plus the scope ('/oak:index') and an added capability (flagging stuck reindexing or bad configs). An agent can tell what it returns without reading the schema, though it never names the sibling get_index_definition to sharpen the contrast.

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 implied: bulk listing with diagnostic flagging, as opposed to fetching one definition or querying content. There is no explicit 'use this when' statement and no exclusion pointing to get_index_definition for single-index detail, so the agent must infer the choice.

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