Skip to main content
Glama

Add a Device to the Network

add_device_to_network

Adds a specified router, switch, PC, or other Packet Tracer device to the logical workspace, optionally setting its display name and X/Y coordinates.

Instructions

Add a device to the logical workspace. Returns the device's name (Packet Tracer assigns one such as 'Router0'; it is renamed to name if given).

Required: device_type (e.g. "router", "switch", "pc", "server"), model (e.g. "2911", "ISR4331", "2960-24TT", "PC-PT", "Server-PT" -- discover via get_device_models). Optional: x/y position, name.

Examples:

  • "Add a 2911 router called R1"

  • "Put a 2960 switch at 300,200"

  • "Add two PCs to the network"

Input Schema

NameRequiredDescriptionDefault
xNoLogical-workspace coordinate in pixels
yNoLogical-workspace coordinate in pixels
nameNo
modelYes
device_typeYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description adds real behavioral value beyond them by explaining that Packet Tracer auto-assigns a name like 'Router0' and that the `name` argument overrides it, which is non-obvious. It omits whether devices are created powered on or what happens on duplicate names, but the output schema covers return shape, keeping this at a 4.

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 core behavior and return value are front-loaded in two tight sentences, followed by compact required/optional lists and examples. The final example ('Add two PCs to the network') is slightly misleading for a single-device call and is the one line that doesn't fully earn 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?

With an output schema present and annotations covering the mutation profile, the description needn't explain return values, and it correctly focuses on the required parameters and naming behavior. The remaining gap is the lack of guidance on placement defaults or duplicate-name handling for the optional coordinates.

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 40%, and the description compensates where it matters: it gives concrete model examples ('2911', '2960-24TT', 'PC-PT') for the undocumented `model` parameter and device_type examples, plus the discovery route via get_device_models. However, 'x/y position' adds nothing over the schema's 'Logical-workspace coordinate in pixels', so coverage of the remaining params is thin.

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?

Opens with a specific verb + resource ('Add a device to the logical workspace') and immediately describes the effect on the device's name, which lets an agent distinguish it from delete_device_from_network, rename_device, or add_module_to_device in the sibling list without opening any schema.

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?

It routes the agent to the sibling get_device_models for model discovery and lists required vs. optional inputs plus three natural-language example requests, which gives clear usage context. It stops short of explicit when-not-to-use guidance (e.g., don't use this to clone an existing device or to add a device to a physical topology view instead).

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