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

Packet Tracer MCP — Node.js port

pt_audit_security

Audit live Packet Tracer routers and switches to find real security gaps such as missing enable secrets, type 7 passwords, absent MOTD banners, and config-register 0x2142, reported by severity.

Instructions

Audits the REAL security posture of the live devices in PT.

It does not read the plan: it reads the effective configuration of each router/switch on the canvas and reports findings with a severity (high/medium/low). Detects a missing enable secret, credentials stored reversibly (type 7), service password-encryption off, no local users, a missing MOTD banner and config-register at 0x2142 (which discards the startup-config on the next reboot).

Passwords and hashes NEVER leave the device: only the label of the algorithm they are stored with is transmitted.

Hosts (PC/Server/Laptop) are skipped: they have no IOS configuration.

Parameters:

  • device: if given, audits only that device; empty = all of them.

Example: audit the whole topology: pt_audit_security()

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "pt_audit_security"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses what is read (effective config per router/switch), what findings look like (high/medium/low severity), the exact checks performed, that hosts are skipped, and a notable privacy behavior — passwords and hashes never leave the device, only the algorithm label. That is substantive behavior beyond anything structured data provides.

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 purpose and the plan-vs-live distinction, then the detection list, then the privacy note, then the parameter and an example. The detection inventory is long but each item adds discriminating value; minor formatting fragmentation but no filler.

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?

No output schema and no annotations, yet the description explains the result shape (findings with severity levels) and read-only scope well enough to call it confidently. A brief note on whether it mutates anything or how many findings are returned would close the remaining gap, but nothing essential is missing.

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 the description must compensate, and it does: it names the parameter, explains its meaning, and states the default semantics (empty string = audit all devices). It could add expected format for device identifiers, but the core meaning is covered.

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?

States a specific verb and resource ("audits the REAL security posture of the live devices") and immediately contrasts scope with plan-based analysis: "It does not read the plan." An agent can tell this is a live-configuration audit rather than a plan check without inspecting the schema.

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?

Gives scoping guidance for the single parameter ("if given, audits only that device; empty = all of them") and rules out hosts, but never says when to prefer this over siblings like pt_apply_hardening or pt_diff, nor any prerequisites. Usage is implied by the purpose rather than explicitly routed.

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