Skip to main content
Glama

list_dfw_rules

Read-onlyIdempotent

Retrieve rules from a DFW security policy with details like action, sources, destinations, and services. Paginate through large rule sets using limit and offset parameters.

Instructions

[READ] List rules in a DFW security policy.

Returns each rule's id, display_name, action, sources, destinations, services, direction, disabled flag, and sequence number. Defaults to the first 50 rules — large Application policies can hold thousands, so use offset to page rather than draining every rule into context.

Args: policy_id: Parent policy identifier. target: Optional NSX Manager target name from config. limit: Max rules to return (default 50). offset: Number of rules to skip (pagination).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
offsetNo
targetNo
policy_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already indicate readOnly, openWorld, idempotent, non-destructive. The description adds that it returns specific fields (id, display_name, action, etc.) and notes pagination behavior. Does not contradict 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?

Well-structured: starts with [READ] tag, then purpose, returned fields, pagination advice, and parameter list. Every sentence adds value, no fluff. Front-loaded with important info.

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?

Covers all necessary aspects: purpose, return fields, pagination handling, and parameter meanings. With an output schema present, it does not need to detail return structure further. Complete for a 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 coverage is 0%, so description adds meaning: policy_id as 'Parent policy identifier', target as 'Optional NSX Manager target', limit with default and purpose, offset as pagination skip. However, explanations are minimal and could be more detailed.

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 tool lists rules in a DFW security policy, with specific verb 'list' and resource 'rules in a policy'. It differentiates from sibling tools like create_dfw_rule or delete_dfw_rule.

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?

Provides guidance on pagination: 'use offset to page rather than draining every rule into context' due to large policies. Does not explicitly mention alternatives or when not to use, but the context is clear.

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/zw008/VMware-NSX-Security'

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