Skip to main content
Glama
Apache AIops

Apache AIops

apache_diagnose

Read-only

Correlates Apache version, configuration, vhosts, modules, and optional HTTP probe data to support cross-probe triage of server issues.

Instructions

[READ] Correlate version, config, vhosts, modules and optional HTTP probe.

Use for cross-probe triage; use apache_config_check for syntax validation alone.

Result: structured data or an explicit, sanitized operation error.

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

Input Schema

NameRequiredDescriptionDefault
targetNoConfigured target name; omit to use the default connection.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.2
    • addedInput schema / properties / target / description
      Added value: +"Configured target name; omit to use the default connection."
  2. First observedv0.2.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered and the '[READ]' tag is mostly redundant. The description adds genuine value beyond annotations by disclosing the return contract ('structured data or an explicit, sanitized operation error'), which matters because there is no output schema. It does not explain what makes the HTTP probe 'optional' or whether the probe adds latency/network dependency, leaving one behavioral gap.

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 short lines, front-loaded with the operation scope, then routing guidance, then the result contract. No filler sentences and nothing buried.

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 a read-only composite diagnostic with one fully documented parameter and no output schema, the description covers purpose, sibling routing, and error behavior adequately. The remaining gap is the mechanics of the 'optional' HTTP probe — whether it runs automatically, and whether it is slow or requires reachability — which an agent would want to know before invoking a cross-probe triage.

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 the single 'target' parameter is documented in the schema as the configured target name with default-connection fallback. The description says nothing about the parameter, so it adds no meaning beyond the schema; baseline 3 applies.

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 names a specific verb ('Correlate') and enumerates exactly which resources are pulled together: version, config, vhosts, modules, and an optional HTTP probe. It also explicitly distinguishes itself from apache_config_check, so an agent can tell the composite diagnostic apart from the single-purpose syntax checker without opening either schema.

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?

It states the selecting condition directly ('Use for cross-probe triage') and names the alternative with the condition that selects it ('use apache_config_check for syntax validation alone'). This is explicit when-to-use plus a concrete alternative, not merely implied context.

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