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

Packet Tracer MCP — Node.js port

pt_read_nat

Read a router's real NAT state—translation table, counters, and inside/outside interfaces—and flag missing inside/outside interfaces so you can verify NAT configuration.

Instructions

Reads a router's REAL NAT state: the translation table, NAT counters (inside source lists, statics, pools) and inside/outside interfaces.

Flags a router with NAT but without both an inside and an outside interface. Use it to check a pt_apply_nat.

Parameters:

  • device: router name; empty = every router with NAT.

Example: pt_read_nat(device="R1")

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_read_nat"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full load, and it does disclose behavior beyond the name: it reports runtime tables and counters rather than config, and it actively flags routers that have NAT configured without both an inside and an outside interface. It does not describe output structure or any preconditions for the flag to appear, which keeps it short of 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded statement of what is read, then the diagnostic behavior, then parameters and a usage example — four tight blocks with no filler. Every sentence contributes distinct information.

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?

With no output schema and no annotations, the description steps in to say what is returned (tables, counters, interfaces) and what anomalous condition is surfaced. Minor gaps remain around the shape of the returned data and how a flagged router is represented, but the tool is simple enough that this is close to sufficient.

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: "device: router name; empty = every router with NAT" explains both the value's meaning and the default's scope, which the bare {"type":"string","default":""} schema cannot convey. It stops short of naming the expected format (hostname vs. other identifier), a minor gap for a single-parameter tool.

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 ("Reads a router's REAL NAT state") and enumerates the concrete artifacts returned: translation table, NAT counters in source lists/statics/pools, and inside/outside interfaces. The word "REAL" distinguishes runtime state from configuration, which separates it from config-oriented siblings such as pt_apply_nat.

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 an explicit use case: "Use it to check a pt_apply_nat," which ties invocation to a clear workflow step. It lacks an explicit when-not or a named alternative for reading configured-but-unapplied NAT, but the practical trigger is unambiguous.

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