Skip to main content
Glama

sysknife_fail2ban_status

Read-onlyIdempotent

Read fail2ban jail status to check active bans and jail health; optionally specify a jail or omit it to view all jails.

Instructions

Read-only SysKnife action Fail2banStatus. show fail2ban jail status — optional param: jail (omit for all jails); read-only

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.27.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured data. The description's repeated 'read-only' adds no new behavioral information; the only real addition is the jail-scoping behavior, and it says nothing about what the status output contains or whether it requires privileges.

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?

One compact line with the resource stated first and the parameter note trailing, so it is front-loaded and cheap to parse. It loses a point for saying 'read-only' twice in the same sentence, once in the prefix and again as a suffix.

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 no-required-parameter, no-output-schema status read whose annotations already cover safety and idempotency, the definition gives everything needed to invoke it correctly. The only missing element is any hint of what the returned jail status includes, which is minor given the tool's simplicity.

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 schema declares zero properties (additionalProperties: true), so the description is the only place the optional `jail` argument is surfaced — genuinely useful information an agent would otherwise miss. It stops short of describing the accepted format or values for `jail`, which is the only gap.

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

Purpose4/5

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

States a specific verb+resource combination ('show fail2ban jail status') that is unambiguous and clearly distinct from neighboring status tools like sysknife_ufw_status or sysknife_get_firewall_state. It does not explicitly name a sibling to contrast with, keeping it just below a 5.

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 'omit for all jails' note gives concrete guidance for the single scoping decision, but there is no statement of when to reach for this tool versus the many other firewall/security status siblings. Usage is implied by the tool's domain rather than spelled out.

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