Skip to main content
Glama
crowdsecurity

crowdsec-local-mcp

Official

run_waf_tests

Launch a WAF test harness and run nuclei templates to validate that CrowdSec rules trigger HTTP 403 blocks.

Instructions

Start the WAF harness and execute the provided nuclei test template against it. If this action fails because docker isn't present or cannot be run, prompt the user to set it up manually.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rule_yamlYesCrowdSec WAF rule YAML to load into the harness before running tests
nuclei_yamlYesAdapted nuclei template YAML that should trigger a block (HTTP 403)
Behavior3/5

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

With no annotations provided, the description carries full burden. It discloses the harness startup and test execution, plus a Docker failure scenario, but does not mention other behavioral aspects like side effects, success behavior, or cleanup. It is adequate but not comprehensive.

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?

The description is concise with two sentences: the first states the primary action, the second adds a practical failure hint. No unnecessary words, front-loaded with the core purpose.

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?

The description covers the basic action and a common failure case, but given no output schema, it does not describe what the tool returns on success (e.g., test results). For a tool that runs tests, this is a notable omission.

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 descriptions are already detailed. The tool description adds no new information beyond what the schema provides for each parameter. Baseline 3 is appropriate.

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 clearly states the action: 'Start the WAF harness and execute the provided nuclei test template against it.' This distinguishes it from sibling tools like generate_waf_tests or validate_waf_rule by focusing on running tests rather than generating or validating.

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?

The description provides usage context by explaining the tool's purpose and includes a failure hint about Docker. However, it lacks explicit guidance on when to use this tool versus alternatives, or when not to use it.

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

Install Server

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/crowdsecurity/crowdsec-local-mcp'

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