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

Packet Tracer MCP — Node.js port

pt_add_device

Add a validated device to a Packet Tracer topology by checking for a non-empty name, catalog model, and duplicate before placement.

Instructions

Add a single device to Packet Tracer with validation. Checks: name not empty, model exists in catalog, no duplicate name.

Parameters:

  • name: device name (e.g. "R1", "SW-Core", "PC-Admin")

  • model: PT model type (e.g. "2911", "2960-24TT", "PC-PT", "Server-PT")

  • x: X coordinate on canvas (default 200)

  • y: Y coordinate on canvas (default 200)

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": {
      "name": "<name>",
      "model": "<model>"
    },
    "name": "pt_add_device"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
nameYes
modelYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

A3.5/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 burden. It does disclose real behavior beyond the schema by listing the three validation checks (non-empty name, model must exist in catalog, duplicate-name rejection), which tells the agent what will fail. However, it says nothing about what is returned on success, whether duplicate names are case-sensitive, or what the error response looks like.

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?

One front-loaded purpose sentence followed by a compact bulleted parameter list — an efficient structure with no filler. The validation checks are the most useful content but are buried mid-sentence rather than given their own line.

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?

For a four-parameter mutation tool with no annotations and no output schema, the description covers purpose, preconditions, and parameters well. It leaves gaps around the return value (device identifier or handle for follow-up calls) and coordinate semantics such as units or canvas bounds, which an agent would need to place a device reliably.

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 coverage is 0%, so the description must compensate and largely does: all four parameters are named with their meaning, defaults (x=200, y=200) are restated, and concrete example values are supplied for name and model. The model examples ("2911", "2960-24TT", "PC-PT") are especially valuable since there is no enum, though the catalog is not enumerated or pointed to.

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?

"Add a single device to Packet Tracer with validation" gives a specific verb (add), resource (device), and cardinality constraint (single), which implicitly separates it from pt_add_link and pt_add_module. It does not explicitly name those siblings, so the distinction still requires a small inference.

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?

The word "single" and the validation checklist imply the usage context (creating one node on the canvas rather than links, modules, or notes), but there is no explicit when-to-use or when-not-to-use statement and no named alternative. Guidance is implied rather than 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