Skip to main content
Glama

pt_audit_security

Audits live Cisco routers and switches for security issues, reports findings by severity, and flags missing enable secrets, reversible passwords, disabled encryption, and unsafe boot settings.

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

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.0

TDQS

A4.7/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 the read source (effective config on the canvas, not the plan), the specific checks performed, the severity-graded output shape (high/medium/low), the exclusion of PC/Server/Laptop hosts, and a strong privacy guarantee that passwords/hashes never leave the device and only the algorithm label is transmitted.

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?

Front-loaded with the core purpose, then the behavioral contrast, then the concrete detection list, then parameters and an example. The detection list is dense but earns its place because it tells the agent what the findings mean; nothing reads as filler.

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?

An output schema exists, so return formatting need not be explained; the description still conveys the severity vocabulary of the findings. Scope, exclusions, privacy behavior, and the sole parameter are all covered, leaving nothing an agent needs in order to call it correctly.

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 description coverage is 0% and the single parameter is undocumented in the schema, but the description compensates fully: 'device: if given, audits only that device; empty = all of them.' It does not clarify whether the value is an exact device name, case sensitivity, or what happens for an unknown name, so it falls just short of complete.

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 in PT') and immediately scopes it against an alternative interpretation ('It does not read the plan: it reads the effective configuration'). An agent can distinguish this from planning/verification siblings without opening 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 Guidelines4/5

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

Gives clear conditions: audit live device config rather than the plan, skip hosts, and optionally narrow to one device via the `device` parameter, plus a worked example. It stops short of naming a remediation or alternative tool (e.g. a hardening sibling) or stating when NOT to audit, so no explicit alternative routing.

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