Skip to main content
Glama
crowdsecurity

crowdsec-local-mcp

Official

manage_waf_stack

Start or stop a Docker-based CrowdSec AppSec test stack to validate WAF rules with allowed and blocked requests.

Instructions

Start or stop the Docker-based CrowdSec AppSec test stack so the rule can be exercised with allowed and blocked requests. 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
actionYesWhether to start or stop the stack
rule_yamlNoWAF rule YAML content to mount into the stack when starting
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavior. It mentions start/stop and failure handling, but does not disclose other behavioral traits such as whether destructive (stopping may have side effects), required permissions, or rate limits. The lack of such detail limits transparency.

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 two sentences, front-loaded with the primary action and purpose. Every sentence adds value: the first states the core function, the second provides fallback guidance. No unnecessary words.

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?

For a tool with two parameters and no output schema, the description covers the essential purpose, action, and error handling. It sufficiently equips an agent to use the tool correctly, though it could mention the expected outcome of 'start' (e.g., stack running) and 'stop' (stack stopped).

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?

With 100% schema description coverage, the baseline is 3. The description adds minimal extra value beyond the schema (e.g., 'mount into the stack' for rule_yaml). It does not provide additional format or constraints, so it meets the baseline.

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 verb 'start or stop' and the resource 'Docker-based CrowdSec AppSec test stack' with the purpose of exercising rules. It is specific and distinguishes from sibling tools like manage_scenario_stack which focuses on scenarios.

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?

The description provides a clear instruction for failure handling ('prompt user to set up manually'), but lacks explicit guidance on when to use this tool versus alternatives like run_waf_tests or validate_waf_rule. Usage context is implied but not comparative.

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