Skip to main content
Glama
lucamarien

OPNsense MCP Server

by lucamarien

opn_haproxy_search

Search HAProxy resources by type including frontends, backends, servers, ACLs, and more. Returns paginated results with total count.

Instructions

Search HAProxy resources by type.

Use this to list and search any HAProxy resource. All resource types use the same paginated search pattern.

Resource types and their key fields:

  • frontends: name, bind (IPv6: [::]:443), mode (http/ssl/tcp), ssl_enabled, defaultBackend

  • backends: name, mode, algorithm (roundrobin/leastconn/source), linkedServers, healthCheck

  • servers: name, address (IPv4/IPv6), port, mode (active/backup/disabled), weight, ssl

  • actions: name, testType, operator (AND/OR), linkedAcls, useBackend

  • acls: name, expression, negate

  • healthchecks: name, type (http/tcp/agent/ldap/mysql/pgsql/redis/smtp), interval

  • errorfiles: name, code (HTTP status), content

  • resolvers: name, nameserver, timeout

  • mailers: name, mailserver, port

Returns: dict with 'rows' (list of resources) and 'rowCount' (total).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
resource_typeYes
searchNo
limitNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description provides significant behavioral info: it notes pagination, lists resource type fields, and states return format ('dict with rows and rowCount'). However, it doesn't explain search semantics (e.g., exact match vs substring) or pagination details (e.g., offset or cursor).

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 well-structured: a clear purpose sentence, followed by a bullet list of resource types with key fields, and a return format statement. Every sentence adds value, no redundancy, and it is front-loaded with the main purpose.

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

Completeness3/5

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

Given the tool's complexity (multiple resource types) and low schema coverage, the description is incomplete. It lacks search behavior details (e.g., how the 'search' parameter works) and pagination mechanics (e.g., page size limits or pagination tokens). The return format is described, but crucial usage context is missing.

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 coverage is 0%, so description must compensate. It thoroughly explains 'resource_type' by listing all values and key fields. However, 'search' and 'limit' are only mentioned by default value and type; search behavior and limit maximum are not described. This leaves gaps beyond the 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 clearly states 'Search HAProxy resources by type' and lists all resource types and their key fields. It differentiates from sibling tools like opn_haproxy_get, opn_haproxy_add, etc., by focusing on paginated search.

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 says 'Use this to list and search any HAProxy resource. All resource types use the same paginated search pattern.' This implies usage context but lacks explicit guidance on when not to use (e.g., for single resource retrieval) or alternative tools.

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