Skip to main content
Glama

apply_vm_tag

Add NSX security tags to virtual machines for microsegmentation and policy enforcement. Preserves existing tags while applying new scope-value pairs to organize VMs into security groups.

Instructions

Apply an NSX tag to a virtual machine.

Existing tags on the VM are preserved — this operation is additive. Use list_vm_tags to get the vm_id (external_id) first.

Args: vm_id: VM external ID (fabric UUID, obtainable from list_vm_tags). tag_scope: Tag scope string (e.g. 'env', 'tier', 'owner'). tag_value: Tag value string (e.g. 'production', 'web'). target: Optional NSX Manager target name from config.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vm_idYes
tag_scopeYes
tag_valueYes
targetNo
Behavior4/5

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

With no annotations provided, description carries full burden. Discloses critical mutation behavior ('Existing tags... preserved — this operation is additive') and prerequisite dependency. Lacks disclosure on idempotency, permissions, or error states, preventing a perfect score.

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?

Excellent structure: purpose statement → behavior clarification → prerequisite instruction → parameter details. Every sentence earns its place. Args section is necessary given zero schema descriptions, making the length appropriate rather than verbose.

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?

For a 4-parameter mutation tool with no output schema and no annotations, description provides sufficient context: clear purpose, behavioral constraints, prerequisite workflow, and complete parameter semantics. Agent has enough information to invoke correctly without additional metadata.

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

Parameters5/5

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

Schema coverage is 0%, requiring description to fully compensate. Richly documents all 4 parameters: vm_id includes format (fabric UUID) and source (list_vm_tags), tag_scope/value include concrete examples (env/tier/production), target explains origin (config). Fully compensates for schema deficiency.

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?

Description opens with specific verb 'Apply' + resource 'NSX tag' + target 'virtual machine'. Explicitly distinguishes behavioral model as 'additive' versus destructive replacement, clarifying intent among sibling tagging tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicitly states prerequisite workflow: 'Use list_vm_tags to get the vm_id... first'. Clarifies when-not-to-use implicitly by specifying the ID source. The additive behavior note guides selection over hypothetical replacement operations.

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