Skip to main content
Glama

create_firewall_rule

Add a firewall rule to a 1Panel v1.x server to control inbound or outbound traffic. Specify rule details to permit or block network access.

Instructions

Create firewall rule

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ruleYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

D1.8/5.0
Behavior1/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 of behavioral disclosure for a mutation tool. It says nothing about required permissions, what the 'rule' object must contain, whether the rule takes effect immediately, or how conflicts with existing rules are handled.

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

Conciseness2/5

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

The one-line description is short but under-specified rather than concise; there is no wasted wording, but also no information, so brevity here reflects a lack of content rather than efficiency.

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

Completeness1/5

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

A write tool with no annotations, no output schema, and an opaque nested object parameter needs substantial description to be callable correctly. Nothing here tells an agent what a valid rule payload looks like or what happens on success or failure.

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

Parameters1/5

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

Schema description coverage is 0% and the single parameter 'rule' is an undocumented nested object. The description adds no field names, structure, or examples, leaving the most important part of the call completely opaque.

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

Purpose3/5

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

The description states a clear verb ('Create') and resource ('firewall rule'), so the basic action is unambiguous. However it merely restates the tool name and adds no scope, target system, or differentiation from the sibling 'delete_firewall_rule' and 'list_firewall_rules'.

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?

There is no when-to-use guidance, no prerequisites, and no mention of related tools. An agent gets no help deciding between this and the sibling firewall operations.

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

Deploy Server

Other Tools