Skip to main content
Glama
smccauley-dev

Ubuntu SSH MCP Server

fail2ban_unban

Unban an IP address from a specific fail2ban jail to restore access. Provide the jail name and IP address.

Instructions

Unban an IP address from a fail2ban jail.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipYesIP address to unban
jailYesJail name, e.g. 'sshd'
aliasYes
sudo_passwordNo
Behavior2/5

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

With no annotations provided, the description must reveal behavioral traits. It states 'Unban' but does not disclose that this modifies system state, requires elevated privileges, or has immediate effect. The need for sudo_password and alias is implied by the schema but not explained.

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 a single sentence with no superfluous words. It directly states the tool's purpose, exemplifying excellent conciseness and front-loading.

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?

Despite low complexity and 4 parameters with moderate schema coverage, the description omits critical context. It fails to explain the remote execution aspect (alias), why sudo_password is needed, or any side effects of unbanning. Without an output schema, the user is left uninformed about success indicators or error behavior.

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 covers 50% of parameters (ip and jail have descriptions). The description adds no further meaning beyond the schema's paraphrasing. The alias and sudo_password parameters lack any contextual explanation, which is insufficient given the incomplete schema coverage.

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?

The description clearly states the action ('Unban') and the resource ('IP address from a fail2ban jail'). It is specific and distinguishes from sibling tool fail2ban_status. However, it could mention the tool's context (e.g., remote execution via alias) for even greater clarity.

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 tool versus alternatives. It does not explain prerequisites (e.g., sudo privileges, alias definition) or circumstances for unbanning (e.g., after reviewing fail2ban logs). Competing tools like fail2ban_status are not referenced.

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/smccauley-dev/ubuntu-ssh-mcp'

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