Skip to main content
Glama

update_dfw_rule

Modify specific fields of a Distributed Firewall rule in VMware NSX to adjust security policies, traffic flow, or logging settings without recreating the entire rule.

Instructions

Partially update a DFW rule (PATCH — only provided fields change).

Args: policy_id: Parent policy identifier. rule_id: Rule identifier to update. display_name: New display name (optional). action: New firewall action (optional). sources: New source groups (optional). destinations: New destination groups (optional). services: New services (optional). logged: New logged flag (optional). disabled: New disabled flag (optional). sequence_number: New sequence number (optional). description: New description (optional). target: Optional NSX Manager target name from config.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
policy_idYes
rule_idYes
display_nameNo
actionNo
sourcesNo
destinationsNo
servicesNo
loggedNo
disabledNo
sequence_numberNo
descriptionNo
targetNo
Behavior3/5

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

Without annotations, the description carries the full burden and successfully discloses the partial-update nature (PATCH semantics). However, it lacks critical behavioral details for a mutation tool: error handling (what happens if rule_id doesn't exist), return value format, idempotency guarantees, or side effects on active firewall rules.

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 critical PATCH behavior front-loaded in the first sentence, followed by a systematic Args list. While lengthy due to 12 parameters, this is necessary given the schema's lack of descriptions; no sentences are wasted.

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?

For a complex 12-parameter mutation tool with no annotations and no output schema, the description provides minimal viability by documenting parameters and PATCH semantics. However, gaps remain regarding success/failure responses, error scenarios, and valid value ranges (e.g., for 'action' or 'sequence_number').

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Given 0% schema description coverage (titles only), the Args section effectively compensates by documenting all 12 parameters with basic semantic meaning (e.g., 'Parent policy identifier' for policy_id, 'New firewall action' for action). It loses a point for not providing format constraints, enum values for 'action', or valid examples.

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 performs a 'Partially update' on a 'DFW rule' and explicitly notes the PATCH semantics ('only provided fields change'), which distinguishes it from full replacement operations. However, it does not explicitly differentiate 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 Guidelines3/5

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

The PATCH notation implies when to use this tool (for selective field updates without affecting unspecified fields), but there are no explicit guidelines on when to use this versus create_dfw_rule, delete_dfw_rule, or update_dfw_policy, nor any mention of prerequisites like the policy needing to exist.

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