Skip to main content
Glama

operate_fail2ban

Operate the Fail2ban service on a 1Panel server by starting, stopping, or restarting it to control intrusion prevention and apply configuration changes.

Instructions

Operate Fail2ban (start/stop/restart)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It implies a service-level mutation but says nothing about side effects (e.g. that 'stop' disables ban enforcement), required permissions, or reversibility. The single parenthetical is the only behavioral clue.

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?

It is one short, front-loaded line with no wasted words, but it is under-specified rather than truly concise. The brevity leaves the definition adequate-but-thin rather than efficient.

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?

For a mutation tool with no annotations and no output schema, the description should explain effects and distinguish it from operate_fail2ban_ssh. Neither is present, leaving an agent with only a service name and three verbs.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single 'operation' parameter is only an enum of start/stop/restart. The description merely repeats those same three values and adds no meaning beyond the enum, so it fails to compensate for the coverage gap.

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

Purpose3/5

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

The verb 'operate' is vague, but the parenthetical '(start/stop/restart)' pins down the actual actions and the resource (Fail2ban) is clear. It does not differentiate from the sibling operate_fail2ban_ssh, which is a near-identical name, so the agent must infer the distinction.

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 on when to use this versus operate_fail2ban_ssh or the get_fail2ban_base_info/update_fail2ban_conf siblings. No prerequisites, no conditions, no exclusions are stated.

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