Skip to main content
Glama

list_firewall_rules

Retrieve firewall rules for a CloudStack public IP address or rule ID to inspect filtering configuration and verify access controls.

Instructions

List firewall rules

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": "list_firewall_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoFirewall rule ID
ipaddressidNoPublic IP address ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure and supplies nothing: no statement of read-only semantics, pagination, default result limits, or whether the two optional filters combine as AND. "List" weakly implies a safe read operation, which is the only behavioral signal present.

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?

It is a single short phrase with no wasted words, so it is concise. However, this is under-specification rather than economy: the one sentence that exists conveys essentially nothing an agent could not read off the tool name.

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 two optional filters, no annotations, and no output schema, the description should at least say what happens when filters are omitted (all rules vs. an error/empty result) and roughly what comes back. None of that is present, so the definition is incomplete for even a simple list tool.

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%, so id ("Firewall rule ID") and ipaddressid ("Public IP address ID") are already documented in the schema. The description adds no meaning beyond that, which is the baseline 3 when the schema does the work.

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

Purpose3/5

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

"List firewall rules" names a verb and a resource, so an agent can tell roughly what it does. But it is a verbatim restatement of the tool name and gives no signal about how it differs from neighbors like list_egress_firewall_rules or list_load_balancer_rules, leaving the purpose minimally viable rather than clear.

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?

There is no when-to-use guidance, no mention of prerequisites, and no reference to alternatives. The agent must infer from the name alone whether this returns all rules or requires the id/ipaddressid filters, and how it relates to create_firewall_rule or delete_firewall_rule.

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

Deploy Server

Other Tools