Skip to main content
Glama
ecp-mcp-server

ecp-mcp-server

by EpicLabs23

ecp_system_set_waf

Enable or disable OpenLiteSpeed ModSecurity web application firewall filtering for every site on the account, with confirmation required to apply the account-wide change.

Instructions

Turn the account's web application firewall (OpenLiteSpeed ModSecurity) on or off for every site it serves. Disabling it removes request filtering for all sites on this account.

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": {
      "enabled": "<enabled>",
      "confirm": "<confirm>"
    },
    "name": "ecp_system_set_waf"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYes
enabledYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the critical blast radius: disabling removes request filtering for all sites on the account. That is genuinely valuable. However it omits permissions requirements, whether the change applies immediately or after a reload, and any mention of the confirmation requirement or return behavior.

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?

Two sentences, zero waste, and the most important fact (account-wide scope) is front-loaded before the consequence sentence. Nothing is padded or restated.

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 two-parameter mutation with no annotations and no output schema, the description should cover the destructive consequence and the invocation requirements. It nails the consequence but leaves the confirmation semantics and effect timing unstated, so the agent is missing context on how to safely call it.

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 0%, so the description must compensate. 'Turn ... on or off' explains the `enabled` boolean, but the required `confirm` parameter is never mentioned in prose; its `const: true` constraint is somewhat self-documenting as a safety acknowledgment, but the description gives no rationale for it.

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?

Names a specific verb (turn on/off) and resource (the account's web application firewall, identified as OpenLiteSpeed ModSecurity), plus an explicit scope: every site the account serves. The scope qualifier alone distinguishes it from any hypothetical per-site toggle, so an agent knows exactly what this affects.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the tool toggles the firewall account-wide, and the phrase 'for every site it serves' implicitly tells the agent there is no per-site granularity here. It offers no explicit when-to-use/when-not-to-use guidance, no prerequisite checks (plan, permissions), and no named alternative for narrower operations.

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

Deploy Server

Other Tools