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

Packet Tracer MCP — Node.js port

pt_remove_nat

Removes NAT/PAT configuration from a Cisco Packet Tracer router, including interface inside/outside marks, translations, pools, and ACLs.

Instructions

Removes the NAT/PAT configuration from a router.

Removes the ip nat inside/outside marks from the interfaces and deletes the associated translations, pool and access-list.

Parameters:

  • router: device name in PT

  • mode: "static" | "dynamic" | "pat"

  • inside_interface: interface marked as ip nat inside

  • outside_interface: interface marked as ip nat outside

  • acl_number: number/name of the access-list used (default "1")

  • pool_name: name of the NAT pool to remove (only dynamic/pat with a pool)

  • static_mappings: mode="static" only. List of dicts with inside_local/inside_global to generate the "no ip nat inside source static ..." commands

  • dry_run: if True, returns the payload without sending it

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": {
      "router": "<router>",
      "mode": "<mode>",
      "inside_interface": "<inside_interface>",
      "outside_interface": "<outside_interface>"
    },
    "name": "pt_remove_nat"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYes
routerYes
dry_runNo
pool_nameNo
acl_numberNo1
static_mappingsNo
inside_interfaceYes
outside_interfaceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does meaningful work: it discloses exactly which configuration objects are destroyed (interface NAT marks, translations, pool, access-list) and offers dry_run to preview the payload. It does not say whether the operation is reversible, whether it errors when no NAT exists, or whether unrelated ACLs referenced by acl_number might be affected.

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 lead sentence states the action, the second sentence lists the affected artifacts, and the remainder is a compact parameter key. Front-loaded and scannable; the only mild redundancy is repeating parameter names that also appear in the schema titles.

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 an eight-parameter mutation tool with no annotations and no output schema, the definition covers purpose, blast radius, parameter meaning and a preview path, which is most of what an agent needs. Gaps remain around post-removal state, failure modes, and whether the response returns generated commands or a status.

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 compensate entirely, and it does: all eight parameters are explained, the mode values are enumerated ("static" | "dynamic" | "pat", which the schema leaves as an unconstrained string), and conditional applicability is spelled out (static_mappings for mode="static", pool_name only for dynamic/pat with a pool). It even explains that static_mappings generates the underlying "no ip nat inside source static ..." commands.

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?

States a specific verb and resource ("Removes the NAT/PAT configuration from a router") and immediately enumerates the concrete artifacts removed: interface inside/outside marks, translations, pool and access-list. This is well beyond a restatement of the name, but it never names or contrasts with the obvious siblings pt_apply_nat and pt_read_nat.

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?

Usage is only implied by the destructive framing and the dry_run parameter. There is no statement of prerequisites (e.g. NAT must already be applied), no guidance to inspect state with pt_read_nat first, and no explicit alternative tool named. An agent can infer the purpose but must guess the surrounding workflow.

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