Skip to main content
Glama

pt_add_device

Add a router, switch, PC, server, or other Cisco Packet Tracer device to the logical workspace by specifying device type, model, and X/Y position.

Instructions

Add a device to the logical workspace.

Common models: routers '1941', '2901', '2911', 'ISR4321', 'ISR4331', 'Router-PT'; switches '2960-24TT', '2950-24', 'Switch-PT'; multilayer '3560-24PS', '3650-24PS'; end devices 'PC-PT', 'Laptop-PT', 'Server-PT', 'Printer-PT'; 'AccessPoint-PT', 'WRT300N' (wirelessrouter), 'Cloud-PT', 'Hub-PT', '5506-X' (asa).

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_type": "<device_type>",
      "model": "<model>",
      "x": "<x>",
      "y": "<y>"
    },
    "name": "pt_add_device"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYes
yYes
nameNo
modelYes
device_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden, yet it says nothing about side effects, whether the device is powered on after creation, name-collision behavior, valid coordinate ranges, or what the call returns. The model list is useful but is parameter data rather than behavioral disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The purpose sentence is front-loaded and tight, and the model catalog earns its space given zero schema coverage. The catalog itself is loosely formatted (mixed quoting, parenthetical hints like '(wirelessrouter)') and would be more scannable organized as model-to-device_type pairs.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Five parameters, no annotations, no output schema, and 0% schema description coverage means the description should explain far more than it does. It never addresses the optional name field, coordinate semantics, or the result of the call, leaving the agent guessing on three of five parameters.

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 has to compensate, and it does partly: it maps concrete model strings ('1941', '2960-24TT', 'PC-PT', etc.) to recognizable device categories, which is real value beyond the bare device_type enum. However, x, y, and name receive no explanation at all — an agent cannot tell whether coordinates are canvas pixels or grid units, or whether name is optional/auto-generated.

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?

The first sentence gives a specific verb and resource ("Add a device to the logical workspace"), which is enough to distinguish it from siblings like pt_add_module, pt_add_note, and pt_move_device. It stops short of explicitly contrasting itself with those alternatives, but the purpose itself 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 Guidelines2/5

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

There is no guidance on when to use this versus alternatives (e.g., pt_build_topology or pt_add_module), nor any stated prerequisites such as requiring an open project or existing workspace. The agent must infer that a project/file must already be loaded from sibling tools like pt_new_project and pt_open.

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