Skip to main content
Glama

pt_connect

Cables two Packet Tracer device ports together using a specified cable type or auto selection to build and modify network topologies.

Instructions

Cable two ports together, e.g. ('R1','GigabitEthernet0/0','S1','GigabitEthernet0/1','straight'). Use 'straight' for unlike devices (PC-switch, switch-router), 'cross' for like devices (switch-switch, PC-PC, router-router Ethernet), 'serial' for WAN serial links, 'console' for PC RS232 <-> router Console. 'auto' lets PT choose.

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": {
      "device1": "<device1>",
      "port1": "<port1>",
      "device2": "<device2>",
      "port2": "<port2>"
    },
    "name": "pt_connect"
  }
}

Input Schema

NameRequiredDescriptionDefault
cableNoauto
port1Yes
port2Yes
device1Yes
device2Yes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior2/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 and mostly does not meet it. It never says whether the devices must already exist in the project, what happens if a port is already cabled (error vs replace), or whether the link persists until pt_disconnect is called.

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 action and a concrete example are front-loaded, then the cable rules follow in compact clauses with no filler. Slight cost: the tuple-style example may suggest positional arguments while the schema requires named fields.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 values need not be explained, and cable choice is well covered. What is missing is the precondition chain an agent needs to invoke it correctly, namely that devices come from pt_add_device/pt_list_devices and that an existing link may need pt_disconnect first.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/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. The example disambiguates the positional ordering of device1/port1/device2/port2 and explains five cable values, but 9 of the 14 enum values (rollover, fiber, phone, coaxial, octal, wireless, usb, cable, cellular) are left undefined, and no guidance is given on port-name syntax.

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?

"Cable two ports together" names a specific verb (cable/connect) and resource (two ports), and the worked example ('R1','GigabitEthernet0/0','S1','GigabitEthernet0/1','straight') makes the operation unambiguous. It never explicitly contrasts itself with siblings such as pt_disconnect or pt_build_topology, so it stops short of a 5.

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 real conditional guidance for cable selection: straight for unlike devices (PC-switch, switch-router), cross for like devices, serial for WAN, console for RS232-to-Console, and 'auto' to let PT decide. That is clear usage context, but there is no guidance on when to call this versus building a topology in bulk or when to disconnect first.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.