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

Packet Tracer MCP — Node.js port

pt_delete_link

Remove a link connected to a specific device interface and verify both ports are disconnected, reporting the far end and cable.

Instructions

Delete the link connected to a specific interface on a device in PT. Reads both ends back: verified is true only when this port AND the far-end port no longer have a link. Reports the far end and the cable.

Parameters:

  • device_name: device name (e.g. "R1")

  • interface_name: interface name (e.g. "GigabitEthernet0/0", "FastEthernet0/1")

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_name": "<device_name>",
      "interface_name": "<interface_name>"
    },
    "name": "pt_delete_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
device_nameYes
interface_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It does valuable work by defining the post-condition ('verified is true only when this port AND the far-end port no longer have a link') and disclosing that the far end and cable are reported, but it says nothing about idempotency when no link exists, permission requirements, or whether cable objects are also removed.

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 action, then the verification semantics, then a parameter list — a sensible ordering with little waste. Minor filler such as 'in PT' and backtick formatting is harmless but not strictly earning its place.

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 a two-parameter mutation with no annotations and no output schema, the description covers the action, the verification outcome, and the returned information (far end, cable), which is enough for an agent to call it and interpret the result. Only error and idempotency behavior are left unaddressed.

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%, so the description must compensate, and it does: both parameters are documented with concrete format examples ('R1', 'GigabitEthernet0/0', 'FastEthernet0/1'). It does not clarify whether device_name accepts a label vs. a model name, but the added meaning well exceeds the bare 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?

States a specific verb and resource ('Delete the link connected to a specific interface on a device') with clear scope, which cleanly separates it from pt_add_link by name alone. It stops short of explicitly naming the counterpart tool, but the operation is unambiguous.

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 operation itself; there is no explicit statement of when to choose this over pt_add_link, and no mention of prerequisites such as whether the interface must already have a link or what happens if it does not. An agent can infer the context, but nothing is stated.

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