Skip to main content
Glama
Apache AIops

Apache AIops

apache_vhosts

Read-only

Displays Apache's parsed virtual-host mapping for a configured target or default connection, enabling diagnosis of host routing and configuration issues.

Instructions

[READ] Show Apache's parsed virtual-host mapping.

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

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

B3.2/5.0
Behavior3/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. The description adds genuine context by saying the result is either structured data or a sanitized operation error, which signals that failure output is scrubbed — but it says nothing about what the mapping contains (hostnames, ports, docroots) or any failure modes.

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?

Two short sentences, front-loaded with the purpose and followed by return-shape information; nothing is wasted. The '[READ]' tag and 'Result:' line read as template scaffolding rather than prose, costing it the top score.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read-only tool with one optional parameter and no output schema, the description covers purpose and error behavior but leaves the shape of the returned mapping undefined. An agent knows what the call does but not what fields it can expect to consume.

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% for the single optional 'target' parameter, so the schema already explains default-connection fallback. The description adds nothing beyond that, which is the correct baseline when structured data does the work.

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 — 'Show Apache's parsed virtual-host mapping' — with the qualifier 'parsed' telling the agent this is interpretation of config rather than the raw files. It does not explicitly distinguish itself from siblings like apache_static_directives or apache_runtime_config, so it falls short of a 5.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no named alternative for retrieving Apache configuration information. The '[READ]' prefix implies a safe inspection call, but which sibling to prefer for directive-level or runtime data is left entirely to inference.

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