Skip to main content
Glama

run_traceflow

Inject a synthetic probe packet to trace its path through the NSX overlay and identify DFW rule hits or drop reasons.

Instructions

[WRITE] Run a Traceflow to trace a packet's path through the NSX overlay.

Injects a synthetic probe packet from the source logical port and returns hop-by-hop observations including DFW rule hits and drop reasons. The result reports operation_state (IN_PROGRESS / FINISHED / FAILED) and observations discriminated by resource_type (e.g. TraceflowObservationForwarded, TraceflowObservationDroppedLogical — Dropped* entries carry reason and acl_rule_id).

Args: src_lport_id: Source logical port ID (attachment UUID of the VM NIC). src_ip: Source IP address for the probe packet. dst_ip: Destination IP address. protocol: IP protocol — TCP, UDP, or ICMP (default: TCP). dst_port: Destination port for TCP/UDP probes (default: 80). src_port: Source port for TCP/UDP probes (default: 1234). ttl: IP TTL value (default: 64). timeout_seconds: Maximum seconds to wait for completion (default: 20). target: Optional NSX Manager target name from config.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
src_lport_idYes
src_ipYes
dst_ipYes
protocolNoTCP
dst_portNo
src_portNo
ttlNo
timeout_secondsNo
targetNo
Behavior4/5

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

Description explains the injection of a synthetic probe packet and the return of operation states (IN_PROGRESS, FINISHED, FAILED) and observations. Annotations confirm non-destructive, consistent with 'WRITE' label. Missing details on authentication or rate limits, but overall transparent.

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?

Structured with a brief introductory paragraph and a clear 'Args' section. Front-loaded with purpose. Could be slightly more concise, but well-organized.

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?

Covers main behavior and parameters, but lacks full explanation of return value format (only mentions operation_state and observations by resource_type). No output schema, so description should detail all relevant result fields. Also missing guidance on handling asynchronous traces.

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?

Schema coverage is 0%, so description adds meaning: explains src_lport_id as attachment UUID, protocol options (TCP/UDP/ICMP), and defaults. Some parameters like 'target' lack explanation. Good but not exhaustive.

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 clearly states the verb 'Run' and resource 'Traceflow' to trace a packet's path through NSX overlay. It distinguishes from sibling 'get_traceflow_result' by indicating it initiates the trace and returns observations, while the sibling likely retrieves stored results.

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?

No guidance on when to use this tool versus alternatives. Does not mention that results may be asynchronous or that 'get_traceflow_result' should be used to poll final results.

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