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

aem-troubleshooting-mcp-server

by navi00498

aem_health_summary

Read-onlyIdempotent

Get a one-call AEM health overview covering OSGi bundles, DS components, replication queues, and recent error.log findings. Sections report availability to flag degraded or unknown status.

Instructions

One-call overview: OSGi bundles, DS components, replication queues and recent error.log findings.

Each section is checked independently; a section that can't be read is reported as 'unavailable' with the reason instead of failing the whole summary. The overall status is never 'healthy' unless every section was actually checked: it is 'unknown' when nothing could be read, and 'degraded' (at least) when only some sections could be read.

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

Input Schema

NameRequiredDescriptionDefault
log_linesNoHow many recent error.log lines to analyze

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.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), and the description goes further by disclosing the partial-failure contract: unreadable sections become 'unavailable' with a reason rather than failing the whole call. It also defines the status invariant ('healthy' only if every section was checked, 'unknown' when nothing read, 'degraded' otherwise), which materially affects how an agent should interpret results. It stops short of mentioning cost, latency, or permission requirements for a tool that performs four checks.

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?

Front-loaded with the scope sentence, then two short paragraphs on independent section checking and status semantics. Every sentence contributes, though the status paragraph repeats the 'healthy' condition in two phrasings that could be tightened.

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?

For an aggregating diagnostic tool with an output schema and full annotation coverage, the description supplies the two things structured fields cannot: what is aggregated and how partial failures surface in the status. Absent only operational context such as expected latency or required access levels, which are minor relative to what is covered.

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?

There is a single parameter with 100% schema description coverage (log_lines with default and minimum), so the schema carries parameter semantics and the baseline 3 applies. The description only alludes to 'recent error.log findings' without tying it to the log_lines control or its default/cost tradeoff.

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 aggregation verb-plus-resource set: OSGi bundles, DS components, replication queues and error.log findings in one call. The 'one-call overview' framing distinguishes it from the single-concern siblings (list_bundles, check_replication_queues, analyze_error_log) without naming them explicitly, so the distinction is inferable rather than spelled out.

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?

The opening phrase implies the use case (quick aggregate health check rather than a targeted probe), but there is no explicit when-to-use/when-not-to-use statement and no named alternative for follow-up drill-down. An agent can infer the role, but must reason about it rather than read it.

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