Skip to main content
Glama
gensecaihq

pfSense MCP Server

by gensecaihq

delete_firewall_state

Destructive

Delete a firewall state by its ID to immediately terminate an active connection. This irreversible action drops the associated session, helping manage or block specific network flows.

Instructions

Delete a specific firewall state (active connection) by ID. WARNING: This is irreversible.

Terminating a state will immediately drop the associated connection.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesState ID (from search_firewall_states)
confirmNoMust be set to True to execute. Safety gate for destructive operations.
dry_runNoIf True, preview the operation without executing.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

It adds the warning that deletion is irreversible and immediately drops the associated connection, going beyond the annotations' destructiveHint. This provides actionable impact awareness for the agent.

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 two sentences, front-loading the action and outcome with no redundant content. The warning is prominently placed and efficient.

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?

With annotations, schema, and output schema present, the description covers the key semantic aspects: what is deleted, the immediate connection drop, and irreversibility. It doesn't need to explain return values or the confirm/dry_run mechanics, which the schema already handles.

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?

The input schema already provides complete descriptions for all three parameters (id, confirm, dry_run), including the confirm safety gate. The description adds no parameter-level detail, but the 100% schema coverage supports the baseline of 3.

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 uses a specific verb ('Delete') with the resource ('firewall state') and clarifies that a state is an active connection. This precisely distinguishes it from other delete tools operating on different firewall components.

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 clearly implies the tool is for removing a specific firewall state by ID, which is the only tool for this purpose. However, it doesn't explicitly name alternatives or exclusions, so it misses the full mark.

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/gensecaihq/pfsense-mcp-server'

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