Skip to main content
Glama

csf_allow_ip

Whitelist an IP address in CSF to bypass closed firewall ports, with optional temporary TTL and comment for clear rule tracking.

Instructions

Whitelist an IP in CSF (csf -a / temporary allow).

Allowed IPs bypass closed ports but LFD can still block them unless ignored.

Args: ip: IPv4, IPv6, or CIDR. comment: Note stored with the rule. temporary: Use a TTL instead of a permanent allow. ttl_seconds: Lifetime when temporary=true. confirm: Required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipYes
commentNoallowed-via-directadmin-mcp
confirmNo
temporaryNo
ttl_secondsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are provided, so the description carries the behavioral burden. It discloses the key non-obvious caveat (LFD can still block allowed IPs), explains temporary vs permanent allow behavior, comment storage, and the required confirm flag. It could add effects like persistence or removal, but the main safety-relevant behavior is already transparent.

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 tight and front-loaded: action, non-obvious caveat, then a compact Args list. Every sentence carries information, and there is no redundant restatement of the tool name or schema defaults.

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 firewall-mutation tool with no annotations and zero schema descriptions, the text covers the action, all parameters, and the important LFD limitation; an output schema is present, so return-value documentation is not required. It is slightly incomplete only because confirm's required value/type is not fully spelled out, and the ignore alternative is not named.

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

Parameters5/5

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

Schema description coverage is 0%, yet the description defines every parameter: ip explains accepted formats (IPv4/IPv6/CIDR), comment says the note is stored, temporary contrasts TTL vs permanent, ttl_seconds is scoped to temporary=true, and confirm is flagged as required. This adds important meaning beyond the bare schema.

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 opens with a specific verb and resource: 'Whitelist an IP in CSF', and clarifies it maps to csf -a or a temporary allow. It clearly distinguishes the action from blocking/removal by stating allowed IPs bypass closed ports, but it does not explicitly name a sibling such as csf_ignore_ip, so it stops short of full sibling differentiation.

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?

It gives useful context: allowed IPs bypass closed ports but LFD can still block them unless ignored, which implies when a stronger csf_ignore_ip action might be needed. However, it never explicitly says when to choose csf_allow_ip over csf_deny_ip or csf_ignore_ip, or when not to use it, so usage guidance remains implied rather than stated.

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

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/OpenIaaS/directadmin-mcp-server'

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