Skip to main content
Glama
Apache AIops

Apache AIops

apache_modules

Read-only

Lists currently loaded Apache HTTP Server modules for a target, helping distinguish runtime-loaded modules from compiled-in ones.

Instructions

[READ] List Apache's loaded modules.

Use for currently loaded modules; use apache_compiled_modules for modules built into the binary.

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

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.2/5.0
Behavior3/5

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

The readOnlyHint annotation already declares this as a safe read, and the '[READ]' prefix merely restates it. The one piece of added value is the outcome contract ('structured data or an explicit, sanitized operation error'), which tells the agent failures come back sanitized rather than as raw exceptions. It does not say anything about ordering, volume, or whether the module list is expensive to fetch.

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: read marker, purpose, disambiguation, and result contract. Everything is front-loaded and no sentence is padding.

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 one-optional-parameter read with no output schema, the definition covers purpose, alternative, and error shape adequately. The only soft spot is that 'structured data' leaves the return shape unspecified, though that is minor for a simple listing tool.

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 coverage is 100% and the single optional 'target' parameter is documented there as a configured target name with a default-connection fallback. The description adds nothing about it, so the schema does all the work; 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 opens with a specific verb and resource ('List Apache's loaded modules') and immediately scopes it against the near-miss sibling 'apache_compiled_modules'. An agent can distinguish the two 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 both when to use this tool ('currently loaded modules') and the explicit alternative for the other case ('apache_compiled_modules for modules built into the binary'). The selection condition is fully specified.

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