Skip to main content
Glama
lucamarien

OPNsense MCP Server

by lucamarien

opn_haproxy_delete

Delete a HAProxy resource by UUID, after verifying dependencies to avoid configuration errors.

Instructions

Delete a HAProxy resource by UUID.

IMPORTANT: Check for dependencies before deleting:

  • Delete servers before deleting backends that reference them

  • Delete actions/ACLs before deleting frontends/backends that link them

  • Delete backends before deleting frontends that use them as defaultBackend

Resource types: frontends, backends, servers, actions, acls, healthchecks, errorfiles, resolvers, mailers.

NOTE: Changes are NOT applied until you call opn_reconfigure_haproxy.

Returns: dict with 'result' indicating success.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
resource_typeYes
uuidYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/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. It discloses key behaviors: the deletion is permanent, requires dependency checks, and changes are not applied immediately until reconfigure. It does not detail error handling or side effects, but the essential behavioral traits are covered.

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 concise and well-structured. It opens with the main action, then clearly presents dependency warnings, resource types, a reconfigure note, and return value. Every sentence adds necessary information without redundancy.

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?

Given the tool's complexity (dependencies, deferred application), the description covers the essential context: resource types, deletion order, and reconfigure requirement. It lacks information about error responses or what happens if the resource doesn't exist, but the output schema and basic return dict are mentioned. Overall, it is sufficiently complete for an agent to use the tool correctly.

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 has 0% description coverage, but the description adds value by enumerating valid resource types (frontends, backends, servers, etc.). However, the uuid parameter is not described beyond being a UUID. The list of resource types helps understand the 'resource_type' parameter, but it is not explicitly linked as a parameter value list.

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 action: 'Delete a HAProxy resource by UUID.' It specifies the resource type (HAProxy) and identifier (UUID), and lists the specific resource types that can be deleted. This distinguishes it from other delete tools in the sibling list.

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 provides critical usage guidelines, including dependency order (e.g., delete servers before backends) and the need to call opn_reconfigure_haproxy to apply changes. It does not explicitly compare to alternative tools (e.g., opn_haproxy_update), but the context is clear enough for the agent to use it appropriately.

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/lucamarien/opnsense-mcp-server'

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