Skip to main content
Glama

linux_iptables_rule_generator

Generate iptables-restore and nftables firewall rules by configuring chain policies, NAT, port forwarding, IP lists, and common service rules through a form-based interface.

Instructions

Menu ID: iptables_rule_generator. Iptables Rule Generator. Generate iptables-restore and nftables firewall rules from a form: INPUT/OUTPUT/FORWARD chain policies, NAT, port forwarding (DNAT/MASQUERADE), allow/deny IP lists, common service rules. Use describe_tool with tool_id "iptables_rule_generator" for full page guidance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
defaultsYes
allowLoopbackYes
allowEstablishedYes
rulesYes
Behavior3/5

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

No annotations provided, so description carries full burden. It discloses that the tool generates rules without destructive side effects, but does not detail any specific behavioral traits like rate limits or permissions. Acceptable for a generation tool.

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?

Two sentences provide the purpose and additional guidance without unnecessary text. Information is front-loaded and every sentence adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity with nested objects and 4 required parameters, the description gives a high-level overview but lacks detailed parameter semantics and return value information. It does not fully compensate for the lack of output schema or schema descriptions.

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?

With 0% schema description coverage, the description must compensate. It mentions components like chain policies, NAT, and allow/deny lists, which map to the schema properties (defaults, allowLoopback, allowEstablished, rules), but does not explain each parameter's meaning or format in detail. Partial but not thorough.

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?

The description clearly states the tool generates iptables-restore and nftables firewall rules from a form, listing specific components like chain policies, NAT, and port forwarding. It distinguishes itself from siblings by focusing on Linux firewall rule generation.

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 description implies usage for generating firewall rules but does not explicitly state when to use this tool over alternatives. It mentions using describe_tool for full guidance, which provides some direction but lacks explicit when-to-use or when-not-to-use criteria.

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/Jambozx/onlinecybertools-mcp-server'

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