Skip to main content
Glama
Packet Tracer MCP — Node.js port

Packet Tracer MCP — Node.js port

pt_apply_netflow

Configures a NetFlow exporter on a Packet Tracer device, including collector IP, UDP port, version, and monitor associations, with dry-run validation and removal support.

Instructions

Configures a NetFlow exporter on a PT device.

Unlike the rest of the advanced features, NetFlow does NOT go through CLI: it is configured directly and read back to verify it was applied. If the name already exists, it is reconfigured instead of duplicated. The exported FLOWS are not read: no way to read them was measured on PT 9 (the exporter manager has no exporter or monitor count either).

Parameters:

  • device: router where the exporter lives.

  • name: exporter name (e.g. "COLLECTOR-1").

  • destination_ip: the collector's IP. Without it the exporter is inert.

  • udp_port: the collector's UDP port (default 2055).

  • version: 9 (templates, recommended) or 5 (fixed format).

  • source_port: source interface; empty = PT picks it.

  • monitors: names of the monitors to associate.

  • remove: if True, deletes the exporter name instead of creating it.

  • dry_run: if True, only validates and returns the payload without touching PT.

Example: export to a collector at 192.168.0.50: pt_apply_netflow(device="R1", name="COLLECTOR-1", destination_ip="192.168.0.50")

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "device": "<device>",
      "name": "<name>"
    },
    "name": "pt_apply_netflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
deviceYes
removeNo
dry_runNo
versionNo
monitorsNo
udp_portNo
source_portNo
destination_ipNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does a lot: idempotent reconfiguration when the name exists, post-apply read-back verification, the explicit limitation that exported flows cannot be read back, and the consequence that a missing destination_ip leaves the exporter inert. Gaps remain around failure modes and persistence of the config, which keeps it from a 5.

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?

Front-loaded with the core statement, then a structured bulleted parameter list and a concrete call example, which is easy for an agent to parse. Slightly verbose — the aside about the exporter manager lacking exporter/monitor counts is marginal — but nearly every sentence carries actionable content.

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?

For a nine-parameter mutation tool with no annotations, no output schema, and a delete mode, the description covers configuration path, idempotency, verification, limits, defaults, and a usage example. It leaves error behavior and the shape of the dry_run payload unstated, which is the main remaining hole.

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 description coverage is 0%, so the description must supply all meaning, and it does — all nine parameters are explained with intent, defaults (udp_port 2055, version 9), an example value for `name`, and the behavioral note that `destination_ip` is functionally mandatory. The text explains semantics the bare types cannot, notably version 9 (templates) vs 5 (fixed) and source_port empty meaning PT chooses.

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 opening sentence gives a specific verb and resource: "Configures a NetFlow exporter on a PT device." It also pre-empts confusion with the generic CLI tool by stating NetFlow is not configured through CLI, though it does not name a specific sibling alternative by name.

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

Usage Guidelines4/5

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

It clearly implies when to use this instead of pt_cli ("NetFlow does NOT go through CLI") and documents the removal path via the `remove` flag and the validation-only path via `dry_run`. It stops short of stating preconditions such as the device existing or being powered on, and gives no explicit exclusions beyond the CLI note.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools