Skip to main content
Glama

get_dfw_rule_stats

Retrieve packet, byte, and session statistics for a VMware NSX Distributed Firewall rule to monitor traffic patterns and rule effectiveness.

Instructions

Get packet/byte hit-count statistics for a DFW rule.

Returns packet_count, byte_count, session_count, and population_count (number of hosts where the rule is realised).

Args: policy_id: Parent policy identifier. rule_id: Rule identifier. target: Optional NSX Manager target name from config.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
policy_idYes
rule_idYes
targetNo
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It successfully documents the return values (packet_count, byte_count, session_count, population_count) which is crucial given the lack of output schema. However, it omits operational details like data freshness, time windows for statistics, or error conditions.

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

Conciseness4/5

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

The description is well-structured with the purpose front-loaded, followed by return value documentation, and ending with an Args section. It efficiently packs necessary information into a compact format without redundancy, though the Args section could be integrated more smoothly.

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

Completeness4/5

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

Considering the absence of both output schema and input schema descriptions, the description adequately compensates by listing return fields and parameter purposes. For a read-only statistics retrieval tool with three parameters, this level of documentation is sufficient for basic invocation, though edge cases aren't covered.

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?

Given 0% schema description coverage, the Args section compensates by providing basic definitions for all three parameters (policy_id, rule_id, target). However, these descriptions are minimal ('Parent policy identifier', 'Rule identifier') and lack format specifications, constraints, or examples that would fully compensate for the schema gap.

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 clearly states the tool retrieves 'packet/byte hit-count statistics for a DFW rule' using specific verbs and resource types. It implicitly distinguishes from sibling get_dfw_rule by emphasizing 'statistics' and 'hit-count' rather than configuration, though it doesn't explicitly name the alternative.

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?

The description provides no explicit guidance on when to use this tool versus alternatives like get_dfw_rule (which likely retrieves rule configuration). While the 'statistics' terminology implies monitoring/troubleshooting use cases, there are no explicit when-to-use or when-not-to-use statements.

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