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

Packet Tracer MCP — Node.js port

pt_host_firewall

Enable or disable a host's inbound IPv4 or IPv6 firewall in Packet Tracer; individual rules must still be edited in the firewall window.

Instructions

A host's Desktop > Firewall / IPv6 Firewall: switches the inbound firewall on or off (True/False; None = leave alone). Individual rules have no API in PT; edit them in the window (pt_ui_open(host, app="firewall")).

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": "pt_host_firewall"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipv4No
ipv6No
showNo
deviceYes
captureNo
interfaceNo
output_dirNoscreenshots

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations provided, the description carries the full behavioral burden and only discloses that this is a mutation that turns inbound firewall settings on or off and that None leaves the setting unchanged. It does not state permission requirements, persistence, side effects on existing connections, or what the show/capture/output_dir parameters do.

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?

The definition is short and front-loads the core behavior before mentioning the rule-editing alternative. The parenthetical and line break make it slightly dense, but there is very little wasted text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter mutation tool with no annotations, no output schema, and 0% schema description coverage, the description explains only the central firewall toggle and the rule-editing alternative. It is not complete enough to tell an agent how most of the supplied parameters affect behavior.

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

Parameters2/5

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

Schema description coverage is 0%, so the description should compensate, but it only clarifies the boolean / null semantics for the firewall settings. It leaves show, capture, interface, output_dir, and device unexplained, even though those are part of the 7-parameter 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?

The description states a specific verb and resource: it switches a host's inbound IPv4 / IPv6 firewall on or off from Desktop > Firewall. It also distinguishes the rule-editing path by sending that to pt_ui_open, though the presence of unrelated-looking parameters makes the exact scope slightly less crisp.

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 gives clear usage context: use this tool to toggle the inbound firewall, use True/False, and use None to leave a setting alone. It also names the alternative for individual rules via pt_ui_open, but it does not state broader preconditions or exclusions.

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