Skip to main content
Glama

security_apache_check

Read-only

Apache config security audit — Offline audit of an Apache httpd.conf, virtual host or .htaccess: open , open forward proxy (ProxyRequests On), exposed server-status/server-info/balancer-manager, directory listing, weak SSLProtocol (decodes 'all -SSLv3' into TLS 1.0/1.1), weak SSLCipherSuite, SSLCompression, CORS that echoes Origin with credentials, missing HSTS/nosniff/X-Frame-Options, HTTP vhosts without HTTPS redirect, ServerTokens/ServerSignature/TraceEnable, PHP display_errors/allow_url_include, AllowOverride All, dotfile exposure. Pass text= or url=. Returns verdict PASS/REVIEW/FIX BEFORE DEPLOY/BLOCK, score, grade, virtual hosts and findings with line numbers and fixes. Price: $0.006 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>"
    },
    "name": "security_apache_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes<Directory /> Options Indexes Require all granted </Directory> ProxyRequests On

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description adds genuinely new behavior: the four-tier verdict scale (PASS/REVIEW/FIX BEFORE DEPLOY/BLOCK), the score/grade output, findings with line numbers and fixes, and a per-call price of $0.006 USDC via x402. The payment requirement is exactly the kind of context annotations cannot convey; only rate limits and statelessness are left unstated.

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?

Purpose and offline scope are front-loaded, and the long check enumeration is dense but earns its place by letting an agent match a specific finding to this tool. The single run-on sentence is harder to scan than a short bulleted list would be.

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 no output schema, the description carries the return-value burden and does so well, naming the verdict, score, grade, virtual hosts, and findings with line numbers and fixes. The only real gap is the phantom 'url' input, which conflicts with the one-parameter schema.

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 there is only one parameter, so the baseline is 3. The description adds that the input is raw config text, but it also says 'Pass text= or url=' while the schema exposes only a required 'text' property — an agent following the description could attempt a nonexistent 'url' argument.

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?

States a specific verb and resource ('Apache config security audit — Offline audit of an Apache httpd.conf, virtual host or .htaccess') and enumerates the exact misconfigurations it detects, which lets an agent distinguish it from security_nginx_check and the other security_* siblings without opening the schema.

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

Usage Guidelines4/5

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

Gives clear operating context: it is an offline audit of config text, and 'Pass text= or url=' tells the agent how to supply input. It does not explicitly say when to prefer it over a sibling such as security_nginx_check, but the Apache-specific framing makes the boundary obvious.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources