Skip to main content
Glama

update_dfw_policy

Modify specific fields of a VMware NSX Distributed Firewall security policy using PATCH method to adjust display name, description, sequence number, or stateful settings.

Instructions

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

Args: policy_id: ID of the policy to update. display_name: New display name (optional). description: New description (optional). sequence_number: New sequence number (optional). stateful: New stateful flag (optional). target: Optional NSX Manager target name from config.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
policy_idYes
display_nameNo
descriptionNo
sequence_numberNo
statefulNo
targetNo
Behavior3/5

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

No annotations provided, so description carries full burden. It successfully discloses the PATCH partial-update behavior and explains the 'target' parameter refers to an NSX Manager. However, it omits error handling (e.g., invalid policy_id), idempotency guarantees, or side effects expected for a mutation operation.

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?

Efficient docstring format with a clear one-line summary followed by parameter definitions. No redundant text, though the repetitive '(optional)' markers for 5/6 parameters could be consolidated via a standard note.

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?

Adequate for basic invocation: covers all inputs and the partial-update nature. However, for a mutation tool with no output schema or annotations, the absence of error condition descriptions, return value structure, or confirmation of idempotency leaves operational gaps.

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 description coverage, the Args block compensates by documenting all 6 parameters. While descriptions like 'New display name' are minimal, the 'target' parameter explanation ('NSX Manager target name from config') adds crucial domain context missing from the schema.

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?

Clearly states the tool performs a partial update of a DFW (Distributed Firewall) security policy using PATCH semantics. The 'only provided fields change' clause effectively distinguishes this from potential full-replacement alternatives.

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?

Implies usage context through 'partially update' and 'PATCH' notation, suggesting use when modifying specific fields without affecting others. However, lacks explicit guidance on when to use this versus delete/recreate workflows or prerequisites like obtaining the policy_id.

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