Skip to main content
Glama
cvz-dev

Packet-Tracer-MCP

by cvz-dev

conectar_dispositivos

Establishes a physical cable connection between two Packet Tracer devices. Specify device interfaces and optional cable type to link them for configuration and communication.

Instructions

Conecta dos dispositivos en Packet Tracer con un cable.

FLUJO OBLIGATORIO: Siempre llama esta función después de crear_dispositivo(). Sin cables físicos los dispositivos NO se pueden configurar ni comunicar.

IMPORTANTE: Las interfaces son OBLIGATORIAS. Debes especificar la interfaz exacta de cada extremo. Usa obtener_puertos_dispositivo() si no sabes qué interfaces tiene un dispositivo.

Interfaces comunes por modelo: Router 2911: GigabitEthernet0/0, GigabitEthernet0/1, GigabitEthernet0/2, Serial0/0/0, Serial0/0/1 Router 1841: FastEthernet0/0, FastEthernet0/1, Serial0/0/0, Serial0/0/1 Switch 2960: FastEthernet0/1 … FastEthernet0/24, GigabitEthernet0/1, GigabitEthernet0/2 Switch 3560: FastEthernet0/1 … FastEthernet0/24, GigabitEthernet0/1, GigabitEthernet0/2 PC-PT: FastEthernet0 Server-PT: FastEthernet0 Laptop-PT: FastEthernet0

Esta herramienta CONFIRMA el resultado: responde [OK] solo si Packet Tracer creó el cable de verdad, y [ERROR] con las causas probables si lo rechazó.

Cables disponibles: auto — lo elige este servidor según los modelos (recomendado) straight — PC/Server↔Switch, Switch↔Router cross — PC↔PC, Router↔Router, Switch↔Switch fiber — Switch↔Switch (puertos SFP, larga distancia) serial — Router↔Router WAN (Serial DCE/DTE) console — PC↔Router/Switch (gestión) phone — Teléfono IP↔Switch o CME

CABLE SERIAL — MÓDULO WIC-2T OBLIGATORIO: Si usas tipo_cable='serial', los routers DEBEN tener el módulo WIC-2T instalado ANTES de llamar esta función. Llama agregar_modulo_router() en ambos routers primero. Sin WIC-2T los puertos Serial0/0/0 / Serial0/0/1 no existen y la conexión fallará.

Orden de operaciones recomendado:

  1. crear_dispositivo() para cada nodo

  2. agregar_modulo_router() si se usará cable serial ← OBLIGATORIO para serial

  3. conectar_dispositivos() para cada enlace

  4. configurar_dispositivo() o configurar_pc() para IPs, VLANs, rutas, etc.

Ejemplos de uso: conectar_dispositivos('R1', 'GigabitEthernet0/0', 'SW1', 'FastEthernet0/1') conectar_dispositivos('R1', 'Serial0/0/0', 'R2', 'Serial0/0/0', 'serial') conectar_dispositivos('PC1', 'FastEthernet0', 'SW1', 'FastEthernet0/2')

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
interfaz1Yes
interfaz2Yes
tipo_cableNoauto
dispositivo1Yes
dispositivo2Yes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations, the description carries full disclosure burden. It explicitly states the tool CONFIRMA el resultado: responde [OK] si Packet Tracer creó el cable de verdad, y [ERROR] con causas probables. It also reveals the prerequisite for serial cables (WIC-2T module) and that devices cannot communicate without cables. This goes beyond basic functional description to actual behavioral guarantees and side conditions.

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 description is long but densely informative, with clear section headers (FLUJO OBLIGATORIO, Interfaces comunes, Cables disponibles, CABLE SERIAL, Orden de operaciones, Ejemplos). Every section adds operational value. It is front-loaded with the mandatory flow, which is the most critical use constraint. Minor redundancy (e.g., repeating that serial requires WIC-2T) is acceptable given the importance.

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?

Given the tool's complexity (5 parameters, 4 required, 9 cable types, device interfaces, serial prerequisites), the description covers all necessary context: when to call it, how to determine interfaces, cable selection guidance, serial module requirement, and example invocations. The output schema (though not shown) is referenced via the [OK]/[ERROR] confirmation behavior, so no missing return-value details are needed.

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 fully compensate. It explains device1/device2 implicitly through examples, lists all interface options per device model, and elaborates each cable type with its use cases and constraints. It even specifies the serial requirement for the tipo_cable parameter. The parameter semantics are fully documented.

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?

The description opens with a clear verb+resource statement: 'Conecta dos dispositivos en Packet Tracer con un cable.' It distinguishes itself from the sibling conectar_router_a_pc by being the generic version, and from configuration tools by focusing solely on physical wiring. It also lists cable types and interface examples, further clarifying its scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

The description gives explicit workflow guidance: 'FLUJO OBLIGATORIO: Siempre llama esta función después de crear_dispositivo().' It states a condition for using it (only after creating devices), recommends obtener_puertos_dispositivo() if interfaces are unknown, and provides a step-by-step order of operations. It also names the alternative for serial (agregar_modulo_router) and when not to use it (without WIC-2T).

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cvz-dev/Packet-Tracer-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server