Skip to main content
Glama
gensecaihq

pfSense MCP Server

by gensecaihq

create_haproxy_frontend

Create an HAProxy frontend listener on pfSense. Configure bind addresses, type, backend, and SSL certificates to route incoming traffic.

Instructions

Create an HAProxy frontend listener

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesFrontend name
typeNoFrontend type (http, https, tcp, ssl, etc.)
descrNoOptional description
statusNoFrontend status (active, disabled)
backendNoDefault backend name to forward traffic to
bind_addressesNoList of bind address dicts. Each dict maps to the pfSense API's `a_extaddr` fields: {"extaddr": "custom", "extaddr_custom": "192.168.1.100", "extaddr_port": "443", "extaddr_ssl": true}. `extaddr` accepts only the API enum — `custom`, `any_ipv4`, `any_ipv6`, `localhost_ipv4`, `localhost_ipv6` (interface names like "wan"/"lan" are GUI-only and are NOT accepted). To bind an interface's address, use extaddr="custom" with extaddr_custom set to that interface's IP or a Virtual IP.
ssloffloadcertNoThe default SSL/TLS certificate refid to use for this frontend when any bind address has extaddr_ssl=true (from search_certificates or search_acme_certificates — use the certificate's `refid`, not its numeric `id`).
ha_certificatesNoAdditional SSL/TLS certificate refids for SNI on this frontend
apply_immediatelyNoWhether to apply changes immediately

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

The annotations indicate readOnlyHint=false and destructiveHint=false, which match the 'Create' action, so there is no contradiction. However, the description adds no behavioral context about side effects, like whether changes require apply_haproxy_changes, impact on existing configurations, or required permissions.

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

Conciseness3/5

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

The description is a single concise sentence, but it is almost entirely redundant with the tool name. It is not verbose, yet it under-specifies; a slightly more informative summary would merit a higher score.

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

Completeness2/5

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

For a tool with 9 parameters and related HAProxy management tools, the description is minimal. It does not explain the role of a frontend, how it connects to backends, or when to choose this over other HAProxy tools. The output schema covers return values, but usage context is severely lacking.

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?

Schema description coverage is 100%, with detailed parameter descriptions for bind_addresses, ssloffloadcert, and others. The description itself adds no parameter meaning beyond what the schema already provides, so the baseline score of 3 applies.

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

Purpose4/5

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

The description 'Create an HAProxy frontend listener' clearly states the action (create) and resource (HAProxy frontend). It distinguishes from other frontend tools like update/delete/search, though it doesn't elaborate on what a frontend is or provide context for when it should be used.

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?

No guidance is given on when to use this tool versus alternatives such as create_haproxy_backend or update_haproxy_frontend. It does not mention prerequisites, related configuration steps, or when applying changes is necessary.

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