Skip to main content
Glama

modsecurity_host_config

Retrieve the ModSecurity configuration for a specific hostname to inspect or troubleshoot per-domain security rules.

Instructions

ModSecurity config for one hostname.

Args: hostname: vhost name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostnameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

C2.1/5.0
Behavior1/5

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

No annotations exist, so the description must disclose behavior itself, but it says only 'ModSecurity config for one hostname.' It does not state whether the operation is read-only or mutating, whether it requires the hostname to exist, or what side effects may occur. This leaves the tool's behavioral profile essentially undisclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The text is very short and avoids fluff, and the argument note is front-loaded after the main phrase. However, the brevity comes at the expense of a missing verb and behavioral context, so it is under-specified rather than optimally concise.

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

Completeness2/5

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

The tool is simple (one parameter, output schema present) yet the description omits the core operation (read vs. write) and any usage context. With no annotations, an agent would not know what invoking it accomplishes or how it relates to the ModSecurity sibling tools. The description is not complete enough for reliable selection and invocation.

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?

The schema provides only the type and title 'Hostname' with no description, so coverage is 0%. The description adds a small amount of meaning by equating hostname with 'vhost name,' but does not explain the expected format or provide examples. It partially compensates for the missing schema description but is thin for a single required parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is essentially a noun phrase that restates the tool name ('ModSecurity config for one hostname') and does not specify whether the tool retrieves or modifies the configuration. It identifies the resource and hostname scope, but the missing verb leaves the operation ambiguous. This is closer to a tautology than a clear definition.

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?

No guidance is provided about when to use this tool versus siblings such as modsecurity_global, modsecurity_all_configs, or modsecurity_user_configs. There is no mention of prerequisites, exclusions, or alternative tools. An agent has to infer the appropriate context from the tool name and sibling list.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/OpenIaaS/directadmin-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server