Skip to main content
Glama

List Firewall IP Sets

hestia_list_firewall_ipsets
Read-onlyIdempotent

List configured HestiaCP firewall IP sets and blocklist sources to inspect named IP sets referenced by firewall rules; use for IP set inventory, not the rule table itself.

Instructions

List configured HestiaCP firewall IP sets and blocklist sources via v-list-firewall-ipset. Use when inspecting named IP sets referenced by firewall rules; prefer hestia_list_firewall_rules for the firewall rule table itself. Returns { ok, targetId, command, data (map keyed by ipset name) }.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "hestia_list_firewall_ipsets"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetIdNoConfigured target identifier (defaults to "default").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.3

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare the read-only, idempotent, non-destructive profile. The description adds useful context by naming the underlying command and describing the return shape, including that data is a map keyed by ipset name. It does not need to repeat safety behavior already covered by annotations.

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 compact and front-loaded: purpose first, usage guidance second, return shape third. Every sentence contributes useful information with no redundant wording.

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

Completeness5/5

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

For a simple one-parameter, read-only list tool with complete annotations and full schema coverage, the description supplies the needed context. It also compensates for the lack of an output schema by summarizing the return structure.

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 100%, so the single optional targetId parameter is already documented in the schema. The description does not add extra meaning about targetId beyond what the schema provides, which is acceptable for this baseline.

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 and resource: 'List configured HestiaCP firewall IP sets and blocklist sources'. It also names the underlying command and explicitly distinguishes this tool from hestia_list_firewall_rules.

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

Usage Guidelines5/5

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

It states when to use the tool ('inspecting named IP sets referenced by firewall rules') and names the preferred alternative for the firewall rule table itself. This gives clear routing guidance without ambiguity.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.