Skip to main content
Glama
murzirius

VPS-Guardian-MCP

by murzirius

get_fail2ban_status

Check Fail2ban status, list active jails, and retrieve banned IP addresses.

Instructions

Check Fail2ban status, active protection jails, and currently banned IP addresses.

Returns: JSON string detailing active jails and banned IP addresses.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.1

TDQS

A3.7/5.0
Behavior3/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 does disclose that the tool returns a JSON string with active jails and banned IPs, which is useful. However, it does not mention whether elevated privileges are needed, how the tool behaves if Fail2ban is not installed, or whether this is strictly read-only.

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

Conciseness4/5

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

Two short sentences with high signal-to-noise ratio. The brief redundancy between 'active protection jails...' and 'active jails and banned IP addresses' is minor and does not harm comprehension.

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?

With no parameters and an output schema present, the description is largely sufficient for a simple status-check tool. It names the key return content and the tool's focus, though it does not explicitly cover failure modes or privilege requirements.

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

Parameters4/5

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

The tool has zero parameters, so the description does not need to explain any parameter semantics. The baseline of 4 applies because there is nothing to document.

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?

Description clearly states a specific action ('Check') and resource ('Fail2ban status, active protection jails, and currently banned IP addresses'). This distinguishes it from sibling tools like check_failed_logins, which focus on login attempts rather than current ban state.

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 given about when to use this tool versus alternatives such as check_failed_logins or audit_ssh_config. While the purpose is clear, the description does not help an agent choose between overlapping security-related tools.

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