Skip to main content
Glama
AIops-tools

firewall-aiops

add_alias_entry

Add a host, network, or port entry to an existing firewall alias with dry-run preview and undo support, enabling reversible alias updates with rollback capability.

Instructions

[WRITE][risk=medium] Add one entry to an alias; reversible (undo removes it).

Captures the alias' prior entries before the change. Pass dry_run=True to preview.

Args: name: Alias name (from list_aliases). entry: The host/network/port to add. dry_run: If True, preview without changing. target: Firewall target name from config; omit for the default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
entryYes
targetNo
dry_runNo
Behavior4/5

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

No annotations exist, so the description carries the full burden. It discloses the write nature with [WRITE], assigns risk=medium, states reversibility, and reveals that it captures prior entries before changing — important context for audit/undo behavior. This is substantial behavioral disclosure beyond the schema.

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?

The description is efficient — a bolded one-line summary followed by Args in standard docstring format. The [WRITE] prefix and risk marker are purposeful. Some redundancy (dry_run repeated in summary and Args) is minor. Overall front-loaded and scannable.

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 write operation with no annotations and no output schema, the description discloses the key safety-relevant behaviors: reversibility, prior-state capture, dry-run preview, and default target behavior. It's complete for an agent to invoke correctly, though it could note the return/confirmation format.

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?

Schema coverage is 0%, so the description must compensate fully. It documents all four parameters: name (from list_aliases), entry (host/network/port to add), dry_run (preview behavior), and target (firewall target from config, omit for default). This provides meaningful context well beyond the bare schema.

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 opens with '[WRITE][risk=medium] Add one entry to an alias' — a specific verb+resource pair that clearly states the action. It explicitly mentions reversibility (undo removes it), which differentiates it from siblings like remove_alias_entry and establishes its scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description states when to use it (adding an entry to an alias) and recommends dry_run=True for preview. It references a sibling function list_aliases for getting valid names (name: Alias name from list_aliases). It doesn't explicitly say when NOT to use it vs remove_alias_entry, but the reversibility note helps with choice.

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/AIops-tools/Firewall-AIops'

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