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

Packet Tracer MCP — Node.js port

pt_rename_device

Rename a device in the active Packet Tracer topology and verify that the new name resolves while the old name no longer does.

Instructions

Rename a device in the active Packet Tracer topology. Reads the result back: verified is true only when the new name resolves to the device and the old name no longer does.

Parameters:

  • old_name: current device name

  • new_name: new name to assign

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": {
      "old_name": "<old_name>",
      "new_name": "<new_name>"
    },
    "name": "pt_rename_device"
  }
}

Input Schema

NameRequiredDescriptionDefault
new_nameYes
old_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose a real behavioral trait beyond the obvious: it reads the result back, and `verified` is true only when the new name resolves and the old one no longer does. It does not say what happens on failure (missing old_name, duplicate new_name) or whether the operation is atomic/rolled back.

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?

Front-loaded with the action, then the verification behavior, then a compact parameter list — no filler sentences. The only inefficiency is that the parameter list largely restates the schema titles.

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?

For a two-parameter mutation with no annotations and no output schema, the definition covers the action, the verification signal, and both inputs, which is close to sufficient. Failure modes and name-collision behavior remain the notable gaps.

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, and it does so only minimally: 'current device name' and 'new name to assign' are slightly more informative than the bare titles 'Old Name'/'New Name'. It adds no format constraints, length limits, or case-sensitivity rules for either parameter.

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?

States a specific verb and resource ('Rename a device') plus the scope ('in the active Packet Tracer topology'), which cleanly separates it from siblings like pt_move_device, pt_add_device, and pt_delete_device without needing to open a schema.

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?

Usage is only implied by the verb: an agent can infer this is for changing an existing device's label rather than creating one. There is no explicit when-to-use/when-not guidance, no prerequisite that the device must already exist, and no mention of how name collisions are handled.

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