Skip to main content
Glama

update_dfw_rule

Partially update a VMware NSX DFW rule by modifying only specified fields. Change action, sources, destinations, services, or other properties without affecting unchanged fields.

Instructions

[WRITE] 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
Behavior4/5

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

Annotations already indicate write, non-destructive, non-idempotent behavior. The description adds value by clarifying it is a partial update (PATCH), which is beyond the annotation set. No contradictions found.

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 concise with a clear structure: a header '[WRITE]' followed by a docstring-style parameter list. Every sentence is necessary and adds value.

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?

Given the complexity (12 parameters, no output schema), the description covers all parameters with explanations. It lacks information about return values or error behavior, but this is not required per rules when no output schema exists.

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?

With 0% schema coverage, the description compensates by listing each parameter with a brief explanation (e.g., 'Parent policy identifier' for policy_id, 'New display name (optional)' for display_name). This adds meaning beyond the schema titles and types.

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 verb 'partially update' and resource 'DFW rule', specifies the HTTP method 'PATCH', and notes that only provided fields change. This distinguishes it from sibling tools like create_dfw_rule and 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 description implies usage for modifying existing rules but does not explicitly provide when-to-use or when-not-to-use guidance relative to siblings like create_dfw_rule or delete_dfw_rule.

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